From ff3ae9da749583929bdb2501a1389ea14ff0ffca Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 10 Apr 2018 16:15:18 -0700 Subject: 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 --- python/python.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/python.go') diff --git a/python/python.go b/python/python.go index 4eb496a0..a2779886 100644 --- a/python/python.go +++ b/python/python.go @@ -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 -- cgit v1.2.3