blob: 1aec27f46facd8d992d823f3c5fcb91f68c05a22 [file]
# Copyright 2026 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.
load("//build/bazel/rules/host_tests:host_rustc_test.bzl", "host_rustc_test")
load("//src/developer/ffx/build:ffx_plugin.bzl", "ffx_plugin")
package(default_applicable_licenses = ["//:license"])
test_suite(
name = "host_tests",
tests = [":ffx_emulator_console_test"],
visibility = ["//src/developer/ffx:__pkg__"],
)
ffx_plugin(
name = "ffx_emulator_console",
srcs = ["src/lib.rs"],
args_deps = [
"//src/developer/ffx/core:lib",
"//src/developer/ffx/plugins/emulator/configuration:ffx_emulator_config",
"//third_party/rust_crates/vendor:argh",
],
args_srcs = ["src/args.rs"],
edition = "2024",
sdk_category = "not-yet-specified",
visibility = ["//src/developer/ffx/plugins/emulator:__pkg__"],
deps = [
"//src/developer/ffx/config: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/vendor:anyhow",
],
)
host_rustc_test(
name = "ffx_emulator_console_test",
crate = ":ffx_emulator_console",
)