Revert^2 "Make embedded_launcher true by default"

This reverts commit 578066be90.

Reason for revert: Relanding

Change-Id: I63f01362cc11c02c4800ae1c21652c7cf4b8a799
This commit is contained in:
Cole Faust 2024-04-18 18:33:15 +00:00 committed by Gerrit Code Review
parent 578066be90
commit f09101e78d
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ func (p *PythonBinaryModule) OutputFiles(tag string) (android.Paths, error) {
} }
func (p *PythonBinaryModule) isEmbeddedLauncherEnabled() bool { func (p *PythonBinaryModule) isEmbeddedLauncherEnabled() bool {
return Bool(p.properties.Embedded_launcher) return BoolDefault(p.properties.Embedded_launcher, true)
} }
func (b *PythonBinaryModule) autorun() bool { func (b *PythonBinaryModule) autorun() bool {

View file

@ -59,7 +59,7 @@ type VersionProperties struct {
// list of the Python libraries used only for this Python version. // list of the Python libraries used only for this Python version.
Libs []string `android:"arch_variant"` 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 Embedded_launcher *bool // TODO(b/174041232): Remove this property
} }