blob: a08ed94f194ae5ff6ed40e3e486612361ad9443a [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"])
ffx_plugin(
name = "ffx_wm_cycle",
srcs = ["src/lib.rs"],
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates/vendor:argh",
],
args_srcs = ["src/args.rs"],
edition = "2024",
visibility = ["//src/developer/ffx/tools/wm:__pkg__"],
deps = [
"//sdk/fidl/fuchsia.session.window:fuchsia.session.window_rust_fdomain",
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/target/holders:lib",
"//src/developer/ffx/lib/writer:lib",
"//third_party/rust_crates/vendor:anyhow",
],
)
host_rustc_test(
name = "ffx_wm_cycle_test",
crate = ":ffx_wm_cycle",
visibility = ["//src/developer/ffx:__pkg__"],
deps = [
"//src/lib/fdomain/local",
"//src/lib/fuchsia",
],
)