1LOCAL_PATH:= $(call my-dir) 2 3debuginfo_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# ===================================================== 22include $(CLEAR_VARS) 23 24REQUIRES_RTTI := 1 25 26LOCAL_SRC_FILES := $(debuginfo_SRC_FILES) 27 28LOCAL_MODULE:= libLLVMDebugInfo 29 30LOCAL_MODULE_TAGS := optional 31 32include $(LLVM_HOST_BUILD_MK) 33include $(LLVM_GEN_INTRINSICS_MK) 34include $(BUILD_HOST_STATIC_LIBRARY) 35 36# For the device 37# ===================================================== 38ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 39include $(CLEAR_VARS) 40 41REQUIRES_RTTI := 1 42 43LOCAL_SRC_FILES := $(debuginfo_SRC_FILES) 44 45LOCAL_MODULE:= libLLVMDebugInfo 46 47LOCAL_MODULE_TAGS := optional 48 49include $(LLVM_DEVICE_BUILD_MK) 50include $(LLVM_GEN_INTRINSICS_MK) 51include $(BUILD_STATIC_LIBRARY) 52endif 53