blob: 3148891e3435f293df05f76fd56f707332c4ac96 [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("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("cm_types") {
with_unit_tests = true
edition = "2018"
deps = [
"//third_party/rust_crates:serde",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:url",
]
test_deps = [ "//third_party/rust_crates:serde_json" ]
}
test_package("cm_types_tests") {
deps = [ ":cm_types_test" ]
tests = [
{
name = "cm_types_lib_test"
dest = "cm_types_tests"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
deps = [ ":cm_types_tests" ]
}