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:
@@ -644,10 +644,7 @@ func TestCcBinaryWithInstructionSet(t *testing.T) {
|
||||
targets: []testBazelTarget{
|
||||
{"cc_binary", "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": `["."]`,
|
||||
|
Reference in New Issue
Block a user