aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/Android.mk')
-rw-r--r--lib/CodeGen/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/Android.mk b/lib/CodeGen/Android.mk
index d232e55..2ce8aec 100644
--- a/lib/CodeGen/Android.mk
+++ b/lib/CodeGen/Android.mk
@@ -1,3 +1,6 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_ARCH),arm)
+
LOCAL_PATH:= $(call my-dir)
codegen_SRC_FILES := \
@@ -99,3 +102,5 @@ LOCAL_MODULE:= libLLVMCodeGen
include $(LLVM_DEVICE_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_STATIC_LIBRARY)
+
+endif