diff options
author | Nan Zhang <nanzhang@google.com> | 2018-02-14 13:29:12 -0800 |
---|---|---|
committer | Nan Zhang <nanzhang@google.com> | 2018-02-14 14:43:09 -0800 |
commit | 37eb91d88c9f9bdc1eda7d8de5d80c1d5f18a1d1 (patch) | |
tree | 2c42eb627769b8ca5127f5dbfbcacabe523c1f1d /brillo_config | |
parent | 3579c4460bbd10f1f1b866859dfa4000774e9962 (diff) | |
download | extras-37eb91d88c9f9bdc1eda7d8de5d80c1d5f18a1d1.tar.gz |
Use BUILD_DATETIME_FROM_FILE instead of BUILD_DATETIME in brillo_config
Soong_UI will handle build timestamp and export date file to Make.
Test: m -j32
Bug: b/70351683
Change-Id: I09ac0117c899afadf28e562d83e95f3132a47e20
Diffstat (limited to 'brillo_config')
-rw-r--r-- | brillo_config/Android.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/brillo_config/Android.mk b/brillo_config/Android.mk index 3eba5a91..61ec0cc7 100644 --- a/brillo_config/Android.mk +++ b/brillo_config/Android.mk @@ -77,8 +77,6 @@ $(error Invalid BRILLO_SYSTEM_VERSION "$(BRILLO_SYSTEM_VERSION)", must be \ endif # Append BUILD_NUMBER if it is a number or a build timestamp otherwise. -# We don't want to use BUILD_DATETIME_FROM_FILE as this timestamp must be -# different at every build. # If you don' want this to change at every build, you can define BUILD_NUMBER in # your product makefile and increase it manually. $(LOCAL_BUILT_MODULE): @@ -86,7 +84,7 @@ $(LOCAL_BUILT_MODULE): ifeq ($(shell echo $(BUILD_NUMBER) | grep -E '[^0-9]'),) echo $(BRILLO_SYSTEM_VERSION).$(BUILD_NUMBER) > $@ else - echo $(BRILLO_SYSTEM_VERSION).$(BUILD_DATETIME) > $@ + echo $(BRILLO_SYSTEM_VERSION).$(BUILD_DATETIME_FROM_FILE) > $@ endif endif |