diff options
author | Tom Cherry <tomcherry@google.com> | 2018-09-24 15:48:09 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-09-25 14:32:56 -0700 |
commit | 9027af0d406a7ee4f285f55ed58ba227df268243 (patch) | |
tree | 4eba611a60f03c6987c8a0122e07e5f8c035606c /fastboot/util.cpp | |
parent | 4aa60b382cf758ac366045b7d2efd3b2f68bd659 (diff) |
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
Diffstat (limited to 'fastboot/util.cpp')
-rw-r--r-- | fastboot/util.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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()); -} |