am 163ce0f6: am ebf93bb5: am 75b28573: Fix sim build for unbundling native code

Merge commit '163ce0f62f7992d2c79257965919fcc1d975a6ec'

* commit '163ce0f62f7992d2c79257965919fcc1d975a6ec':
  Fix sim build for unbundling native code
This commit is contained in:
Ying Wang 2010-07-22 11:24:31 -07:00 committed by Android Git Automerger
commit 1a631273eb
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@
## Sanity check for LOCAL_NDK_VERSION
######################################
my_ndk_version_root :=
ifeq ($(TARGET_SIMULATOR),true)
# NDK does not support sim build.
LOCAL_NDK_VERSION :=
endif
ifdef LOCAL_NDK_VERSION
ifdef LOCAL_IS_HOST_MODULE
$(error $(LOCAL_PATH): LOCAL_NDK_VERSION can not be used in host module)