Revert "Revert "Restrict plugins to an existing allowlist""

This reverts commit b20a12553e.

Reason for revert: Rollforward with fix

soong-ca-certificates-apex was missing from allowlist

Test: verify fixes CI breakages
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dfe4a9e4dd088f42ba5e0a3c4f7777c253d378d3)
Merged-In: I00687bd2962dbdaaf55189ca4aa82183264eb8d7
Change-Id: I00687bd2962dbdaaf55189ca4aa82183264eb8d7
This commit is contained in:
Liz Kammer
2023-05-18 18:20:28 +00:00
committed by Android Build Cherrypicker Worker
parent 0b2cb61010
commit 33cc80eb1f
5 changed files with 158 additions and 12 deletions

View File

@@ -1850,6 +1850,10 @@ func (c *deviceConfig) ShippingApiLevel() ApiLevel {
return uncheckedFinalApiLevel(apiLevel)
}
func (c *deviceConfig) BuildBrokenPluginValidation() []string {
return c.config.productVariables.BuildBrokenPluginValidation
}
func (c *deviceConfig) BuildBrokenClangAsFlags() bool {
return c.config.productVariables.BuildBrokenClangAsFlags
}