bp2build: Convert cc_test.test_options.tags to cc_test.tags

zeek@ has been tagging unit tests that cannot run on RBE with
"no-remote". While we don't yet have RBE support with standalone `b
test` yet, we can make sure to propagate the tags now.

Bug: 236973602

Test: new unit test
Change-Id: I6d0648f184626bb01c657068804f99ffb82907a3
This commit is contained in:
Jingwen Chen
2022-09-16 02:32:03 +00:00
parent 9a2d40c79f
commit fbff97a84d
3 changed files with 29 additions and 0 deletions

View File

@@ -917,6 +917,8 @@ type CommonAttributes struct {
Name string
// Data mapped from: Required
Data bazel.LabelListAttribute
Tags bazel.StringListAttribute
}
// constraintAttributes represents Bazel attributes pertaining to build constraints,