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