From 2e93eda69cf20d9c04d56ea6bf1e2ea62ad62eb4 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 15 Aug 2017 07:58:20 -0700 Subject: [PATCH] Don't include the build number in the adbd binary. We want repeatable builds for minimal OTAs. Bug: http://b/64634017 Bug: 64709603 (presubmit balking at the line above) Test: repeated builds after `touch daemon/main.cpp` keep same md5sum Change-Id: Iedeb44377ea45bbf20e2212760802198a57dc14a --- adb/daemon/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adb/daemon/main.cpp b/adb/daemon/main.cpp index e0629abdd..3ecbc44f2 100644 --- a/adb/daemon/main.cpp +++ b/adb/daemon/main.cpp @@ -239,8 +239,8 @@ int main(int argc, char** argv) { adb_device_banner = optarg; break; case 'v': - printf("Android Debug Bridge Daemon version %d.%d.%d (%s)\n", ADB_VERSION_MAJOR, - ADB_VERSION_MINOR, ADB_SERVER_VERSION, ADB_VERSION); + printf("Android Debug Bridge Daemon version %d.%d.%d\n", ADB_VERSION_MAJOR, + ADB_VERSION_MINOR, ADB_SERVER_VERSION); return 0; default: // getopt already prints "adbd: invalid option -- %c" for us.