[config_sanitizers] Fail if LOCAL_SANITIZE_BLACKLIST is used.
All uses of this property have been migrated to LOCAL_SANITIZE_BLOCKLIST. Update language to comply with Android’s inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Bug: 162245450 Test: Add the old property to an Android.mk and ensure error is thrown. Change-Id: I797ff651f03b954b410f76f4d201a962ded717df
This commit is contained in:
parent
b83c9d0461
commit
1ac5384aaf
|
@ -258,7 +258,6 @@ LOCAL_SANITIZE:=
|
|||
LOCAL_SANITIZE_DIAG:=
|
||||
LOCAL_SANITIZE_RECOVER:=
|
||||
LOCAL_SANITIZE_NO_RECOVER:=
|
||||
LOCAL_SANITIZE_BLACKLIST :=
|
||||
LOCAL_SANITIZE_BLOCKLIST :=
|
||||
LOCAL_SDK_LIBRARIES :=
|
||||
LOCAL_SDK_RES_VERSION:=
|
||||
|
|
|
@ -154,6 +154,7 @@ $(KATI_obsolete_var PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST,Use PRODUCT_ARTI
|
|||
$(KATI_obsolete_var COVERAGE_PATHS,Use NATIVE_COVERAGE_PATHS instead)
|
||||
$(KATI_obsolete_var COVERAGE_EXCLUDE_PATHS,Use NATIVE_COVERAGE_EXCLUDE_PATHS instead)
|
||||
$(KATI_obsolete_var BOARD_VNDK_RUNTIME_DISABLE,VNDK-Lite is no longer supported.)
|
||||
$(KATI_obsolete_var LOCAL_SANITIZE_BLACKLIST,Use LOCAL_SANITIZE_BLOCKLIST instead.)
|
||||
|
||||
# Used to force goals to build. Only use for conditionally defined goals.
|
||||
.PHONY: FORCE
|
||||
|
|
|
@ -144,9 +144,6 @@ endif
|
|||
|
||||
# Support for local sanitize blacklist paths.
|
||||
ifneq ($(my_sanitize)$(my_global_sanitize),)
|
||||
ifneq ($(LOCAL_SANITIZE_BLACKLIST),)
|
||||
my_cflags += -fsanitize-blacklist=$(LOCAL_PATH)/$(LOCAL_SANITIZE_BLACKLIST)
|
||||
endif
|
||||
ifneq ($(LOCAL_SANITIZE_BLOCKLIST),)
|
||||
my_cflags += -fsanitize-blacklist=$(LOCAL_PATH)/$(LOCAL_SANITIZE_BLOCKLIST)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue