aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-10-22 14:21:12 -0700
committerDan Willemsen <dwillemsen@google.com>2015-10-30 21:53:59 +0000
commit2d435aa43323935bd8ed293f4f12cddfdee81eb3 (patch)
tree510b410f66a888a5d517cacbac717cdfde055115 /libAACdec
parent9f42dfb7990a107da23454669459bb5e28d90726 (diff)
downloadfdk-aac-2d435aa43323935bd8ed293f4f12cddfdee81eb3.tar.gz
fdk-aac-2d435aa43323935bd8ed293f4f12cddfdee81eb3.tar.bz2
fdk-aac-2d435aa43323935bd8ed293f4f12cddfdee81eb3.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 (cherry picked from commit 6e8330732f61d1da1485fc07b61444f490d5e623)
Diffstat (limited to 'libAACdec')
-rw-r--r--libAACdec/src/aacdecoder_lib.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libAACdec/src/aacdecoder_lib.cpp b/libAACdec/src/aacdecoder_lib.cpp
index 82f85ab..94eb3c0 100644
--- a/libAACdec/src/aacdecoder_lib.cpp
+++ b/libAACdec/src/aacdecoder_lib.cpp
@@ -112,8 +112,13 @@ amm-info@iis.fraunhofer.de
#define AACDECODER_LIB_VL1 5
#define AACDECODER_LIB_VL2 10
#define AACDECODER_LIB_TITLE "AAC Decoder Lib"
+#ifdef __ANDROID__
+#define AACDECODER_LIB_BUILD_DATE ""
+#define AACDECODER_LIB_BUILD_TIME ""
+#else
#define AACDECODER_LIB_BUILD_DATE __DATE__
#define AACDECODER_LIB_BUILD_TIME __TIME__
+#endif
static AAC_DECODER_ERROR
setConcealMethod ( const HANDLE_AACDECODER self,