diff options
author | Adin Scannell <ascannell@google.com> | 2020-02-21 15:05:20 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-21 15:06:08 -0800 |
commit | 10aa4d3b343255db45f5ca4ff7b51f21a309e10b (patch) | |
tree | ecc40b4be73dd36ab0d2c03ec246e44497d2f368 /tools/bazeldefs | |
parent | 3733499952c056cc8496beb01c72dcf53177048e (diff) |
Factor platform tags.
PiperOrigin-RevId: 296519566
Diffstat (limited to 'tools/bazeldefs')
-rw-r--r-- | tools/bazeldefs/platforms.bzl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/bazeldefs/platforms.bzl b/tools/bazeldefs/platforms.bzl new file mode 100644 index 000000000..92b0b5fc0 --- /dev/null +++ b/tools/bazeldefs/platforms.bzl @@ -0,0 +1,17 @@ +"""List of platforms.""" + +# Platform to associated tags. +platforms = { + "ptrace": [ + # TODO(b/120560048): Make the tests run without this tag. + "no-sandbox", + ], + "kvm": [ + "manual", + "local", + # TODO(b/120560048): Make the tests run without this tag. + "no-sandbox", + ], +} + +default_platform = "ptrace" |