summaryrefslogtreecommitdiffstats
path: root/libFDK/src/FDK_core.cpp
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-10-22 14:21:12 -0700
committerThe Android Automerger <android-build@google.com>2015-11-03 14:34:52 -0800
commit48b330d303727e1f2671f844a1d541d596f6d5da (patch)
tree510b410f66a888a5d517cacbac717cdfde055115 /libFDK/src/FDK_core.cpp
parent9f42dfb7990a107da23454669459bb5e28d90726 (diff)
downloadandroid_external_aac-fd7b36b6f5d48bfa43103cf82755b4dd0d860cf0.tar.gz
android_external_aac-fd7b36b6f5d48bfa43103cf82755b4dd0d860cf0.tar.bz2
android_external_aac-fd7b36b6f5d48bfa43103cf82755b4dd0d860cf0.zip
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 'libFDK/src/FDK_core.cpp')
-rw-r--r--libFDK/src/FDK_core.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libFDK/src/FDK_core.cpp b/libFDK/src/FDK_core.cpp
index 6db648d..a706eb0 100644
--- a/libFDK/src/FDK_core.cpp
+++ b/libFDK/src/FDK_core.cpp
@@ -95,8 +95,13 @@ amm-info@iis.fraunhofer.de
#define FDK_TOOLS_LIB_VL1 3
#define FDK_TOOLS_LIB_VL2 2
#define FDK_TOOLS_LIB_TITLE "FDK Tools"
+#ifdef __ANDROID__
+#define FDK_TOOLS_LIB_BUILD_DATE ""
+#define FDK_TOOLS_LIB_BUILD_TIME ""
+#else
#define FDK_TOOLS_LIB_BUILD_DATE __DATE__
#define FDK_TOOLS_LIB_BUILD_TIME __TIME__
+#endif
int FDK_toolsGetLibInfo(LIB_INFO *info)
{