| # 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:defs.bzl", "py_binary") | |
| load("//build/bazel/platforms:constraints.bzl", "HOST_OS_CONSTRAINTS") | |
| package(default_applicable_licenses = ["//:license"]) | |
| test_suite( | |
| name = "host_tests", | |
| target_compatible_with = HOST_OS_CONSTRAINTS, | |
| tests = [ | |
| "//build/python/tests/assembly:host_tests", | |
| "//build/python/tests/depfile:host_tests", | |
| "//build/python/tests/host_test:host_tests", | |
| "//build/python/tests/serialization:host_tests", | |
| ], | |
| ) | |
| py_binary( | |
| name = "create_c_extension_import_hook", | |
| srcs = ["create_c_extension_import_hook.py"], | |
| main = "create_c_extension_import_hook.py", | |
| target_compatible_with = HOST_OS_CONSTRAINTS, | |
| visibility = ["//:__subpackages__"], | |
| ) |