1 LOCAL_PATH:= $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../../../../../external/llvm 4 include $(LLVM_ROOT_PATH)/llvm.mk 5 6 bitcode_reader_2_7_SRC_FILES := \ 7 BitReader.cpp \ 8 BitcodeReader.cpp 9 10 # For the host 11 # ===================================================== 12 include $(CLEAR_VARS) 13 14 LOCAL_SRC_FILES := $(bitcode_reader_2_7_SRC_FILES) 15 16 LOCAL_MODULE:= libLLVMBitReader_2_7 17 18 LOCAL_MODULE_TAGS := optional 19 20 include $(LLVM_HOST_BUILD_MK) 21 include $(LLVM_GEN_INTRINSICS_MK) 22 include $(BUILD_HOST_STATIC_LIBRARY) 23 24 # For the device 25 # ===================================================== 26 include $(CLEAR_VARS) 27 28 LOCAL_SRC_FILES := $(bitcode_reader_2_7_SRC_FILES) 29 30 LOCAL_MODULE:= libLLVMBitReader_2_7 31 32 LOCAL_MODULE_TAGS := optional 33 34 include $(LLVM_DEVICE_BUILD_MK) 35 include $(LLVM_GEN_INTRINSICS_MK) 36 include $(BUILD_STATIC_LIBRARY) 37