blob: 284e20e54e4a5142432bef5ba329cfb18176cad0 [file] [log] [blame]
# Copyright 2019 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/components.gni")
import("//build/rust/rustc_library.gni")
rustc_library("fuchsia-runtime") {
edition = "2018"
with_unit_tests = true
deps = [
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:num-derive",
"//third_party/rust_crates:num-traits",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("fuchsia-runtime-tests") {
deps = [ ":fuchsia-runtime_test" ]
}
group("tests") {
testonly = true
deps = [ ":fuchsia-runtime-tests" ]
}