Merge "Make it an error when LOCAL_CLANG is false."
This commit is contained in:
@@ -278,7 +278,7 @@ endif
|
|||||||
# in the exception project list.
|
# in the exception project list.
|
||||||
ifeq ($(my_clang),false)
|
ifeq ($(my_clang),false)
|
||||||
ifeq ($(call find_in_local_clang_exception_projects,$(LOCAL_MODULE_MAKEFILE)),)
|
ifeq ($(call find_in_local_clang_exception_projects,$(LOCAL_MODULE_MAKEFILE)),)
|
||||||
$(warning $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): warning: LOCAL_CLANG is set to false)
|
$(error $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): LOCAL_CLANG is set to false)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@@ -149,6 +149,7 @@ LOCAL_CLANG_EXCEPTION_PROJECTS = \
|
|||||||
bionic/tests/ \
|
bionic/tests/ \
|
||||||
device/huawei/angler/ \
|
device/huawei/angler/ \
|
||||||
device/lge/bullhead/ \
|
device/lge/bullhead/ \
|
||||||
|
external/gentoo/integration/ \
|
||||||
external/valgrind/ \
|
external/valgrind/ \
|
||||||
hardware/qcom/ \
|
hardware/qcom/ \
|
||||||
$(INTERNAL_LOCAL_CLANG_EXCEPTION_PROJECTS)
|
$(INTERNAL_LOCAL_CLANG_EXCEPTION_PROJECTS)
|
||||||
|
Reference in New Issue
Block a user