Remove LOCAL_CLANG := false support
Only clang is supported now. Test: build/soong/build_test.bash in all downstream branches Change-Id: Ie8ad009625ddd7d5c38a6276b631bc889974fda3
This commit is contained in:
@@ -68,28 +68,4 @@ endif
|
||||
# provides to Clang (for supporting features like -ftrapv).
|
||||
COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES := libcompiler_rt-extras
|
||||
|
||||
# A list of projects that are allowed to set LOCAL_CLANG to false.
|
||||
# INTERNAL_LOCAL_CLANG_EXCEPTION_PROJECTS is defined later in other config.mk.
|
||||
LOCAL_CLANG_EXCEPTION_PROJECTS = \
|
||||
bionic/tests/ \
|
||||
device/google/contexthub/ \
|
||||
device/huawei/angler/ \
|
||||
device/lge/bullhead/ \
|
||||
external/gentoo/integration/ \
|
||||
hardware/qcom/ \
|
||||
test/vts/hals/camera/bullhead/ \
|
||||
test/vts/hals/etc/libqdutils/ \
|
||||
vendor/huawei/angler/ \
|
||||
vendor/lge/bullhead/ \
|
||||
$(INTERNAL_LOCAL_CLANG_EXCEPTION_PROJECTS)
|
||||
|
||||
# Find $1 in the exception project list.
|
||||
define find_in_local_clang_exception_projects
|
||||
$(subst $(space),, \
|
||||
$(foreach project,$(LOCAL_CLANG_EXCEPTION_PROJECTS), \
|
||||
$(if $(filter $(project)%,$(1)),$(project)) \
|
||||
) \
|
||||
)
|
||||
endef
|
||||
|
||||
include $(BUILD_SYSTEM)/clang/tidy.mk
|
||||
|
||||
Reference in New Issue
Block a user