Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75b28573 authored by Ying Wang's avatar Ying Wang
Browse files

Fix sim build for unbundling native code

NDK does not support sim build.

Change-Id: I57a09c0083126c57a99cf33c055edef3390d1c28
parent 9269a711
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)