summaryrefslogtreecommitdiffstats
path: root/fastboot/main.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-09-24 15:48:09 -0700
committerTom Cherry <tomcherry@google.com>2018-09-25 14:32:56 -0700
commit9027af0d406a7ee4f285f55ed58ba227df268243 (patch)
tree4eba611a60f03c6987c8a0122e07e5f8c035606c /fastboot/main.cpp
parent4aa60b382cf758ac366045b7d2efd3b2f68bd659 (diff)
downloadsystem_core-9027af0d406a7ee4f285f55ed58ba227df268243.tar.gz
system_core-9027af0d406a7ee4f285f55ed58ba227df268243.tar.bz2
system_core-9027af0d406a7ee4f285f55ed58ba227df268243.zip
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/main.cpp')
-rw-r--r--fastboot/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/main.cpp b/fastboot/main.cpp
index c3683f737..35f421894 100644
--- a/fastboot/main.cpp
+++ b/fastboot/main.cpp
@@ -26,7 +26,7 @@
* SUCH DAMAGE.
*/
-#include "engine.h"
+#include "fastboot.h"
int main(int argc, char* argv[]) {
FastBootTool fb;