Merge "Change RRO enforcement logic"
am: fdc9afa15b
Change-Id: Ia72f34bee493afd455d5ca9ee23e495b048d516c
This commit is contained in:
commit
0a52b0eab9
|
@ -800,7 +800,7 @@ func (c *config) ArtUseReadBarrier() bool {
|
|||
func (c *config) EnforceRROForModule(name string) bool {
|
||||
enforceList := c.productVariables.EnforceRROTargets
|
||||
if enforceList != nil {
|
||||
if len(enforceList) == 1 && (enforceList)[0] == "*" {
|
||||
if InList("*", enforceList) {
|
||||
return true
|
||||
}
|
||||
return InList(name, enforceList)
|
||||
|
|
Loading…
Reference in New Issue