Merge "Add the device config GenerateAidlNdkPlatformBackend" am: ab1312d010 am: 995bf90bb2

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

Change-Id: I4aeb14009fb887d105891a8de9f02d5f20613595
This commit is contained in:
Treehugger Robot
2021-10-26 00:31:44 +00:00
committed by Automerger Merge Worker
2 changed files with 6 additions and 0 deletions

View File

@@ -1578,6 +1578,10 @@ func (c *deviceConfig) SepolicyFreezeTestExtraPrebuiltDirs() []string {
return c.config.productVariables.SepolicyFreezeTestExtraPrebuiltDirs
}
func (c *deviceConfig) GenerateAidlNdkPlatformBackend() bool {
return c.config.productVariables.GenerateAidlNdkPlatformBackend
}
// The ConfiguredJarList struct provides methods for handling a list of (apex, jar) pairs.
// Such lists are used in the build system for things like bootclasspath jars or system server jars.
// The apex part is either an apex name, or a special names "platform" or "system_ext". Jar is a

View File

@@ -419,6 +419,8 @@ type productVariables struct {
SepolicyFreezeTestExtraDirs []string `json:",omitempty"`
SepolicyFreezeTestExtraPrebuiltDirs []string `json:",omitempty"`
GenerateAidlNdkPlatformBackend bool `json:",omitempty"`
}
func boolPtr(v bool) *bool {