blob: 5ad38f138320fe78888523506e00afafbf5709e0 [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/components.gni")
import("//build/rust/rustc_library.gni")
rustc_library("cm_types") {
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl-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" ]
}