Add the device config GenerateAidlNdkPlatformBackend

The config is used to force the generation of the AIDL ndk_platform
backend which will eventually be removed in favor of the ndk backend.
The switch is needed as an escape hatch for some devices whose BSP
(outsourced and thus hardly modifiable) depends on the ndk_backend
libraries.

Bug: 161456198
Test: m
Change-Id: Ie11ca62be05754bb2593da16e1380103c670b393
This commit is contained in:
Jiyong Park
2021-10-12 16:47:43 +09:00
parent 40412e39c5
commit 65d9718328
2 changed files with 6 additions and 0 deletions

View File

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