Skip to content

Commit

Permalink
[7.4.0] Add @rules_cc to the default API allowlist (#23661)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 673946235
Change-Id: If20c63df2877aa948032d97795d88d960d9fa6bc (cherry picked from
commit ff2e950)
  • Loading branch information
hvadehra authored Sep 18, 2024
1 parent 19d4011 commit 7361bcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public final class BuiltinRestriction {
BuiltinRestriction.allowlistEntry("rules_android", ""),
BuiltinRestriction.allowlistEntry("build_bazel_rules_android", ""),

// Cc rules
BuiltinRestriction.allowlistEntry("", "third_party/bazel_rules/rules_cc"),
BuiltinRestriction.allowlistEntry("rules_cc", ""),

// Java rules
BuiltinRestriction.allowlistEntry("", "third_party/bazel_rules/rules_java"),
BuiltinRestriction.allowlistEntry("rules_java", ""),
Expand Down
2 changes: 2 additions & 0 deletions src/main/starlark/builtins_bzl/common/cc/cc_common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ _PRIVATE_STARLARKIFICATION_ALLOWLIST = [
("rules_android", ""),
("", "rust/private"),
("rules_rust", "rust/private"),
("", "third_party/bazel_rules/rules_cc"),
("rules_cc", ""),
]

_BUILTINS = [("_builtins", "")]
Expand Down

0 comments on commit 7361bcc

Please sign in to comment.