Merge "Use PLATFORM_VERSION_CODENAME for VNDK version" am: 5281020692

am: bbbd85a172

Change-Id: Ic1708ba5468e3628314e9e33a11657ba9f7ee87b
This commit is contained in:
Justin Yun 2017-12-21 02:59:24 +00:00 committed by android-build-merger
commit fa9d3b129a
1 changed files with 7 additions and 6 deletions

View File

@ -187,17 +187,18 @@ endif
ifndef PLATFORM_VNDK_VERSION
# This is the definition of the VNDK version for the current VNDK libraries.
# The version is only available when PLATFORM_VERSION_CODENAME == REL.
# Otherwise, it will be set to "current". The ABI is allowed to be changed
# only if PLATFORM_VNDK_VERSION == current. Once PLATFORM_VNDK_VERSION is set
# to actual version, the ABI for this version will be frozon and emit build
# errors if any ABI for the VNDK libs are changed.
# Otherwise, it will be set to a CODENAME version. The ABI is allowed to be
# changed only before the Android version is released. Once
# PLATFORM_VNDK_VERSION is set to actual version, the ABI for this version
# will be frozon and emit build errors if any ABI for the VNDK libs are
# changed.
# After that the snapshot of the VNDK with this version will be generated.
#
# The version follows PLATFORM_SDK_VERSION.
# The VNDK version follows PLATFORM_SDK_VERSION.
ifeq (REL,$(PLATFORM_VERSION_CODENAME))
PLATFORM_VNDK_VERSION := $(PLATFORM_SDK_VERSION)
else
PLATFORM_VNDK_VERSION := current
PLATFORM_VNDK_VERSION := $(PLATFORM_VERSION_CODENAME)
endif
endif