aboutsummaryrefslogtreecommitdiffstats
path: root/utils/FileCheck
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2012-02-19 16:04:51 -0500
committerDaniel Malea <daniel.malea@intel.com>2012-02-29 13:25:45 -0500
commit369c4a40cd8c97e1e513ec8c6eaeee26e6adfc9b (patch)
treef1eed7520ab955f7ee82ddbfcad3a5f3395454bd /utils/FileCheck
parent4be65eeae53ab540d9c2328a09f3c83e2529a6e8 (diff)
downloadexternal_llvm-369c4a40cd8c97e1e513ec8c6eaeee26e6adfc9b.tar.gz
external_llvm-369c4a40cd8c97e1e513ec8c6eaeee26e6adfc9b.tar.bz2
external_llvm-369c4a40cd8c97e1e513ec8c6eaeee26e6adfc9b.zip
Build FileCheck and enable DWARF emission for target eng builds
- conditionally enable AsmPrinter Dwarf bits for eng builds - build script for FileCheck Change-Id: I68c5f9b2f28b36a779cf76e9161f740994c619f5
Diffstat (limited to 'utils/FileCheck')
-rw-r--r--utils/FileCheck/Android.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/utils/FileCheck/Android.mk b/utils/FileCheck/Android.mk
new file mode 100644
index 0000000000..1a670273a3
--- /dev/null
+++ b/utils/FileCheck/Android.mk
@@ -0,0 +1,24 @@
+LOCAL_PATH:= $(call my-dir)
+
+filecheck_SRC_FILES := \
+ FileCheck.cpp
+
+filecheck_STATIC_LIBRARIES := \
+ libLLVMSupport
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := FileCheck
+LOCAL_MODULE_TAGS := optional eng
+LOCAL_SRC_FILES := $(filecheck_SRC_FILES)
+LOCAL_STATIC_LIBRARIES := $(filecheck_STATIC_LIBRARIES)
+LOCAL_C_INCLUDES += external/llvm/include
+LOCAL_C_INCLUDES += external/llvm/host/include
+LOCAL_LDLIBS += -lpthread -lm -ldl
+LOCAL_CFLAGS += -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS
+
+#REQUIRES_EH := 1
+#REQUIRES_RTTI := 1
+
+include $(LLVM_HOST_BUILD_MK)
+include $(BUILD_HOST_EXECUTABLE)