diff options
author | 2024-06-03 22:29:38 +0000 | |
---|---|---|
committer | 2024-06-04 23:08:20 +0000 | |
commit | a48df2b7fb5acada49fd375d0ec6d1825ee5711c (patch) | |
tree | 6bc7fbf38804af7585e8fc2185e9611201615b8d /android/variable.go | |
parent | ce15fb72bf7127fbc63230ebb52d907d446c1085 (diff) |
Shipping_api_level in build.
Add shipping API level to build, so that we can move
certain tests to build time.
Bug: 340953047
Test: works in init for build time host checks
Change-Id: Ic89066c2b49089da3113a1afef1d39de53b307d9
Diffstat (limited to 'android/variable.go')
-rw-r--r-- | android/variable.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go index 684aab0b1..3538e2fda 100644 --- a/android/variable.go +++ b/android/variable.go @@ -55,6 +55,10 @@ type variableProperties struct { Base_dir *string } + Shipping_api_level struct { + Cflags []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 { @@ -440,7 +444,7 @@ type ProductVariables struct { PrebuiltHiddenApiDir *string `json:",omitempty"` - ShippingApiLevel *string `json:",omitempty"` + Shipping_api_level *string `json:",omitempty"` BuildBrokenPluginValidation []string `json:",omitempty"` BuildBrokenClangAsFlags bool `json:",omitempty"` |