diff options
author | 2024-04-22 17:40:11 +0000 | |
---|---|---|
committer | 2024-04-22 17:40:11 +0000 | |
commit | 68305164c396b8aa59c99f9596cb4ec422b8f605 (patch) | |
tree | c8c2787c320baf47ab6b97a948f108313a3c30c8 /python | |
parent | 7252e3289d9a81eae1729024c67d04205f0d0060 (diff) | |
parent | f09101e78da3aafa7f2a28959d0d3366f4767aa1 (diff) |
Merge "Revert^2 "Make embedded_launcher true by default"" into main
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 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 } |