Description: just hard code rather than deal with circular deps
Forwarded: not-needed
--- a/packages/modules/adb/adb.cpp
+++ b/packages/modules/adb/adb.cpp
@@ -47,9 +47,6 @@
 #include <android-base/utf8.h>
 #include <diagnose_usb.h>
 
-#include <build/version.h>
-#include <platform_tools_version.h>
-
 #include "adb_auth.h"
 #include "adb_io.h"
 #include "adb_listeners.h"
@@ -100,7 +97,7 @@
             "Installed as %s\n"
             "Running on %s\n",
             ADB_VERSION_MAJOR, ADB_VERSION_MINOR, ADB_SERVER_VERSION, PLATFORM_TOOLS_VERSION,
-            android::build::GetBuildNumber().c_str(), android::base::GetExecutablePath().c_str(),
+            "debian", android::base::GetExecutablePath().c_str(),
             GetOSVersion().c_str());
 }
 
--- a/system/core/fastboot/fastboot.cpp
+++ b/system/core/fastboot/fastboot.cpp
@@ -64,11 +64,9 @@
 #include <android-base/stringprintf.h>
 #include <android-base/strings.h>
 #include <android-base/unique_fd.h>
-#include <build/version.h>
 #include <libavb/libavb.h>
 #include <liblp/liblp.h>
 #include <liblp/super_layout_builder.h>
-#include <platform_tools_version.h>
 #include <sparse/sparse.h>
 #include <ziparchive/zip_archive.h>
 
@@ -1962,8 +1960,7 @@
                 setvbuf(stdout, nullptr, _IONBF, 0);
                 setvbuf(stderr, nullptr, _IONBF, 0);
             } else if (name == "version") {
-                fprintf(stdout, "fastboot version %s-%s\n", PLATFORM_TOOLS_VERSION,
-                        android::build::GetBuildNumber().c_str());
+                fprintf(stdout, "fastboot version %s-%s\n", PLATFORM_TOOLS_VERSION, "debian");
                 fprintf(stdout, "Installed as %s\n", android::base::GetExecutablePath().c_str());
                 return 0;
             } else {
