From 2bb4ed30b79515411671aa530bd77872b7073f2b Mon Sep 17 00:00:00 2001 From: Ivo List Date: Mon, 19 Sep 2022 10:55:59 +0000 Subject: [PATCH] Extend domain --- .../build/lib/starlarkbuildapi/apple/AppleBootstrap.java | 1 + .../devtools/build/lib/starlarkbuildapi/cpp/CcBootstrap.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/AppleBootstrap.java b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/AppleBootstrap.java index 7e14c9dabd394c..77072d534fa9d3 100644 --- a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/AppleBootstrap.java +++ b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/AppleBootstrap.java @@ -27,6 +27,7 @@ public class AppleBootstrap implements Bootstrap { private static final ImmutableSet allowedRepositories = ImmutableSet.of( PackageIdentifier.createUnchecked("_builtins", ""), + PackageIdentifier.createUnchecked("bazel_tools", ""), PackageIdentifier.createUnchecked("rules_apple", ""), PackageIdentifier.createUnchecked("", "tools/build_defs/apple")); diff --git a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/cpp/CcBootstrap.java b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/cpp/CcBootstrap.java index ca9e0347eb964b..47528b59aead3b 100644 --- a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/cpp/CcBootstrap.java +++ b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/cpp/CcBootstrap.java @@ -33,6 +33,7 @@ public class CcBootstrap implements Bootstrap { ImmutableSet.of( PackageIdentifier.createUnchecked("_builtins", ""), PackageIdentifier.createUnchecked("bazel_tools", ""), + PackageIdentifier.createUnchecked("local_config_cc", ""), PackageIdentifier.createUnchecked("rules_cc", ""), PackageIdentifier.createUnchecked("", "tools/build_defs/cc"));