diff options
author | Liz Kammer <eakammer@google.com> | 2021-07-16 16:33:09 -0400 |
---|---|---|
committer | Liz Kammer <eakammer@google.com> | 2021-07-19 18:10:07 +0000 |
commit | b8891793d6ea2d98eb6d1ade9f7e58a5be5664d9 (patch) | |
tree | 75e6936dc375194396c26fcd09cf003b44219fd0 /platforms | |
parent | e9ab6793c8560ab08005d2eef1c7b380d928eaaa (diff) | |
download | bazel-b8891793d6ea2d98eb6d1ade9f7e58a5be5664d9.tar.gz |
Add configuration setting for all bionic oses
Test: build/bazel/ci/bp2build.sh
Change-Id: I168f2c6f751aef3cfe7cd6320919ac0176cd92fe
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/os/BUILD | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/platforms/os/BUILD b/platforms/os/BUILD index 4b79c14a..5570f162 100644 --- a/platforms/os/BUILD +++ b/platforms/os/BUILD @@ -1,4 +1,7 @@ # Standard constraint_setting and constraint_values to be used in platforms. + +load("@bazel_skylib//lib:selects.bzl", "selects") + licenses(["notice"]) package( @@ -42,3 +45,10 @@ constraint_value( constraint_setting = "@platforms//os:os", ) +selects.config_setting_group( + name = "bionic", + match_any = [ + ":android", + ":linux_bionic", + ], +) |