Add DevicePrefer32BitApps to Soong

Bug: 80095087
Test: m checkbuild
Change-Id: Ia2b2435492198ad646cbf7c59c6af59d381b20a5
This commit is contained in:
Colin Cross 2018-10-01 15:30:23 -07:00
parent 946492f005
commit 88da24e578
2 changed files with 5 additions and 0 deletions

View File

@ -576,6 +576,10 @@ func (c *config) Debuggable() bool {
return Bool(c.productVariables.Debuggable) return Bool(c.productVariables.Debuggable)
} }
func (c *config) DevicePrefer32BitApps() bool {
return Bool(c.productVariables.DevicePrefer32BitApps)
}
func (c *config) DevicePrefer32BitExecutables() bool { func (c *config) DevicePrefer32BitExecutables() bool {
return Bool(c.productVariables.DevicePrefer32BitExecutables) return Bool(c.productVariables.DevicePrefer32BitExecutables)
} }

View File

@ -211,6 +211,7 @@ type productVariables struct {
CoveragePaths *[]string `json:",omitempty"` CoveragePaths *[]string `json:",omitempty"`
CoverageExcludePaths *[]string `json:",omitempty"` CoverageExcludePaths *[]string `json:",omitempty"`
DevicePrefer32BitApps *bool `json:",omitempty"`
DevicePrefer32BitExecutables *bool `json:",omitempty"` DevicePrefer32BitExecutables *bool `json:",omitempty"`
HostPrefer32BitExecutables *bool `json:",omitempty"` HostPrefer32BitExecutables *bool `json:",omitempty"`