From 6e8330732f61d1da1485fc07b61444f490d5e623 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 --- libMpegTPEnc/src/tpenc_lib.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libMpegTPEnc/src/tpenc_lib.cpp') diff --git a/libMpegTPEnc/src/tpenc_lib.cpp b/libMpegTPEnc/src/tpenc_lib.cpp index d0a2fec..24fb32f 100644 --- a/libMpegTPEnc/src/tpenc_lib.cpp +++ b/libMpegTPEnc/src/tpenc_lib.cpp @@ -619,8 +619,13 @@ TRANSPORTENC_ERROR transportEnc_GetLibInfo( LIB_INFO *info ) info->module_id = FDK_TPENC; info->version = LIB_VERSION(TP_LIB_VL0, TP_LIB_VL1, TP_LIB_VL2); LIB_VERSION_STRING(info); +#ifdef __ANDROID__ + info->build_date = ""; + info->build_time = ""; +#else info->build_date = __DATE__; info->build_time = __TIME__; +#endif info->title = TP_LIB_TITLE; /* Set flags */ -- cgit v1.2.3