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

am: 1059f37377

* commit '1059f37377fd37cc311db522b4b5689086480d17':
  Add build number to apps' version name for non-platform build

Change-Id: Iad8a4f271db54561d605a3f98f59a62e97eb1614
This commit is contained in:
Lance Chang 2016-05-28 18:43:57 +00:00 committed by android-build-merger
commit eaa4ef4cfc
1 changed files with 4 additions and 0 deletions

View File

@ -1928,6 +1928,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)