blob: 236467dd28b0fc91a9bf8dc8fbc6a43452e3a919 [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("//src/developer/ffx/build/ffx_plugin.gni")
import("//src/developer/ffx/build/ffx_tool.gni")
ffx_plugin("ffx_sdk") {
sdk_category = "not-yet-specified"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
config_data = [ "data/config.json" ]
args_sources = [ "src/args.rs" ]
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:camino",
]
deps = [
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/sdk:lib",
"//src/developer/ffx/lib/writer:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:camino",
"//third_party/rust_crates:log",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
]
test_deps = [
"//src/lib/fuchsia",
"//third_party/rust_crates:regex",
]
sources = [ "src/lib.rs" ]
}
ffx_tool("ffx_sdk_tool") {
edition = "2021"
output_name = "ffx-sdk"
deps = [
":ffx_sdk",
"//src/developer/ffx/lib/fho:lib",
"//src/lib/fuchsia-async",
]
sources = [ "src/main.rs" ]
}