Merge "Use android.InList for inList" am: e35ad13004 am: 20b350b433

am: 3ef40fd3e4

Change-Id: Iaf540c0d55cbbf9780fcf2721f0a67de43902948
This commit is contained in:
Colin Cross
2018-02-22 04:20:12 +00:00
committed by android-build-merger
2 changed files with 3 additions and 23 deletions

View File

@@ -1252,15 +1252,6 @@ func ImportFactoryHost() android.Module {
return module
}
func inList(s string, l []string) bool {
for _, e := range l {
if e == s {
return true
}
}
return false
}
//
// Defaults
//
@@ -1295,3 +1286,4 @@ func DefaultsFactory(props ...interface{}) android.Module {
var Bool = proptools.Bool
var String = proptools.String
var inList = android.InList