blob: 2bf480012bade9f60c17ed85ceb0a018cdab93d6 [file] [log] [blame]
# Copyright 2021 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")
if (is_host) {
rustc_library("config_value_file") {
edition = "2021"
with_unit_tests = true
sources = [
"src/field.rs",
"src/lib.rs",
]
deps = [
"//src/sys/lib/cm_rust",
"//src/sys/lib/fidl_fuchsia_component_config_ext",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:thiserror",
]
}
}
group("tests") {
testonly = true
deps = [ ":config_value_file_test($host_toolchain)" ]
}