blob: d85384991c387ec857169d93f319ab7bc6f988b5 [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/components.gni")
import("//build/rust/rustc_library.gni")
import("../../../build/ffx_plugin.gni")
if (is_host) {
ffx_plugin("ffx_component_create") {
sdk_category = "not-yet-specified"
version = "0.1.0"
edition = "2024"
with_unit_tests = true
deps = [
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/target/holders:lib",
"//src/developer/ffx/lib/writer:lib",
"//src/developer/ffx/plugins/component/common:ffx_component",
"//src/sys/lib/component_debug",
"//third_party/rust_crates:async-trait",
]
args_sources = [ "src/args.rs" ]
args_deps = [
"//src/developer/ffx/core:lib",
"//src/lib/fuchsia-url",
"//src/sys/lib/component_debug",
"//src/sys/lib/moniker",
"//third_party/rust_crates:argh",
]
sources = [ "src/lib.rs" ]
}
group("host_tests") {
testonly = true
deps = [
":ffx_component_create_tests",
"tests:host_tests",
]
}
}
if (is_fuchsia) {
group("package_deps_for_host_tests") {
testonly = true
deps = [ "tests:package_deps_for_host_tests" ]
}
}