Remove TARGET_PREFER_32_BIT support.
Bug: https://issuetracker.google.com/138812821 Test: builds Change-Id: If96cccbd82ba1311165d61c947c928c6e7cd5593
This commit is contained in:
@@ -810,7 +810,7 @@ func GetOsSpecificVariantsOfCommonOSVariant(mctx BaseModuleContext) []Module {
|
||||
// Valid multilib values include:
|
||||
// "both": compile for all Targets supported by the OsClass (generally x86_64 and x86, or arm64 and arm).
|
||||
// "first": compile for only a single preferred Target supported by the OsClass. This is generally x86_64 or arm64,
|
||||
// but may be arm for a 32-bit only build or a build with TARGET_PREFER_32_BIT=true set.
|
||||
// but may be arm for a 32-bit only build.
|
||||
// "32": compile for only a single 32-bit Target supported by the OsClass.
|
||||
// "64": compile for only a single 64-bit Target supported by the OsClass.
|
||||
// "common": compile a for a single Target that will work on all Targets suported by the OsClass (for example Java).
|
||||
|
@@ -732,14 +732,6 @@ func (c *config) Eng() bool {
|
||||
return Bool(c.productVariables.Eng)
|
||||
}
|
||||
|
||||
func (c *config) DevicePrefer32BitApps() bool {
|
||||
return Bool(c.productVariables.DevicePrefer32BitApps)
|
||||
}
|
||||
|
||||
func (c *config) DevicePrefer32BitExecutables() bool {
|
||||
return Bool(c.productVariables.DevicePrefer32BitExecutables)
|
||||
}
|
||||
|
||||
func (c *config) DevicePrimaryArchType() ArchType {
|
||||
return c.Targets[Android][0].Arch.ArchType
|
||||
}
|
||||
|
@@ -272,10 +272,6 @@ type productVariables struct {
|
||||
CoveragePaths []string `json:",omitempty"`
|
||||
CoverageExcludePaths []string `json:",omitempty"`
|
||||
|
||||
DevicePrefer32BitApps *bool `json:",omitempty"`
|
||||
DevicePrefer32BitExecutables *bool `json:",omitempty"`
|
||||
HostPrefer32BitExecutables *bool `json:",omitempty"`
|
||||
|
||||
SanitizeHost []string `json:",omitempty"`
|
||||
SanitizeDevice []string `json:",omitempty"`
|
||||
SanitizeDeviceDiag []string `json:",omitempty"`
|
||||
|
Reference in New Issue
Block a user