blob: b3ada8fd317ac9c077ee020db14cbfd5961699d1 [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/host.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("component_id_index") {
name = "component_id_index"
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:json5",
"//third_party/rust_crates:rand",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:structopt",
"//third_party/rust_crates:tempfile",
"//third_party/rust_crates:thiserror",
]
with_unit_tests = true
edition = "2018"
}
install_host_tools("install") {
deps = [ ":component_id_index" ]
outputs = [ "component_id_index" ]
}
group("tests") {
testonly = true
deps = [ ":component_id_index_test($host_toolchain)" ]
}