Merge "make USER limited to 6 characters when generating BF_BUILD_NUMBER" am: 88ca8aff3e

am: 79215cdeab

* commit '79215cdeabbc43e47cbfe212eed02e6958ebfb8b':
  make USER limited to 6 characters when generating BF_BUILD_NUMBER
This commit is contained in:
Ying Wang 2015-12-02 17:55:18 +00:00 committed by android-build-merger
commit 4c6b66e617
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ ifeq (,$(strip $(BUILD_FINGERPRINT)))
ifneq ($(filter eng.%,$(BUILD_NUMBER)),)
# Trim down BUILD_FINGERPRINT: the default BUILD_NUMBER makes it easily exceed
# the Android system property length limit (PROPERTY_VALUE_MAX=92).
BF_BUILD_NUMBER := $(USER)$(shell $(DATE) +%m%d%H%M)
BF_BUILD_NUMBER := $(shell echo $${USER:0:6})$(shell $(DATE) +%m%d%H%M)
else
BF_BUILD_NUMBER := $(BUILD_NUMBER)
endif