From 27556d089f8496c2acb72182ce7add94938eb749 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Wed, 22 May 2019 14:48:35 -0700 Subject: Some clean ups to the updater Remove some unnecessary includes or forward declarations. And include the correct headers to build host executables. Bug: 131911365 Test: unit tests pass Change-Id: I62e75f60678159fe24619a4bd386b1416f1a5b5d --- updater/include/updater/updater.h | 4 ---- updater/include/updater/updater_runtime.h | 1 - 2 files changed, 5 deletions(-) (limited to 'updater/include') diff --git a/updater/include/updater/updater.h b/updater/include/updater/updater.h index 7bbecbc57..08816bf36 100644 --- a/updater/include/updater/updater.h +++ b/updater/include/updater/updater.h @@ -30,15 +30,11 @@ #include "otautil/error_code.h" #include "otautil/sysutil.h" -class UpdaterRuntime; - class Updater : public UpdaterInterface { public: explicit Updater(std::unique_ptr run_time) : runtime_(std::move(run_time)) {} - Updater(); - ~Updater() override; // Memory-maps the OTA package and opens it as a zip file. Also sets up the command pipe and diff --git a/updater/include/updater/updater_runtime.h b/updater/include/updater/updater_runtime.h index 6cd0ffb48..e97eb49b1 100644 --- a/updater/include/updater/updater_runtime.h +++ b/updater/include/updater/updater_runtime.h @@ -25,7 +25,6 @@ #include "edify/updater_runtime_interface.h" struct selabel_handle; -struct Partition; class UpdaterRuntime : public UpdaterRuntimeInterface { public: -- cgit v1.2.3