diff options
author | mstaib <mstaib@google.com> | 2017-08-22 01:59:46 +0200 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2017-08-22 09:15:29 +0200 |
commit | 49b5bbc665b0cef3bcc9686cb2148e5a2d4ee7c6 (patch) | |
tree | 345a195a167f4fd3d5885ad4cec9c9fb57e6c275 /tools/whitelists | |
parent | e2eea44b6938bff56eafbd2a8d7beb751a925582 (diff) |
Remove FeaturePolicyConfiguration et al. in favor of the new Whitelisting.
This migrates the config_feature_flag implementation over and removes the
old flag (which was not used except to test it). Fare thee well, old flag.
RELNOTES: None.
PiperOrigin-RevId: 165995681
Diffstat (limited to 'tools/whitelists')
-rw-r--r-- | tools/whitelists/BUILD | 10 | ||||
-rw-r--r-- | tools/whitelists/config_feature_flag/BUILD | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tools/whitelists/BUILD b/tools/whitelists/BUILD new file mode 100644 index 0000000000..2db6afbda5 --- /dev/null +++ b/tools/whitelists/BUILD @@ -0,0 +1,10 @@ +# Whitelists for restricting access to Bazel features. + +filegroup( + name = "srcs", + srcs = [ + "BUILD", + "//tools/whitelists/config_feature_flag:srcs", + ], + visibility = ["//tools:__pkg__"], +) diff --git a/tools/whitelists/config_feature_flag/BUILD b/tools/whitelists/config_feature_flag/BUILD new file mode 100644 index 0000000000..951777fbab --- /dev/null +++ b/tools/whitelists/config_feature_flag/BUILD @@ -0,0 +1,14 @@ +# Description: +# Package groups for restricting access to config_feature_flag to specific +# packages, allowing for careful rollout as it is an experimental feature. + +package_group( + name = "config_feature_flag", + packages = ["//..."], +) + +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//tools/whitelists:__pkg__"], +) |