diff --git a/android/variable.go b/android/variable.go index 1c81f3c3d..f07ab56ec 100644 --- a/android/variable.go +++ b/android/variable.go @@ -95,6 +95,10 @@ type variableProperties struct { Cflags []string } + Device_page_size_agnostic struct { + Cflags []string `android:"arch_variant"` + } `android:"arch_variant"` + Override_rs_driver struct { Cflags []string } @@ -275,6 +279,7 @@ type ProductVariables struct { Safestack *bool `json:",omitempty"` HostStaticBinaries *bool `json:",omitempty"` Binder32bit *bool `json:",omitempty"` + Device_page_size_agnostic *bool `json:",omitempty"` UseGoma *bool `json:",omitempty"` UseRBE *bool `json:",omitempty"` UseRBEJAVAC *bool `json:",omitempty"` @@ -529,6 +534,7 @@ func (v *ProductVariables) SetDefaultConfig() { Safestack: boolPtr(false), TrimmedApex: boolPtr(false), Build_from_text_stub: boolPtr(false), + Device_page_size_agnostic: boolPtr(false), BootJars: ConfiguredJarList{apexes: []string{}, jars: []string{}}, ApexBootJars: ConfiguredJarList{apexes: []string{}, jars: []string{}},