| # 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/compiled_action.gni") |
| import("//build/package.gni") |
| import("//build/rust/rustc_library.gni") |
| |
| rustc_library("core") { |
| edition = "2018" |
| name = "fuchsia_wayland_core" |
| with_unit_tests = true |
| deps = [ |
| "//src/lib/fuchsia-async", |
| "//src/lib/trace/rust:trace", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:byteorder", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:parking_lot", |
| "//third_party/rust_crates:thiserror", |
| ] |
| |
| sources = [ |
| "src/fixed.rs", |
| "src/lib.rs", |
| "src/message.rs", |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| public_deps = [ ":core_test" ] |
| } |