Home | History | Annotate | Download | only in Reader
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 bitcode_reader_SRC_FILES := \
      4 	BitReader.cpp	\
      5 	BitcodeReader.cpp \
      6 	BitstreamReader.cpp
      7 
      8 # For the host
      9 # =====================================================
     10 include $(CLEAR_VARS)
     11 
     12 LOCAL_SRC_FILES := $(bitcode_reader_SRC_FILES)
     13 
     14 LOCAL_MODULE:= libLLVMBitReader
     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 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
     26 
     27 LOCAL_SRC_FILES := $(bitcode_reader_SRC_FILES)
     28 
     29 LOCAL_MODULE:= libLLVMBitReader
     30 
     31 LOCAL_MODULE_TAGS := optional
     32 
     33 include $(LLVM_DEVICE_BUILD_MK)
     34 include $(LLVM_GEN_INTRINSICS_MK)
     35 include $(BUILD_STATIC_LIBRARY)
     36 endif
     37