Support platform_apis property
Add a platform_apis property. The logic to verify it isn't hooked up yet, but this will allow translating modules to Soong without losing the annotation. Test: m checkbuild Change-Id: I75ff2d7b94247873f5bb1547a9b347a8e73c3191
This commit is contained in:
parent
96e7f85b51
commit
6af2e4980f
|
@ -179,6 +179,8 @@ func init() {
|
|||
"LOCAL_DEX_PREOPT": "dex_preopt.enabled",
|
||||
"LOCAL_DEX_PREOPT_APP_IMAGE": "dex_preopt.app_image",
|
||||
"LOCAL_DEX_PREOPT_GENERATE_PROFILE": "dex_preopt.profile_guided",
|
||||
|
||||
"LOCAL_PRIVATE_PLATFORM_APIS": "platform_apis",
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -171,6 +171,9 @@ type CompilerDeviceProperties struct {
|
|||
// if not blank, set to the version of the sdk to compile against
|
||||
Sdk_version *string
|
||||
|
||||
// if true, compile against the platform APIs instead of an SDK.
|
||||
Platform_apis *bool
|
||||
|
||||
Aidl struct {
|
||||
// Top level directories to pass to aidl tool
|
||||
Include_dirs []string
|
||||
|
|
Loading…
Reference in New Issue