Home | History | Annotate | Download | only in DWARF
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 debuginfo_dwarf_SRC_FILES := \
      4   DWARFAbbreviationDeclaration.cpp \
      5   DWARFAcceleratorTable.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   DWARFDebugMacro.cpp \
     16   DWARFDebugRangeList.cpp \
     17   DWARFFormValue.cpp \
     18   DWARFTypeUnit.cpp \
     19   DWARFUnit.cpp \
     20   DWARFUnitIndex.cpp \
     21   SyntaxHighlighting.cpp
     22 
     23 # For the host
     24 # =====================================================
     25 include $(CLEAR_VARS)
     26 
     27 REQUIRES_RTTI := 1
     28 
     29 LOCAL_SRC_FILES := $(debuginfo_dwarf_SRC_FILES)
     30 
     31 LOCAL_MODULE:= libLLVMDebugInfoDWARF
     32 
     33 LOCAL_MODULE_HOST_OS := darwin linux windows
     34 
     35 include $(LLVM_HOST_BUILD_MK)
     36 include $(LLVM_GEN_INTRINSICS_MK)
     37 include $(BUILD_HOST_STATIC_LIBRARY)
     38 
     39 # For the device
     40 # =====================================================
     41 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
     42 include $(CLEAR_VARS)
     43 
     44 REQUIRES_RTTI := 1
     45 
     46 LOCAL_SRC_FILES := $(debuginfo_dwarf_SRC_FILES)
     47 
     48 LOCAL_MODULE:= libLLVMDebugInfoDWARF
     49 
     50 include $(LLVM_DEVICE_BUILD_MK)
     51 include $(LLVM_GEN_INTRINSICS_MK)
     52 include $(BUILD_STATIC_LIBRARY)
     53 endif
     54