1 LOCAL_PATH:= $(call my-dir) 2 3 irreader_SRC_FILES := \ 4 IRReader.cpp 5 6 # For the host 7 # ===================================================== 8 include $(CLEAR_VARS) 9 10 REQUIRES_RTTI := 1 11 12 LOCAL_SRC_FILES := $(irreader_SRC_FILES) 13 14 LOCAL_MODULE:= libLLVMIRReader 15 16 LOCAL_MODULE_TAGS := optional 17 18 include $(LLVM_HOST_BUILD_MK) 19 include $(LLVM_GEN_INTRINSICS_MK) 20 include $(BUILD_HOST_STATIC_LIBRARY) 21 22 # For the device 23 # ===================================================== 24 include $(CLEAR_VARS) 25 26 REQUIRES_RTTI := 1 27 28 LOCAL_SRC_FILES := $(irreader_SRC_FILES) 29 30 LOCAL_MODULE:= libLLVMIRReader 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