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:
@@ -686,9 +686,9 @@ func processMainCert(m android.ModuleBase, certPropValue string, certificates []
|
||||
systemCertPath := ctx.Config().DefaultAppCertificateDir(ctx).String()
|
||||
if strings.HasPrefix(certPath, systemCertPath) {
|
||||
enforceSystemCert := ctx.Config().EnforceSystemCertificate()
|
||||
whitelist := ctx.Config().EnforceSystemCertificateWhitelist()
|
||||
allowed := ctx.Config().EnforceSystemCertificateAllowList()
|
||||
|
||||
if enforceSystemCert && !inList(m.Name(), whitelist) {
|
||||
if enforceSystemCert && !inList(m.Name(), allowed) {
|
||||
ctx.PropertyErrorf("certificate", "The module in product partition cannot be signed with certificate in system.")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user