diff options
Diffstat (limited to 'android/config.go')
-rw-r--r-- | android/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/config.go b/android/config.go index 209b4ded9..26c4e6ebd 100644 --- a/android/config.go +++ b/android/config.go @@ -813,7 +813,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) |