Merge "versioner: Ignore if Clang is missing"
am: 3e3364a89d
Change-Id: I8e4d498c5838bc2049d0070ddcb1924a3fe913f8
This commit is contained in:
commit
6a2f9e6ad3
1 changed files with 6 additions and 1 deletions
|
@ -3,8 +3,11 @@ LOCAL_PATH := $(call my-dir)
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
include $(CLEAR_TBLGEN_VARS)
|
include $(CLEAR_TBLGEN_VARS)
|
||||||
|
|
||||||
LLVM_ROOT_PATH := external/llvm
|
# Only do this when Clang is available.
|
||||||
CLANG_ROOT_PATH := external/clang
|
CLANG_ROOT_PATH := external/clang
|
||||||
|
ifneq ($(wildcard $(CLANG_ROOT_PATH)/clang.mk),)
|
||||||
|
|
||||||
|
LLVM_ROOT_PATH := external/llvm
|
||||||
include $(CLANG_ROOT_PATH)/clang.mk
|
include $(CLANG_ROOT_PATH)/clang.mk
|
||||||
|
|
||||||
LOCAL_MODULE := versioner
|
LOCAL_MODULE := versioner
|
||||||
|
@ -41,3 +44,5 @@ LOCAL_CPPFLAGS := -std=c++14 -fno-rtti
|
||||||
LOCAL_MODULE_HOST_OS := linux
|
LOCAL_MODULE_HOST_OS := linux
|
||||||
|
|
||||||
include $(BUILD_HOST_EXECUTABLE)
|
include $(BUILD_HOST_EXECUTABLE)
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue