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. Change-Id: I82a90b83d23b0ba3779a943c2ad444bf5cf937da Merged-In: I82a90b83d23b0ba3779a943c2ad444bf5cf937da (cherry picked from commit e720c41f67a7e9309f1e6e48d5975383be7b2d28)
This commit is contained in:
parent
e3e7ca657b
commit
b021bf8c5a
1 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||
|
@ -173,6 +177,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"`
|
||||
|
|
Loading…
Reference in a new issue