am 75b28573: Fix sim build for unbundling native code

Merge commit '75b28573fe739a10f0f91fab1ef916ddd1c0b91c' into gingerbread

* commit '75b28573fe739a10f0f91fab1ef916ddd1c0b91c':
  Fix sim build for unbundling native code
This commit is contained in:
Ying Wang 2010-07-22 10:58:12 -07:00 committed by Android Git Automerger
commit ebf93bb5c4
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)