blob: 28cca9340f26a33f34cc7e6334e0260dda1fed36 [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/host.gni")
import("//build/rust/rustc_binary.gni")
import("//build/rust/rustc_library.gni")
import("//build/sdk/sdk_host_tool.gni")
import("//build/test/test_package.gni")
rustc_binary("jq5") {
with_unit_tests = true
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:json5format",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:serde_json5",
"//third_party/rust_crates:structopt",
]
sources = [
"src/main.rs",
"src/reader.rs",
]
}
install_host_tools("install") {
deps = [ ":jq5" ]
outputs = [ "jq5" ]
}