Merge "Add LOCAL_NDK_VERSION." am: 4410c29
am: f95ca6d
* commit 'f95ca6de0abb1fe21638c984847e3414038dd4e4':
Add LOCAL_NDK_VERSION.
Change-Id: Ia2883b5482cef267debb90b2e8923731076c4511
This commit is contained in:
commit
4b5b09a00b
|
@ -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
|
||||
|
|
|
@ -196,6 +196,7 @@ LOCAL_SHARED_ANDROID_LIBRARIES:=
|
|||
# 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 New Issue