diff options
author | Mike Lockwood <lockwood@android.com> | 2010-05-03 17:12:53 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-05-03 17:13:09 -0400 |
commit | a7752e7017a1ca50973b6b3dcce5d6d484090ba9 (patch) | |
tree | 7cd2129b8bbcfcc5fd2436df0e08455c79e68e1a /Android.mk | |
parent | ed4dac7caf11058c1a988db9f7102187bd1cc9eb (diff) | |
download | external_llvm-a7752e7017a1ca50973b6b3dcce5d6d484090ba9.zip external_llvm-a7752e7017a1ca50973b6b3dcce5d6d484090ba9.tar.gz external_llvm-a7752e7017a1ca50973b6b3dcce5d6d484090ba9.tar.bz2 |
Fix sim build
Silently skip this project in sim builds instead of throwing an error.
Change-Id: Ibc95a118dc4afa7669e72dbb0ce74a124ecb1e48
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,9 +3,7 @@ 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 +ifneq ($(TARGET_SIMULATOR),true) subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \ lib/System \ @@ -45,3 +43,5 @@ LLVM_GEN_INTRINSICS_MK := $(LOCAL_PATH)/llvm-gen-intrinsics.mk LLVM_TBLGEN_RULES_MK := $(LOCAL_PATH)/tblgen-rules.mk include $(subdirs) + +endif |