Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e93eda6 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

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
parent f7ad6222
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -239,8 +239,8 @@ int main(int argc, char** argv) {
            adb_device_banner = optarg;
            adb_device_banner = optarg;
            break;
            break;
        case 'v':
        case 'v':
            printf("Android Debug Bridge Daemon version %d.%d.%d (%s)\n", ADB_VERSION_MAJOR,
            printf("Android Debug Bridge Daemon version %d.%d.%d\n", ADB_VERSION_MAJOR,
                   ADB_VERSION_MINOR, ADB_SERVER_VERSION, ADB_VERSION);
                   ADB_VERSION_MINOR, ADB_SERVER_VERSION);
            return 0;
            return 0;
        default:
        default:
            // getopt already prints "adbd: invalid option -- %c" for us.
            // getopt already prints "adbd: invalid option -- %c" for us.