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