Merge "Add new Release_aidl_use_unfrozen soong variable" into main am: 1579a72d78

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2652369

Change-Id: I1a5d2bdd78a5042421e41d76cd279c22770bfc92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Devin Moore
2023-07-26 22:15:32 +00:00
committed by Automerger Merge Worker
2 changed files with 13 additions and 0 deletions

View File

@@ -1909,6 +1909,10 @@ func (c *deviceConfig) RequiresInsecureExecmemForSwiftshader() bool {
return c.config.productVariables.RequiresInsecureExecmemForSwiftshader
}
func (c *deviceConfig) Release_aidl_use_unfrozen() bool {
return Bool(c.config.productVariables.Release_aidl_use_unfrozen)
}
func (c *config) SelinuxIgnoreNeverallows() bool {
return c.productVariables.SelinuxIgnoreNeverallows
}

View File

@@ -184,6 +184,13 @@ type variableProperties struct {
Srcs []string `android:"arch_variant"`
Exclude_srcs []string `android:"arch_variant"`
} `android:"arch_variant"`
// release_aidl_use_unfrozen is "true" when a device can
// use the unfrozen versions of AIDL interfaces.
Release_aidl_use_unfrozen struct {
Cflags []string
Cmd *string
}
} `android:"arch_variant"`
}
@@ -462,6 +469,8 @@ type ProductVariables struct {
SelinuxIgnoreNeverallows bool `json:",omitempty"`
Release_aidl_use_unfrozen *bool `json:",omitempty"`
SepolicyFreezeTestExtraDirs []string `json:",omitempty"`
SepolicyFreezeTestExtraPrebuiltDirs []string `json:",omitempty"`