Make it an error when LOCAL_CLANG is false.

Only projects in LOCAL_CLANG_EXCEPTION_PROJECTS can set LOCAL_CLANG to false.
Add external/gentoo/integration to this white list.

Bug: 30575506
Change-Id: Icd508686bc2eb8b9d400200166df80115af20da1
Test: build and find new warning in build.log
This commit is contained in:
Chih-Hung Hsieh
2016-08-04 15:35:51 -07:00
parent 6b5e8f0037
commit 2ee4c1abbf
2 changed files with 2 additions and 1 deletions

View File

@@ -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)