Add ability to enable scudo-free 32-bit libc variant.
The default value is set to enable scudo with the 32-bit libc variant. Change-Id: I9205da12eceadfe6245763a49c7208d30b82ad99
This commit is contained in:
@@ -81,6 +81,16 @@ type variableProperties struct {
|
|||||||
Header_libs []string `android:"arch_variant"`
|
Header_libs []string `android:"arch_variant"`
|
||||||
} `android:"arch_variant"`
|
} `android:"arch_variant"`
|
||||||
|
|
||||||
|
Malloc_low_memory_libc32 struct {
|
||||||
|
Cflags []string `android:"arch_variant"`
|
||||||
|
Shared_libs []string `android:"arch_variant"`
|
||||||
|
Whole_static_libs []string `android:"arch_variant"`
|
||||||
|
Static_libs []string `android:"arch_variant"`
|
||||||
|
Exclude_static_libs []string `android:"arch_variant"`
|
||||||
|
Srcs []string `android:"arch_variant"`
|
||||||
|
Header_libs []string `android:"arch_variant"`
|
||||||
|
} `android:"arch_variant"`
|
||||||
|
|
||||||
Malloc_zero_contents struct {
|
Malloc_zero_contents struct {
|
||||||
Cflags []string `android:"arch_variant"`
|
Cflags []string `android:"arch_variant"`
|
||||||
} `android:"arch_variant"`
|
} `android:"arch_variant"`
|
||||||
@@ -290,6 +300,7 @@ type ProductVariables struct {
|
|||||||
Always_use_prebuilt_sdks *bool `json:",omitempty"`
|
Always_use_prebuilt_sdks *bool `json:",omitempty"`
|
||||||
Skip_boot_jars_check *bool `json:",omitempty"`
|
Skip_boot_jars_check *bool `json:",omitempty"`
|
||||||
Malloc_low_memory *bool `json:",omitempty"`
|
Malloc_low_memory *bool `json:",omitempty"`
|
||||||
|
Malloc_low_memory_libc32 *bool `json:",omitempty"`
|
||||||
Malloc_zero_contents *bool `json:",omitempty"`
|
Malloc_zero_contents *bool `json:",omitempty"`
|
||||||
Malloc_pattern_fill_contents *bool `json:",omitempty"`
|
Malloc_pattern_fill_contents *bool `json:",omitempty"`
|
||||||
Safestack *bool `json:",omitempty"`
|
Safestack *bool `json:",omitempty"`
|
||||||
@@ -630,6 +641,7 @@ func (v *ProductVariables) SetDefaultConfig() {
|
|||||||
AAPTPrebuiltDPI: []string{"xhdpi", "xxhdpi"},
|
AAPTPrebuiltDPI: []string{"xhdpi", "xxhdpi"},
|
||||||
|
|
||||||
Malloc_low_memory: boolPtr(false),
|
Malloc_low_memory: boolPtr(false),
|
||||||
|
Malloc_low_memory_libc32: boolPtr(false),
|
||||||
Malloc_zero_contents: boolPtr(true),
|
Malloc_zero_contents: boolPtr(true),
|
||||||
Malloc_pattern_fill_contents: boolPtr(false),
|
Malloc_pattern_fill_contents: boolPtr(false),
|
||||||
Safestack: boolPtr(false),
|
Safestack: boolPtr(false),
|
||||||
|
Reference in New Issue
Block a user