Home | History | Annotate | Download | only in IPA
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 analysis_ipa_SRC_FILES := \
      4   CallGraph.cpp \
      5   CallGraphSCCPass.cpp \
      6   FindUsedTypes.cpp \
      7   GlobalsModRef.cpp \
      8   IPA.cpp
      9 
     10 # For the host
     11 # =====================================================
     12 include $(CLEAR_VARS)
     13 
     14 LOCAL_SRC_FILES := $(analysis_ipa_SRC_FILES)
     15 
     16 LOCAL_MODULE:= libLLVMipa
     17 
     18 LOCAL_MODULE_TAGS := optional
     19 
     20 include $(LLVM_HOST_BUILD_MK)
     21 include $(LLVM_GEN_INTRINSICS_MK)
     22 include $(BUILD_HOST_STATIC_LIBRARY)
     23 
     24 # For the device
     25 # =====================================================
     26 include $(CLEAR_VARS)
     27 
     28 LOCAL_SRC_FILES := $(analysis_ipa_SRC_FILES)
     29 
     30 LOCAL_MODULE:= libLLVMipa
     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