1 LOCAL_PATH:= $(call my-dir) 2 3 asm_parser_SRC_FILES := \ 4 LLLexer.cpp \ 5 LLParser.cpp \ 6 Parser.cpp 7 8 # For the host 9 # ===================================================== 10 include $(CLEAR_VARS) 11 12 LOCAL_SRC_FILES := $(asm_parser_SRC_FILES) 13 14 LOCAL_MODULE:= libLLVMAsmParser 15 16 LOCAL_MODULE_TAGS := optional 17 18 include $(LOCAL_PATH)/../../llvm-host-build.mk 19 include $(BUILD_HOST_STATIC_LIBRARY) 20 21 # For the device 22 # ===================================================== 23 include $(CLEAR_VARS) 24 25 LOCAL_SRC_FILES := $(asm_parser_SRC_FILES) 26 27 LOCAL_MODULE:= libLLVMAsmParser 28 29 LOCAL_MODULE_TAGS := optional 30 31 include $(LOCAL_PATH)/../../llvm-device-build.mk 32 include $(BUILD_STATIC_LIBRARY) 33