| # Copyright 2018 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_sdk.gni") |
| import("//build/test/test_package.gni") |
| |
| rustc_binary_sdk("formatjson5") { |
| name = "formatjson5" |
| with_unit_tests = true |
| edition = "2018" |
| |
| category = "partner" |
| |
| deps = [ |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:json5format", |
| "//third_party/rust_crates:structopt", |
| ] |
| } |
| |
| install_host_tools("install") { |
| deps = [ ":formatjson5" ] |
| |
| outputs = [ "formatjson5" ] |
| } |