blob: e28c8d84a87b4db66269556297a969e79ca53a79 [file] [log] [blame] [edit]
# 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.
# TODO(https://fxbug.dev/308624902): Prune away any dependencies exclusively needed by `//tests/...`
# after the source of truth in CI/CQ has switched to `@fuchsia_infra_examples//:infra`.
load("//cipd:defs.bzl", "cipd_repository")
cipd_repository(
name = "rules_fuchsia",
ensure_file = "//manifests:rules_fuchsia.ensure",
)
cipd_repository(
name = "fuchsia_sdk",
ensure_file = "//manifests:bazel_sdk.ensure",
)
local_repository(
name = "com_google_googletest",
path = "third_party/googletest",
)
local_repository(
name = "rules_license",
path = "third_party/rules_license",
)
load("@rules_fuchsia//fuchsia:deps.bzl", "register_fuchsia_sdk_toolchain")
register_fuchsia_sdk_toolchain()
load("@rules_fuchsia//fuchsia:products.bzl", "fuchsia_products_repository")
fuchsia_products_repository(
name = "fuchsia_products",
cipd_bin = "@cipd_tool//:cipd",
ensure_file = "//manifests:product_bundles.ensure",
)
load("@rules_fuchsia//fuchsia:clang.bzl", "fuchsia_clang_repository")
fuchsia_clang_repository(
name = "fuchsia_clang",
cipd_bin = "@cipd_tool//:cipd",
cipd_ensure_file = "//manifests:clang.ensure",
)
load("//infra:host_toolchains.bzl", "configure_fuchsia_clang_host_toolchain")
configure_fuchsia_clang_host_toolchain(name = "host_clang_toolchain")
load("//shac:shac.bzl", "shac_deps")
shac_deps()
load("@fuchsia_clang//:defs.bzl", "register_clang_toolchains")
register_clang_toolchains()