Default BuildBrokenClangProperty to empty (false)

Clang property is deprecated. Set up a BUILD_BROKEN_CLANG_PROPERTY
flag so partners can bypass errors from using clang.

Change-Id: I7ec19c3d11086046031108ecccba5065c38fa338
Test: m nothing & Treehugger
This commit is contained in:
Alix 2022-08-25 14:17:18 +00:00
parent 6c4e194cff
commit 7a4d539e75
3 changed files with 3 additions and 0 deletions

View file

@ -826,6 +826,7 @@ property from affected Android.bp files using bpmodify.
go run bpmodify.go -w -m=module_name -remove-property=true -property=clang filepath
```
`BUILD_BROKEN_CLANG_PROPERTY` can be used as temporarily workaround
### Other envsetup.sh variables {#other_envsetup_variables}
* ANDROID_TOOLCHAIN

View file

@ -174,6 +174,7 @@ _board_strip_list += ODM_MANIFEST_SKUS
_build_broken_var_list := \
BUILD_BROKEN_CLANG_PROPERTY \
BUILD_BROKEN_DEPFILE \
BUILD_BROKEN_DUP_RULES \
BUILD_BROKEN_DUP_SYSPROP \

View file

@ -275,6 +275,7 @@ $(call add_json_str, PrebuiltHiddenApiDir, $(BOARD_PREBUILT_HIDDENAPI_DIR))
$(call add_json_str, ShippingApiLevel, $(PRODUCT_SHIPPING_API_LEVEL))
$(call add_json_bool, BuildBrokenClangProperty, $(filter true,$(BUILD_BROKEN_CLANG_PROPERTY)))
$(call add_json_bool, BuildBrokenDepfile, $(filter true,$(BUILD_BROKEN_DEPFILE)))
$(call add_json_bool, BuildBrokenEnforceSyspropOwner, $(filter true,$(BUILD_BROKEN_ENFORCE_SYSPROP_OWNER)))
$(call add_json_bool, BuildBrokenTrebleSyspropNeverallow, $(filter true,$(BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW)))