Use inclusive language in build/soong

Test: m checkbuild
Change-Id: Id07890b7cbc2397291a658ca00e86b43c743aafc
This commit is contained in:
Colin Cross
2020-06-11 11:32:11 -07:00
parent 1adc63ec3d
commit 440e0d0542
14 changed files with 70 additions and 68 deletions

View File

@@ -22,6 +22,7 @@ import (
"android/soong/apex"
"android/soong/cc"
"github.com/google/blueprint"
"github.com/google/blueprint/proptools"
@@ -700,8 +701,8 @@ func (s *snapshotBuilder) AddPrebuiltModule(member android.SdkMember, moduleType
if apexAware, ok := variant.(interface{ ApexAvailable() []string }); ok {
apexAvailable := apexAware.ApexAvailable()
// Add in any white listed apex available settings.
apexAvailable = append(apexAvailable, apex.WhitelistedApexAvailable(member.Name())...)
// Add in any baseline apex available settings.
apexAvailable = append(apexAvailable, apex.BaselineApexAvailable(member.Name())...)
if len(apexAvailable) > 0 {
// Remove duplicates and sort.