Merge "Use PLATFORM_VERSION_CODENAME for VNDK version"

This commit is contained in:
Treehugger Robot 2017-12-20 23:14:23 +00:00 committed by Gerrit Code Review
commit 5281020692
1 changed files with 7 additions and 6 deletions

View File

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