Skip to content

Commit

Permalink
An attempt at sorting PRIVATE_STARLARKIFICATION_ALLOWLIST in cc_helpe…
Browse files Browse the repository at this point in the history
…r_internal.bzl

PiperOrigin-RevId: 679127909
Change-Id: I0e0f211a755b9adadbaff1681d2eeb59acf52a39
  • Loading branch information
pzembrod authored and copybara-github committed Sep 26, 2024
1 parent 2b986ea commit 0b86e78
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions src/main/starlark/builtins_bzl/common/cc/cc_helper_internal.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,33 @@ CREATE_COMPILE_ACTION_API_ALLOWLISTED_PACKAGES = [("", "devtools/rust/cc_interop

PRIVATE_STARLARKIFICATION_ALLOWLIST = [
("_builtins", ""),
("", "bazel_internal/test_rules/cc"),
# Android rules
("", "tools/build_defs/android"),
("", "third_party/bazel_rules/rules_android"),
("build_bazel_rules_android", ""),
("rules_android", ""),
("", "rust/private"),
("rules_rust", "rust/private"),
("", "third_party/gpus/cuda"),
("", "tools/build_defs/go"),
# Apple rules
("", "third_party/bazel_rules/rules_apple"),
("apple_support", ""),
("rules_apple", ""),
# C++ rules
("", "bazel_internal/test_rules/cc"),
("", "third_party/bazel_rules/rules_cc"),
("rules_cc", ""),
# CUDA rules
("", "third_party/gpus/cuda"),
# Go rules
("", "tools/build_defs/go"),
# Java rules
("", "third_party/bazel_rules/rules_java"),
("rules_java", ""),
# Protobuf rules
("", "third_party/protobuf"),
("protobuf", ""),
("com_google_protobuf", ""),
("", "third_party/bazel_rules/rules_apple"),
("apple_support", ""),
("rules_apple", ""),
# Rust rules
("", "rust/private"),
("rules_rust", "rust/private"),
] + CREATE_COMPILE_ACTION_API_ALLOWLISTED_PACKAGES

artifact_category = struct(
Expand Down

0 comments on commit 0b86e78

Please sign in to comment.