blob: ab380f5df2f843c623a1b6a1fde56cf3523a340d [file] [log] [blame] [edit]
# 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") {
version = "0.1.0"
edition = "2021"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/fho: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/lib/fuchsia-url",
"//src/sys/lib/component_debug",
"//src/sys/lib/moniker",
]
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" ]
}
}