diff --git a/android/config.go b/android/config.go index cd1ac31dc..99b1ad177 100644 --- a/android/config.go +++ b/android/config.go @@ -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 diff --git a/android/variable.go b/android/variable.go index d10b0b925..64540d346 100644 --- a/android/variable.go +++ b/android/variable.go @@ -422,6 +422,8 @@ type productVariables struct { SepolicyFreezeTestExtraDirs []string `json:",omitempty"` SepolicyFreezeTestExtraPrebuiltDirs []string `json:",omitempty"` + + GenerateAidlNdkPlatformBackend bool `json:",omitempty"` } func boolPtr(v bool) *bool {