| # 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. |
| |
| module( |
| name = "fuchsia_infra", |
| version = "0.0.1", |
| ) |
| |
| # BCR dependencies. |
| bazel_dep(name = "bazel_skylib", version = "1.8.1") |
| bazel_dep(name = "rules_cc", version = "0.2.0") |
| bazel_dep(name = "rules_python", version = "1.1.0") |
| |
| # Setup CIPD. |
| cipd_tool_repository = use_repo_rule("//cipd:defs.bzl", "cipd_tool_repository") |
| |
| cipd_tool_repository(name = "cipd_tool") |
| |
| cipd_repository = use_repo_rule("//cipd:defs.bzl", "cipd_repository") |
| |
| # Declare CIPD dependencies. |
| cipd_repository( |
| name = "cas", |
| ensure_file = "//manifests:cas.ensure", |
| exports_files = True, |
| ) |
| |
| cipd_repository( |
| name = "ffxluciauth", |
| ensure_file = "//manifests:ffxluciauth.ensure", |
| exports_files = True, |
| ) |
| |
| cipd_repository( |
| name = "luci_auth", |
| ensure_file = "//manifests:luci-auth.ensure", |
| exports_files = True, |
| ) |
| |
| cipd_repository( |
| name = "orchestrate", |
| ensure_file = "//manifests:orchestrate.ensure", |
| exports_files = True, |
| ) |
| |
| # Internal workspace repo. |
| fuchsia_infra_workspace = use_repo_rule("//infra/workspace:fuchsia_infra_workspace.bzl", "fuchsia_infra_workspace_internal") |
| |
| fuchsia_infra_workspace(name = "fuchsia_infra_workspace") |