File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Only use those within C++ implementation. The others need to go through cc_commo
1818"""
1919
2020load ("@bazel_skylib//lib:paths.bzl" , "paths" )
21+ load ("//cc/common:visibility.bzl" , "PRIVATE_RULES_ALLOWLIST" )
2122load ("//cc/private:cc_internal.bzl" , _cc_internal = "cc_internal" )
2223load ("//cc/private:paths.bzl" , "is_path_absolute" )
2324
@@ -86,7 +87,7 @@ PRIVATE_STARLARKIFICATION_ALLOWLIST = [
8687 # Various
8788 ("" , "research/colab" ),
8889 ("" , "javatests/com/google/devtools/grok/kythe" ),
89- ] + CREATE_COMPILE_ACTION_API_ALLOWLISTED_PACKAGES
90+ ] + CREATE_COMPILE_ACTION_API_ALLOWLISTED_PACKAGES + PRIVATE_RULES_ALLOWLIST
9091
9192# LINT.ThenChange(https://github.com/bazelbuild/bazel/blob/master/src/main/starlark/builtins_bzl/common/cc/cc_helper_internal.bzl:forked_exports)
9293
Original file line number Diff line number Diff line change 11"""Bzl load visibility package specs"""
22
33INTERNAL_VISIBILITY = ["public" ]
4+
5+ PRIVATE_RULES_VISIBILITY_FOR_BZL = []
6+
7+ PRIVATE_RULES_VISIBILITY_FOR_BUILD = []
8+
9+ PRIVATE_RULES_ALLOWLIST = []
You can’t perform that action at this time.
0 commit comments