Consistently use Bool instead of proptools.Bool

Use Bool instead of proptools.Bool and String instead of proptools.String.

Test: m checkbuild
Change-Id: I32d84add9f27128c7a65413e9612fd920613584f
This commit is contained in:
Colin Cross
2018-04-10 16:15:18 -07:00
parent ed1268268d
commit ff3ae9da74
6 changed files with 17 additions and 21 deletions

View File

@@ -252,9 +252,9 @@ func (p *Module) HostToolPath() android.OptionalPath {
func (p *Module) isEmbeddedLauncherEnabled(actual_version string) bool {
switch actual_version {
case pyVersion2:
return proptools.Bool(p.properties.Version.Py2.Embedded_launcher)
return Bool(p.properties.Version.Py2.Embedded_launcher)
case pyVersion3:
return proptools.Bool(p.properties.Version.Py3.Embedded_launcher)
return Bool(p.properties.Version.Py3.Embedded_launcher)
}
return false