| # 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("@rules_python//python:py_library.bzl", "py_library") | |
| load("//build/bazel/platforms:constraints.bzl", "HOST_OS_CONSTRAINTS") | |
| package(default_applicable_licenses = ["//:license"]) | |
| # TODO(https://fxbug.dev/570694755): Verify whether host_driven should use target_compatible_with (was not gated by if (is_host) in GN). | |
| py_library( | |
| name = "host_driven", | |
| testonly = True, | |
| srcs = [ | |
| "__init__.py", | |
| "run_test_component.py", | |
| ], | |
| imports = [".."], | |
| target_compatible_with = HOST_OS_CONSTRAINTS, | |
| visibility = ["//:__subpackages__"], | |
| ) |