Use inclusive language in build/soong
Bug: 158889297
Test: m checkbuild
Change-Id: Id07890b7cbc2397291a658ca00e86b43c743aafc
Merged-In: Id07890b7cbc2397291a658ca00e86b43c743aafc
(cherry picked from commit 440e0d0542
)
This commit is contained in:
@@ -963,7 +963,7 @@ func TestApexDependsOnLLNDKTransitively(t *testing.T) {
|
||||
symbol_file: "",
|
||||
}
|
||||
`, func(fs map[string][]byte, config android.Config) {
|
||||
setUseVendorWhitelistForTest(config, []string{"myapex"})
|
||||
setUseVendorAllowListForTest(config, []string{"myapex"})
|
||||
}, withUnbundledBuild)
|
||||
|
||||
// Ensure that LLNDK dep is not included
|
||||
@@ -1632,7 +1632,7 @@ func TestUseVendor(t *testing.T) {
|
||||
apex_available: [ "myapex" ],
|
||||
}
|
||||
`, func(fs map[string][]byte, config android.Config) {
|
||||
setUseVendorWhitelistForTest(config, []string{"myapex"})
|
||||
setUseVendorAllowListForTest(config, []string{"myapex"})
|
||||
})
|
||||
|
||||
inputsList := []string{}
|
||||
@@ -1665,9 +1665,9 @@ func TestUseVendorRestriction(t *testing.T) {
|
||||
private_key: "testkey.pem",
|
||||
}
|
||||
`, func(fs map[string][]byte, config android.Config) {
|
||||
setUseVendorWhitelistForTest(config, []string{""})
|
||||
setUseVendorAllowListForTest(config, []string{""})
|
||||
})
|
||||
// no error with whitelist
|
||||
// no error with allow list
|
||||
testApex(t, `
|
||||
apex {
|
||||
name: "myapex",
|
||||
@@ -1680,7 +1680,7 @@ func TestUseVendorRestriction(t *testing.T) {
|
||||
private_key: "testkey.pem",
|
||||
}
|
||||
`, func(fs map[string][]byte, config android.Config) {
|
||||
setUseVendorWhitelistForTest(config, []string{"myapex"})
|
||||
setUseVendorAllowListForTest(config, []string{"myapex"})
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3412,7 +3412,7 @@ func TestApexUsesFailsIfUseVenderMismatch(t *testing.T) {
|
||||
private_key: "testkey.pem",
|
||||
}
|
||||
`, func(fs map[string][]byte, config android.Config) {
|
||||
setUseVendorWhitelistForTest(config, []string{"myapex"})
|
||||
setUseVendorAllowListForTest(config, []string{"myapex"})
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user