diff options
author | Dan Willemsen <dwillemsen@google.com> | 2015-10-22 14:21:12 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2015-10-23 09:48:27 -0700 |
commit | 6e8330732f61d1da1485fc07b61444f490d5e623 (patch) | |
tree | a9dfa4fee11d663f9f799c978ff4e6c9952626db /libMpegTPDec | |
parent | 9f1b9bb71019b9a773d847cec6f10c198cd6c459 (diff) | |
download | fdk-aac-6e8330732f61d1da1485fc07b61444f490d5e623.tar.gz fdk-aac-6e8330732f61d1da1485fc07b61444f490d5e623.tar.bz2 fdk-aac-6e8330732f61d1da1485fc07b61444f490d5e623.zip |
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
Diffstat (limited to 'libMpegTPDec')
-rw-r--r-- | libMpegTPDec/src/tpdec_lib.cpp | 5 | ||||
-rw-r--r-- | libMpegTPDec/src/version | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libMpegTPDec/src/tpdec_lib.cpp b/libMpegTPDec/src/tpdec_lib.cpp index 1f9f29b..445615d 100644 --- a/libMpegTPDec/src/tpdec_lib.cpp +++ b/libMpegTPDec/src/tpdec_lib.cpp @@ -1268,8 +1268,13 @@ TRANSPORTDEC_ERROR transportDec_GetLibInfo( LIB_INFO *info ) info += i; info->module_id = FDK_TPDEC; +#ifdef __ANDROID__ + info->build_date = ""; + info->build_time = ""; +#else info->build_date = __DATE__; info->build_time = __TIME__; +#endif info->title = TP_LIB_TITLE; info->version = LIB_VERSION(TP_LIB_VL0, TP_LIB_VL1, TP_LIB_VL2); LIB_VERSION_STRING(info); 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 |