| # 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/cc:fx_cc_binary.bzl", "fx_cc_binary") | |
| load("//build/bazel/rules/packages:fx_package.bzl", "fx_package") | |
| load( | |
| "//build/bazel/rules/packages:fx_packaged_binary.bzl", | |
| "fx_packaged_binary", | |
| ) | |
| package(default_applicable_licenses = ["//:license"]) | |
| fx_cc_binary( | |
| name = "bin", | |
| srcs = ["activity_ctl.cc"], | |
| deps = [ | |
| "//sdk/fidl/fuchsia.ui.activity.control:fuchsia.ui.activity.control_hlcpp", | |
| "//sdk/fidl/fuchsia.ui.activity:fuchsia.ui.activity_hlcpp", | |
| "//sdk/lib/async:async-cpp", | |
| "//sdk/lib/async-loop:async-loop-cpp", | |
| "//sdk/lib/async-loop:async-loop-default", | |
| "//sdk/lib/fit", | |
| "//sdk/lib/sys/cpp", | |
| "//sdk/lib/syslog/cpp", | |
| "//src/lib/cmdline", | |
| "//src/lib/fxl:fxl_cli", | |
| "//zircon/system/ulib/zx", | |
| ], | |
| ) | |
| fx_packaged_binary( | |
| name = "bin_packaged", | |
| binary = ":bin", | |
| binary_name = "activity_ctl", | |
| ) | |
| fx_package( | |
| name = "activity-ctl", | |
| resources = [":bin_packaged"], | |
| ) |