1LOCAL_PATH:= $(call my-dir) 2 3mc_disassembler_SRC_FILES := \ 4 Disassembler.cpp \ 5 MCDisassembler.cpp \ 6 MCExternalSymbolizer.cpp \ 7 MCRelocationInfo.cpp 8 9 10# For the host 11# ===================================================== 12include $(CLEAR_VARS) 13 14LOCAL_SRC_FILES := $(mc_disassembler_SRC_FILES) 15 16LOCAL_MODULE:= libLLVMMCDisassembler 17 18LOCAL_MODULE_HOST_OS := darwin linux windows 19 20 21include $(LLVM_HOST_BUILD_MK) 22include $(BUILD_HOST_STATIC_LIBRARY) 23 24# For the device 25# ===================================================== 26include $(CLEAR_VARS) 27ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 28 29LOCAL_SRC_FILES := $(mc_disassembler_SRC_FILES) 30 31LOCAL_MODULE:= libLLVMMCDisassembler 32 33LOCAL_MODULE_HOST_OS := darwin linux windows 34 35include $(LLVM_DEVICE_BUILD_MK) 36include $(BUILD_STATIC_LIBRARY) 37endif 38