diff options
author | 2024-04-18 18:33:15 +0000 | |
---|---|---|
committer | 2024-04-18 18:33:15 +0000 | |
commit | f09101e78da3aafa7f2a28959d0d3366f4767aa1 (patch) | |
tree | a2c6526d0de759566ef23fcca4cc449523e49a51 /python | |
parent | 578066be90d3e1960c02b5c80c29e92bca70a70b (diff) |
Revert^2 "Make embedded_launcher true by default"
This reverts commit 578066be90d3e1960c02b5c80c29e92bca70a70b.
Reason for revert: Relanding
Change-Id: I63f01362cc11c02c4800ae1c21652c7cf4b8a799
Diffstat (limited to 'python')
-rw-r--r-- | python/binary.go | 2 | ||||
-rw-r--r-- | python/python.go | 2 |
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 d3cbd7695..3551eb6ef 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 } |