blob: f5c6cab4f8024b8823f3f321662055954dbb7437 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/rust/rustc_library.gni")
rustc_library("core") {
edition = "2021"
name = "fuchsia_wayland_core"
with_unit_tests = true
deps = [
"//src/lib/trace/rust:trace",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:thiserror",
]
test_deps = [ "//third_party/rust_crates:zerocopy" ]
sources = [
"src/fixed.rs",
"src/lib.rs",
"src/message.rs",
]
}
group("tests") {
testonly = true
public_deps = [ ":core_test" ]
}