aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2010-04-13 17:53:26 -0700
committerCarl Shapiro <cshapiro@google.com>2010-04-13 17:53:26 -0700
commit74643989fd8d3050821a77c02093fdafe0eb03e2 (patch)
treee0835205a5b64c54a0f9654115e1119586194963 /Android.mk
parente4454320b3cfffe926a487c33fbeb454366de2f8 (diff)
downloadexternal_llvm-74643989fd8d3050821a77c02093fdafe0eb03e2.zip
external_llvm-74643989fd8d3050821a77c02093fdafe0eb03e2.tar.gz
external_llvm-74643989fd8d3050821a77c02093fdafe0eb03e2.tar.bz2
Fix the sim-eng build.
Change-Id: I3e7262220c92b9973da909d94ed3cff59ffc9294
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index 9c065f6..52d42c5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,12 +1,10 @@
+# Only use this on the device or emulator.
+ifneq ($(TARGET_SIMULATOR),true)
+
LOCAL_PATH := $(call my-dir)
LLVM_ROOT_PATH := $(LOCAL_PATH)
include $(CLEAR_VARS)
-# Only use this on the device or emulator.
-ifeq ($(TARGET_SIMULATOR),true)
-$(error LLVM not suitable for the simulator! $(LOCAL_PATH))
-endif
-
subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \
lib/System \
lib/Support \
@@ -37,3 +35,5 @@ LLVM_GEN_INTRINSICS_MK := $(LOCAL_PATH)/llvm-gen-intrinsics.mk
LLVM_TBLGEN_RULES_MK := $(LOCAL_PATH)/tblgen-rules.mk
include $(subdirs)
+
+endif