blob: d4126efa6e62a80ebc413970a95e843d7335dd52 [file] [log] [blame]
# Copyright 2022 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")
if (is_host) {
ffx_plugin("ffx_emulator_console") {
sdk_category = "not-yet-specified"
version = "0.1.0"
edition = "2021"
with_unit_tests = true
args_deps = [
"//src/developer/ffx/core:lib",
"//src/developer/ffx/plugins/emulator/configuration:ffx_emulator_config",
"//third_party/rust_crates:argh",
]
deps = [
"//src/developer/ffx/config:lib",
"//src/developer/ffx/lib/emulator_instance:lib",
"//src/developer/ffx/lib/errors:lib",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/writer:lib",
"//src/developer/ffx/plugins/emulator/configuration:ffx_emulator_config",
"//src/developer/ffx/plugins/emulator/engines:ffx_emulator_engines",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
]
args_sources = [ "src/args.rs" ]
sources = [ "src/lib.rs" ]
}
group("tests") {
testonly = true
deps = [ ":ffx_emulator_console_test($host_toolchain)" ]
}
}