Merge "Add LOCAL_NDK_VERSION."
am: 4410c29
* commit '4410c29fd0eb3dd0c03c5a3f7d28deec4f23e96b':
Add LOCAL_NDK_VERSION.
Change-Id: Ica79c1e5e912a728232aea5b35154e1b5cc28c3f
This commit is contained in:
commit
f95ca6de0a
2 changed files with 3 additions and 5 deletions
|
@ -66,14 +66,11 @@ my_ndk_sysroot :=
|
|||
my_ndk_sysroot_include :=
|
||||
my_ndk_sysroot_lib :=
|
||||
ifdef LOCAL_SDK_VERSION
|
||||
ifdef LOCAL_NDK_VERSION
|
||||
$(error $(LOCAL_PATH): LOCAL_NDK_VERSION is now retired.)
|
||||
endif
|
||||
ifdef LOCAL_IS_HOST_MODULE
|
||||
$(error $(LOCAL_PATH): LOCAL_SDK_VERSION cannot be used in host module)
|
||||
endif
|
||||
my_ndk_source_root := $(HISTORICAL_NDK_VERSIONS_ROOT)/current/sources
|
||||
my_ndk_sysroot := $(HISTORICAL_NDK_VERSIONS_ROOT)/current/platforms/android-$(LOCAL_SDK_VERSION)/arch-$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)
|
||||
my_ndk_source_root := $(HISTORICAL_NDK_VERSIONS_ROOT)/$(LOCAL_NDK_VERSION)/sources
|
||||
my_ndk_sysroot := $(HISTORICAL_NDK_VERSIONS_ROOT)/$(LOCAL_NDK_VERSION)/platforms/android-$(LOCAL_SDK_VERSION)/arch-$(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)
|
||||
my_ndk_sysroot_include := $(my_ndk_sysroot)/usr/include
|
||||
|
||||
# x86_64 and and mips64 are both multilib toolchains, so their libraries are
|
||||
|
|
|
@ -188,6 +188,7 @@ LOCAL_NOTICE_FILE:=
|
|||
# Used to replace the installed file of a presigned prebuilt apk in PDK fusion build,
|
||||
# to avoid installing the presigned apks with classes.dex unstripped.
|
||||
LOCAL_REPLACE_PREBUILT_APK_INSTALLED:=
|
||||
LOCAL_NDK_VERSION:=current
|
||||
|
||||
# arch specific variables
|
||||
LOCAL_SRC_FILES_$(TARGET_ARCH):=
|
||||
|
|
Loading…
Reference in a new issue