1LOCAL_PATH:= $(call my-dir) 2 3asm_parser_SRC_FILES := \ 4 LLLexer.cpp \ 5 LLParser.cpp \ 6 Parser.cpp 7 8# For the host 9# ===================================================== 10include $(CLEAR_VARS) 11 12LOCAL_SRC_FILES := $(asm_parser_SRC_FILES) 13 14LOCAL_MODULE:= libLLVMAsmParser 15 16LOCAL_MODULE_HOST_OS := darwin linux windows 17 18include $(LOCAL_PATH)/../../llvm-host-build.mk 19include $(LLVM_GEN_ATTRIBUTES_MK) 20include $(LLVM_GEN_INTRINSICS_MK) 21include $(BUILD_HOST_STATIC_LIBRARY) 22 23# For the device 24# ===================================================== 25ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 26include $(CLEAR_VARS) 27 28LOCAL_SRC_FILES := $(asm_parser_SRC_FILES) 29 30LOCAL_MODULE:= libLLVMAsmParser 31 32include $(LOCAL_PATH)/../../llvm-device-build.mk 33include $(LLVM_GEN_ATTRIBUTES_MK) 34include $(LLVM_GEN_INTRINSICS_MK) 35include $(BUILD_STATIC_LIBRARY) 36endif 37