From 2d435aa43323935bd8ed293f4f12cddfdee81eb3 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 22 Oct 2015 14:21:12 -0700 Subject: Remove __DATE__/__TIME__ Building __DATE__/__TIME__ into the binaries means that every build will create different binaries, even if all the sources are identical. This also means that any libraries including this one will need to be patched during every OTA. Nothing appears to use the build_date/build_time fields, so just replace them with empty strings. Bug: 24204119 Change-Id: I9543eb388a1e8ab9284df9035a62fc8942cdc082 (cherry picked from commit 6e8330732f61d1da1485fc07b61444f490d5e623) --- libMpegTPDec/src/version | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libMpegTPDec/src/version') diff --git a/libMpegTPDec/src/version b/libMpegTPDec/src/version index cda01c8..fc7e5f0 100644 --- a/libMpegTPDec/src/version +++ b/libMpegTPDec/src/version @@ -4,5 +4,10 @@ #define TP_LIB_VL1 3 #define TP_LIB_VL2 4 #define TP_LIB_TITLE "MPEG Transport" +#ifdef __ANDROID__ +#define TP_LIB_BUILD_DATE "" +#define TP_LIB_BUILD_TIME "" +#else #define TP_LIB_BUILD_DATE __DATE__ #define TP_LIB_BUILD_TIME __TIME__ +#endif -- cgit v1.2.3