Merge "Apply EnforceRROExemptedTargets in Soong"
This commit is contained in:
@@ -872,6 +872,13 @@ func (c *config) ArtUseReadBarrier() bool {
|
||||
|
||||
func (c *config) EnforceRROForModule(name string) bool {
|
||||
enforceList := c.productVariables.EnforceRROTargets
|
||||
// TODO(b/150820813) Some modules depend on static overlay, remove this after eliminating the dependency.
|
||||
exemptedList := c.productVariables.EnforceRROExemptedTargets
|
||||
if exemptedList != nil {
|
||||
if InList(name, exemptedList) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
if enforceList != nil {
|
||||
if InList("*", enforceList) {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user