aboutsummaryrefslogtreecommitdiffstats
path: root/libAACenc/src
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-10-22 14:21:12 -0700
committerDan Willemsen <dwillemsen@google.com>2015-10-23 09:48:27 -0700
commit6e8330732f61d1da1485fc07b61444f490d5e623 (patch)
treea9dfa4fee11d663f9f799c978ff4e6c9952626db /libAACenc/src
parent9f1b9bb71019b9a773d847cec6f10c198cd6c459 (diff)
downloadfdk-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 'libAACenc/src')
-rw-r--r--libAACenc/src/aacenc_lib.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libAACenc/src/aacenc_lib.cpp b/libAACenc/src/aacenc_lib.cpp
index 49f8225..63563fd 100644
--- a/libAACenc/src/aacenc_lib.cpp
+++ b/libAACenc/src/aacenc_lib.cpp
@@ -100,8 +100,13 @@ amm-info@iis.fraunhofer.de
#define AACENCODER_LIB_VL1 4
#define AACENCODER_LIB_VL2 12
#define AACENCODER_LIB_TITLE "AAC Encoder"
+#ifdef __ANDROID__
+#define AACENCODER_LIB_BUILD_DATE ""
+#define AACENCODER_LIB_BUILD_TIME ""
+#else
#define AACENCODER_LIB_BUILD_DATE __DATE__
#define AACENCODER_LIB_BUILD_TIME __TIME__
+#endif
#include "sbr_encoder.h"