aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/MCTargetDesc/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86/MCTargetDesc/Android.mk')
-rw-r--r--lib/Target/X86/MCTargetDesc/Android.mk36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/Target/X86/MCTargetDesc/Android.mk b/lib/Target/X86/MCTargetDesc/Android.mk
new file mode 100644
index 0000000..70b88f8
--- /dev/null
+++ b/lib/Target/X86/MCTargetDesc/Android.mk
@@ -0,0 +1,36 @@
+#LOCAL_PATH := $(call my-dir)
+#
+#x86_codegen_SRC_FILES := \
+# X86TargetDesc.cpp
+#
+## For the host
+## =====================================================
+#include $(CLEAR_VARS)
+#include $(CLEAR_TBLGEN_VARS)
+#
+#TBLGEN_TABLES := $(x86_codegen_TBLGEN_TABLES)
+#
+#LOCAL_SRC_FILES := $(x86_codegen_SRC_FILES)
+#
+#LOCAL_MODULE:= libLLVMX86Desc
+#
+#LOCAL_MODULE_TAGS := optional
+#
+#include $(LLVM_HOST_BUILD_MK)
+#include $(BUILD_HOST_STATIC_LIBRARY)
+#
+## For the device only
+## =====================================================
+#ifeq ($(TARGET_ARCH),x86)
+#include $(CLEAR_VARS)
+#include $(CLEAR_TBLGEN_VARS)
+#
+#LOCAL_SRC_FILES := $(x86_codegen_SRC_FILES)
+#
+#LOCAL_MODULE:= libLLVMX86Desc
+#
+#LOCAL_MODULE_TAGS := optional
+#
+#include $(LLVM_DEVICE_BUILD_MK)
+#include $(BUILD_STATIC_LIBRARY)
+#endif