Merge "Add build number to apps' version name for non-platform build" into nyc-dev

This commit is contained in:
Lance Jin-woong Chang
2016-05-28 18:28:39 +00:00
committed by Android (Google) Code Review

View File

@@ -1830,6 +1830,10 @@ endef
# Add BUILD_NUMBER to apps default version name if it's unbundled build.
ifdef TARGET_BUILD_APPS
TARGET_BUILD_WITH_APPS_VERSION_NAME := true
endif
ifdef TARGET_BUILD_WITH_APPS_VERSION_NAME
APPS_DEFAULT_VERSION_NAME := $(PLATFORM_VERSION)-$(BUILD_NUMBER_FROM_FILE)
else
APPS_DEFAULT_VERSION_NAME := $(PLATFORM_VERSION)