Stop using __DATE__/__TIME__ on all builds

We're beginning to use remote caches with Android builds, so I'm turning
on -Werror=date-time so that host builds are also reproducible.

Test: treehugger
Test: mmma external/libavc
Change-Id: I581f3abf528a7bb5df6ee9963f4d72e2b4bb8a6c
This commit is contained in:
Dan Willemsen 2019-08-27 19:47:33 -07:00
parent dcdaa5c232
commit d8383dc45e
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@
#define CODEC_RELEASE_VER "05.00"
#define CODEC_VENDOR "ITTIAM"
#define MAXVERSION_STRLEN 511
#ifdef __ANDROID__
#ifdef ANDROID
#define VERSION(version_string, codec_name, codec_release_type, codec_release_ver, codec_vendor) \
snprintf(version_string, MAXVERSION_STRLEN, \
"@(#)Id:%s_%s Ver:%s Released by %s", \

View file

@ -85,7 +85,7 @@
* Concatenates various strings to form a version string
*******************************************************************************
*/
#ifdef __ANDROID__
#ifdef ANDROID
#define VERSION(version_string, codec_name, codec_release_type, codec_release_ver, codec_vendor) \
snprintf(version_string, MAX_STRLEN, \
"@(#)Id:%s_%s Ver:%s Released by %s", \