Change bp2build to reflect arm_isa refactor

We now rely on a `with_features` clause to effectively disable
thumb when `arm_isa_arm` is enabled. Thus, we no longer need to
add `-arm_isa_thumb` in bp2build.

Bug: 261733820
Test: Unit tests
Change-Id: I9da85834855b297a75097ce3a11e101f55bd53f4
This commit is contained in:
Trevor Radcliffe
2023-05-15 18:00:59 +00:00
parent abc2b2adb3
commit 5f0c2ac535
3 changed files with 3 additions and 9 deletions

View File

@@ -3219,10 +3219,7 @@ func TestCcLibraryWithInstructionSet(t *testing.T) {
`,
ExpectedBazelTargets: makeCcLibraryTargets("foo", AttrNameToString{
"features": `select({
"//build/bazel/platforms/arch:arm": [
"arm_isa_arm",
"-arm_isa_thumb",
],
"//build/bazel/platforms/arch:arm": ["arm_isa_arm"],
"//conditions:default": [],
})`,
"local_includes": `["."]`,