blob: f0e340bb4fcb4581a9a158911040f9d29beef4f3 [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_py_test.bzl", "host_py_test")
load("//build/bazel/rules/python:py_zipapp_binary.bzl", "py_zipapp_binary")
package(default_applicable_licenses = ["//:license"])
py_zipapp_binary(
name = "status",
srcs = [
"collectors.py",
"data.py",
"main.py",
],
main = "main.py",
deps = [
"//scripts/lib/async_utils",
"//scripts/lib/build_dir",
"//scripts/lib/fx_cmd",
],
)
host_py_test(
name = "status_test",
srcs = [
"collectors.py",
"data.py",
"main.py",
"tests/data_for_test.py",
"tests/test_status.py",
],
imports = ["."],
main = "tests/test_status.py",
deps = [
"//scripts/lib/async_utils",
"//scripts/lib/build_dir",
"//scripts/lib/fx_cmd",
"//third_party/parameterized",
],
)