aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCParser/Android.mk
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2010-04-29 00:24:07 -0700
committerShih-wei Liao <sliao@google.com>2010-04-29 00:24:07 -0700
commita59a85f8dd03d52907019f1a4caaf7653b01b7d3 (patch)
treebf887e96b412f30a0f610ba86088f048be87a19c /lib/MC/MCParser/Android.mk
parent7abe37e4aee38cc79d91dd069a37d7e91d5bef53 (diff)
downloadexternal_llvm-a59a85f8dd03d52907019f1a4caaf7653b01b7d3.zip
external_llvm-a59a85f8dd03d52907019f1a4caaf7653b01b7d3.tar.gz
external_llvm-a59a85f8dd03d52907019f1a4caaf7653b01b7d3.tar.bz2
For disassembler
Change-Id: I14e64ec4640cbeb57ac87473775e8ba8a7320b3f
Diffstat (limited to 'lib/MC/MCParser/Android.mk')
-rw-r--r--lib/MC/MCParser/Android.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/MC/MCParser/Android.mk b/lib/MC/MCParser/Android.mk
new file mode 100644
index 0000000..1335362
--- /dev/null
+++ b/lib/MC/MCParser/Android.mk
@@ -0,0 +1,30 @@
+LOCAL_PATH:= $(call my-dir)
+
+mc_parser_SRC_FILES := \
+ AsmLexer.cpp \
+ AsmParser.cpp \
+ MCAsmLexer.cpp \
+ MCAsmParser.cpp \
+ TargetAsmParser.cpp
+
+# For the host
+# =====================================================
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(mc_parser_SRC_FILES)
+
+LOCAL_MODULE:= libLLVMMCParser
+
+include $(LLVM_HOST_BUILD_MK)
+include $(BUILD_HOST_STATIC_LIBRARY)
+
+# For the device
+# =====================================================
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(mc_parser_SRC_FILES)
+
+LOCAL_MODULE:= libLLVMMCParser
+
+include $(LLVM_DEVICE_BUILD_MK)
+include $(BUILD_STATIC_LIBRARY)