aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2015-04-02 23:27:30 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-02 23:27:31 +0000
commit6f4fa452db89a32b9dfc8ed8ab61834dcdca07ad (patch)
treedf33f9d517b77b3d7a8271e7b164418d7a3a4da9 /tools
parent3fa16bd6062e23bcdb82ed4dd965674792e6b761 (diff)
parentceee4f98348e1a34c13efee0cec892ce5d2fa98b (diff)
downloadexternal_llvm-6f4fa452db89a32b9dfc8ed8ab61834dcdca07ad.zip
external_llvm-6f4fa452db89a32b9dfc8ed8ab61834dcdca07ad.tar.gz
external_llvm-6f4fa452db89a32b9dfc8ed8ab61834dcdca07ad.tar.bz2
Merge "Update lit.site.cfg to be able to run LLVM tests properly again."
Diffstat (limited to 'tools')
-rw-r--r--tools/dsymutil/Android.mk34
-rw-r--r--tools/llvm-pdbdump/Android.mk34
2 files changed, 68 insertions, 0 deletions
diff --git a/tools/dsymutil/Android.mk b/tools/dsymutil/Android.mk
new file mode 100644
index 0000000..873146e
--- /dev/null
+++ b/tools/dsymutil/Android.mk
@@ -0,0 +1,34 @@
+LOCAL_PATH := $(call my-dir)
+
+LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
+include $(LLVM_ROOT_PATH)/llvm.mk
+
+llvm_dsymutil_SRC_FILES := \
+ BinaryHolder.cpp \
+ DebugMap.cpp \
+ dsymutil.cpp \
+ DwarfLinker.cpp \
+ MachODebugMapParser.cpp
+
+llvm_dsymutil_STATIC_LIBRARIES := \
+ libLLVMDebugInfoDWARF \
+ libLLVMObject \
+ libLLVMMCParser \
+ libLLVMMC \
+ libLLVMBitReader \
+ libLLVMCore \
+ libLLVMSupport
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := llvm-dsymutil
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES := $(llvm_dsymutil_SRC_FILES)
+LOCAL_LDLIBS += -lpthread -lm -ldl
+
+LOCAL_STATIC_LIBRARIES := $(llvm_dsymutil_STATIC_LIBRARIES)
+
+include $(LLVM_HOST_BUILD_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_HOST_EXECUTABLE)
diff --git a/tools/llvm-pdbdump/Android.mk b/tools/llvm-pdbdump/Android.mk
new file mode 100644
index 0000000..82a406a
--- /dev/null
+++ b/tools/llvm-pdbdump/Android.mk
@@ -0,0 +1,34 @@
+LOCAL_PATH := $(call my-dir)
+
+LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
+include $(LLVM_ROOT_PATH)/llvm.mk
+
+llvm_pdbdump_SRC_FILES := \
+ ClassDefinitionDumper.cpp \
+ CompilandDumper.cpp \
+ FunctionDumper.cpp \
+ llvm-pdbdump.cpp \
+ TypedefDumper.cpp \
+ TypeDumper.cpp \
+ VariableDumper.cpp
+
+llvm_pdbdump_STATIC_LIBRARIES := \
+ libLLVMDebugInfoPDB \
+ libLLVMSupport
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := llvm-pdbdump
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_IS_HOST_MODULE := true
+
+LOCAL_SRC_FILES := $(llvm_pdbdump_SRC_FILES)
+
+LOCAL_STATIC_LIBRARIES := $(llvm_pdbdump_STATIC_LIBRARIES)
+
+LOCAL_LDLIBS += -lpthread -lm -ldl
+
+include $(LLVM_HOST_BUILD_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_HOST_EXECUTABLE)