| # Copyright 2023 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( |
| "@fuchsia_infra//infra:infra.bzl", |
| "FUCHSIA_TEST_TARGET", |
| "fuchsia_builder_group", |
| "fuchsia_cipd_releases", |
| "fuchsia_test_group", |
| ) |
| load("@rules_license//rules:license.bzl", "license") |
| |
| license( |
| name = "license_fuchsia", |
| package_name = "iwlwifi (Fuchsia)", |
| license_text = "LICENSE", |
| ) |
| |
| common_test_deps = [ |
| "//third_party/iwlwifi/test:iwlwifi_test_pkg", |
| ] |
| |
| fuchsia_test_group( |
| name = "tests_qemu", |
| product_bundle = "@fuchsia_products//:core.x64", |
| test_target = FUCHSIA_TEST_TARGET.QEMU, |
| deps = common_test_deps, |
| ) |
| |
| fuchsia_test_group( |
| name = "tests_qemu_asan", |
| asan_enabled = True, |
| product_bundle = "@fuchsia_products//:core.x64", |
| test_target = FUCHSIA_TEST_TARGET.QEMU, |
| deps = common_test_deps, |
| ) |
| |
| fuchsia_cipd_releases( |
| name = "iwlwifi_cipd_release", |
| cipd_pkg_name_base = "fuchsia/drivers/wlan/intel/iwlwifi", |
| extra_content = { |
| "//third_party/iwlwifi/platform:iwlwifi_licenses.spdx.json": "licenses.spdx.json", |
| }, |
| pkg = "//third_party/iwlwifi/platform:iwlwifi_pkg", |
| ) |
| |
| # buildifier: leave-alone |
| fuchsia_builder_group( |
| name = "infra", |
| build_only = [ |
| "//third_party/iwlwifi/platform:iwlwifi_pkg", |
| ], |
| test_groups = [ |
| ":tests_qemu", |
| ":tests_qemu_asan", |
| ], |
| cipd_uploads = [ |
| ":iwlwifi_cipd_release", |
| ], |
| ) |