diff options
| author | 2021-08-27 17:35:40 +0100 | |
|---|---|---|
| committer | 2021-08-27 17:35:40 +0100 | |
| commit | 35c86c07edf0546563dc575181eefe6d0b52a12c (patch) | |
| tree | 8ca0c4175c1975ccc83344ed0fe6d3452b34920a /android/variable.go | |
| parent | b37a92ccc82f327e1f8ed686c0a16d5ac9c828ee (diff) | |
Add support for extension version in variables
This makes the sdk extension version usable in genrule cmds via %d.
Bug: 195281582
Test: current_sdkinfo module in packages/modules/common.
Merged-In: I82a90b83d23b0ba3779a943c2ad444bf5cf937da
Change-Id: I82a90b83d23b0ba3779a943c2ad444bf5cf937da
Diffstat (limited to 'android/variable.go')
| -rw-r--r-- | android/variable.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go index 5cf9aa8e8..28672e24c 100644 --- a/android/variable.go +++ b/android/variable.go @@ -46,6 +46,10 @@ type variableProperties struct { Java_resource_dirs []string } + Platform_sdk_extension_version struct { + Cmd *string + } + // unbundled_build is a catch-all property to annotate modules that don't build in one or // more unbundled branches, usually due to dependencies missing from the manifest. Unbundled_build struct { @@ -170,6 +174,7 @@ type productVariables struct { Platform_sdk_codename *string `json:",omitempty"` Platform_sdk_version_or_codename *string `json:",omitempty"` Platform_sdk_final *bool `json:",omitempty"` + Platform_sdk_extension_version *int `json:",omitempty"` Platform_version_active_codenames []string `json:",omitempty"` Platform_vndk_version *string `json:",omitempty"` Platform_systemsdk_versions []string `json:",omitempty"` |