Home | History | Annotate | Download | only in DebugInfo
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 debuginfo_SRC_FILES := \
      4   DIContext.cpp \
      5   DWARFAbbreviationDeclaration.cpp \
      6   DWARFCompileUnit.cpp \
      7   DWARFContext.cpp \
      8   DWARFDebugAbbrev.cpp \
      9   DWARFDebugArangeSet.cpp \
     10   DWARFDebugAranges.cpp \
     11   DWARFDebugFrame.cpp \
     12   DWARFDebugInfoEntry.cpp \
     13   DWARFDebugLine.cpp \
     14   DWARFDebugLoc.cpp \
     15   DWARFDebugRangeList.cpp \
     16   DWARFFormValue.cpp \
     17   DWARFTypeUnit.cpp \
     18   DWARFUnit.cpp \
     19 
     20 # For the host
     21 # =====================================================
     22 include $(CLEAR_VARS)
     23 
     24 REQUIRES_RTTI := 1
     25 
     26 LOCAL_SRC_FILES := $(debuginfo_SRC_FILES)
     27 
     28 LOCAL_MODULE:= libLLVMDebugInfo
     29 
     30 LOCAL_MODULE_TAGS := optional
     31 
     32 include $(LLVM_HOST_BUILD_MK)
     33 include $(LLVM_GEN_INTRINSICS_MK)
     34 include $(BUILD_HOST_STATIC_LIBRARY)
     35 
     36 # For the device
     37 # =====================================================
     38 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
     39 include $(CLEAR_VARS)
     40 
     41 REQUIRES_RTTI := 1
     42 
     43 LOCAL_SRC_FILES := $(debuginfo_SRC_FILES)
     44 
     45 LOCAL_MODULE:= libLLVMDebugInfo
     46 
     47 LOCAL_MODULE_TAGS := optional
     48 
     49 include $(LLVM_DEVICE_BUILD_MK)
     50 include $(LLVM_GEN_INTRINSICS_MK)
     51 include $(BUILD_STATIC_LIBRARY)
     52 endif
     53