From 9027af0d406a7ee4f285f55ed58ba227df268243 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Mon, 24 Sep 2018 15:48:09 -0700 Subject: fastboot: remove engine.cpp/engine.h Replace the remnants of engine.cpp with better functionality in FastBootDriver. Particularly, add prolog() and epilog() callbacks to FastBootDriver for printing actions and their result to the console. Then clean up the rest of fastboot.cpp to directly use FastBootDriver. Test: fastboot works Change-Id: I0ff01d6a10f75e9dc1c82b46c6e9bb3bc4c68638 --- fastboot/util.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fastboot/util.cpp') diff --git a/fastboot/util.cpp b/fastboot/util.cpp index 7d15047ff..d02b37fee 100644 --- a/fastboot/util.cpp +++ b/fastboot/util.cpp @@ -69,8 +69,3 @@ void verbose(const char* fmt, ...) { } fprintf(stderr, "\n"); } - -void Status(const std::string& message) { - static constexpr char kStatusFormat[] = "%-50s "; - fprintf(stderr, kStatusFormat, message.c_str()); -} -- cgit v1.2.3