Home | History | Annotate | Download | only in BitReader_3_0
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../../../../../external/llvm
      4 include $(LLVM_ROOT_PATH)/llvm.mk
      5 
      6 bitcode_reader_3_0_SRC_FILES := \
      7   BitcodeReader.cpp
      8 
      9 # For the host
     10 # =====================================================
     11 include $(CLEAR_VARS)
     12 
     13 LOCAL_MODULE:= libLLVMBitReader_3_0
     14 LOCAL_MODULE_TAGS := optional
     15 
     16 LOCAL_SRC_FILES := $(bitcode_reader_3_0_SRC_FILES)
     17 LOCAL_CFLAGS += -D__HOST__
     18 
     19 include $(LLVM_HOST_BUILD_MK)
     20 include $(LLVM_GEN_INTRINSICS_MK)
     21 include $(BUILD_HOST_STATIC_LIBRARY)
     22 
     23 # For the device
     24 # =====================================================
     25 include $(CLEAR_VARS)
     26 
     27 LOCAL_MODULE:= libLLVMBitReader_3_0
     28 LOCAL_MODULE_TAGS := optional
     29 
     30 LOCAL_SRC_FILES := $(bitcode_reader_3_0_SRC_FILES)
     31 
     32 include $(LLVM_DEVICE_BUILD_MK)
     33 include $(LLVM_GEN_INTRINSICS_MK)
     34 include $(BUILD_STATIC_LIBRARY)
     35