aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-04-10 16:15:18 -0700
committerColin Cross <ccross@android.com>2018-04-10 22:50:34 -0700
commitff3ae9da749583929bdb2501a1389ea14ff0ffca (patch)
treeafc63b1afea44e6495ab85e4d4336f22859d123f /python
parented1268268de5de482941ae7ef6e5ea0901d5f390 (diff)
downloadbuild_soong-ff3ae9da749583929bdb2501a1389ea14ff0ffca.tar.gz
build_soong-ff3ae9da749583929bdb2501a1389ea14ff0ffca.tar.bz2
build_soong-ff3ae9da749583929bdb2501a1389ea14ff0ffca.zip
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
Diffstat (limited to 'python')
-rw-r--r--python/python.go4
1 files changed, 2 insertions, 2 deletions
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