diff options
author | 2024-01-04 22:32:01 +0900 | |
---|---|---|
committer | 2024-01-04 22:33:27 +0900 | |
commit | 87312a2facfe2d50ab4d002dcdbc5a0f67dbd2b3 (patch) | |
tree | 49d053f6331fcfe0e8f4cd01354c47b98c3a9641 /android/variable.go | |
parent | ec47e99b4dac54b9f7afe1d28530e0291425ed2b (diff) |
Add BUILD_BROKEN_DONT_CHECK_SYSTEMSDK
https://android-review.git.corp.google.com/q/topic:limit_systemsdk
introduced a new check for preventing the use of system SDKs above 34
from Java modules in the vendor partition.
As this may break some unprepared targets, introduce
BUILD_BROKEN_DONT_CHECK_SYSTEMSDK as a temporary escape hatch.
This flag will be deleted eventually.
Bug: 314011075
Test: Add BUILD_BROKEN_DONT_CHECK_SYSTEMSDK := true to BoardConfig.mk
Change-Id: Id7901f85c221bc03fa1c15ef15dbec14b783a79a
Diffstat (limited to 'android/variable.go')
-rw-r--r-- | android/variable.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go index fa4cfc1fd..98440802f 100644 --- a/android/variable.go +++ b/android/variable.go @@ -448,6 +448,7 @@ type ProductVariables struct { BuildBrokenVendorPropertyNamespace bool `json:",omitempty"` BuildBrokenIncorrectPartitionImages bool `json:",omitempty"` BuildBrokenInputDirModules []string `json:",omitempty"` + BuildBrokenDontCheckSystemSdk bool `json:",omitempty"` BuildWarningBadOptionalUsesLibsAllowlist []string `json:",omitempty"` |