blob: 1907f790782ba6a0f3ad2f192393fd7d541dba39 [file] [log] [blame]
# Copyright 2020 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")
import("//src/sys/build/components.gni")
rustc_library("cm_types") {
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:url",
]
test_deps = [ "//third_party/rust_crates:serde_json" ]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("cm_types_tests") {
manifest = "meta/cm_types_tests.cmx"
deps = [ ":cm_types_test" ]
test_specs = {
}
}
group("tests") {
testonly = true
deps = [ ":cm_types_tests" ]
}