Merge "Make it an error when LOCAL_CLANG is false." am: 9204b776bb
am: f329021c0f
am: aefdd322de
Change-Id: I3e852ceb99dc0351259813b718e9914ad7195fd8
This commit is contained in:
commit
b1012bd713
2 changed files with 2 additions and 1 deletions
|
@ -278,7 +278,7 @@ endif
|
|||
# in the exception project list.
|
||||
ifeq ($(my_clang),false)
|
||||
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
|
||||
|
||||
|
|
|
@ -149,6 +149,7 @@ LOCAL_CLANG_EXCEPTION_PROJECTS = \
|
|||
bionic/tests/ \
|
||||
device/huawei/angler/ \
|
||||
device/lge/bullhead/ \
|
||||
external/gentoo/integration/ \
|
||||
external/valgrind/ \
|
||||
hardware/qcom/ \
|
||||
$(INTERNAL_LOCAL_CLANG_EXCEPTION_PROJECTS)
|
||||
|
|
Loading…
Reference in a new issue