Home | History | Annotate | Download | only in IRReader
      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 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
     25 include $(CLEAR_VARS)
     26 
     27 REQUIRES_RTTI := 1
     28 
     29 LOCAL_SRC_FILES := $(irreader_SRC_FILES)
     30 
     31 LOCAL_MODULE:= libLLVMIRReader
     32 
     33 LOCAL_MODULE_TAGS := optional
     34 
     35 include $(LLVM_DEVICE_BUILD_MK)
     36 include $(LLVM_GEN_INTRINSICS_MK)
     37 include $(BUILD_STATIC_LIBRARY)
     38 endif