Merge "aux: allow non-clang toolchains for AUX builds"

This commit is contained in:
TreeHugger Robot 2016-08-19 17:43:50 +00:00 committed by Android (Google) Code Review
commit a2071052e8

View file

@ -334,7 +334,7 @@ endif
# Issue warning if LOCAL_CLANG* is set to false and the local makefile is not found
# in the exception project list.
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))$(LOCAL_IS_AUX_MODULE),)
$(error $(LOCAL_MODULE_MAKEFILE): $(LOCAL_MODULE): LOCAL_CLANG is set to false)
endif
endif