summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-04-22 17:40:11 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-04-22 17:40:11 +0000
commit68305164c396b8aa59c99f9596cb4ec422b8f605 (patch)
treec8c2787c320baf47ab6b97a948f108313a3c30c8 /python
parent7252e3289d9a81eae1729024c67d04205f0d0060 (diff)
parentf09101e78da3aafa7f2a28959d0d3366f4767aa1 (diff)
Merge "Revert^2 "Make embedded_launcher true by default"" into main
Diffstat (limited to 'python')
-rw-r--r--python/binary.go2
-rw-r--r--python/python.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/binary.go b/python/binary.go
index d6750c655..c84eeeedb 100644
--- a/python/binary.go
+++ b/python/binary.go
@@ -203,7 +203,7 @@ func (p *PythonBinaryModule) OutputFiles(tag string) (android.Paths, error) {
}
func (p *PythonBinaryModule) isEmbeddedLauncherEnabled() bool {
- return Bool(p.properties.Embedded_launcher)
+ return BoolDefault(p.properties.Embedded_launcher, true)
}
func (b *PythonBinaryModule) autorun() bool {
diff --git a/python/python.go b/python/python.go
index 621e429b9..e14fdf333 100644
--- a/python/python.go
+++ b/python/python.go
@@ -59,7 +59,7 @@ type VersionProperties struct {
// list of the Python libraries used only for this Python version.
Libs []string `android:"arch_variant"`
- // whether the binary is required to be built with embedded launcher for this version, defaults to false.
+ // whether the binary is required to be built with embedded launcher for this version, defaults to true.
Embedded_launcher *bool // TODO(b/174041232): Remove this property
}