summaryrefslogtreecommitdiff
path: root/recovery_main.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-10-01 11:55:36 -0700
committerTao Bao <tbao@google.com>2019-10-02 10:56:46 -0700
commite3f09a72f51df5abcf46a63de4a39ca5ed53698b (patch)
tree76c6fa3594480dafbd5b0ef7c032bf7258a017bb /recovery_main.cpp
parent36f72131ffa1d35709544ede4c758f7401807334 (diff)
otautil: Factor out the utils that're private to recovery.
A number of utility functions are intended for serving recovery's own use. Exposing them via libotautil (which is a static lib) would pass the dependencies onto libotautil's users (e.g. recovery image, updater, host simulator, device-specific recovery UI/updater extensions etc). This CL finds a new home for the utils that are private to recovery. Test: mmma bootable/recovery Change-Id: I575e97ad099b85fe1c1c8c7c9458a5a43d4e11e1
Diffstat (limited to 'recovery_main.cpp')
-rw-r--r--recovery_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index a04c1bba..89253dcd 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -51,14 +51,14 @@
#include "fastboot/fastboot.h"
#include "install/wipe_data.h"
#include "otautil/boot_state.h"
-#include "otautil/logging.h"
#include "otautil/paths.h"
-#include "otautil/roots.h"
#include "otautil/sysutil.h"
#include "recovery.h"
#include "recovery_ui/device.h"
#include "recovery_ui/stub_ui.h"
#include "recovery_ui/ui.h"
+#include "recovery_utils/logging.h"
+#include "recovery_utils/roots.h"
static constexpr const char* COMMAND_FILE = "/cache/recovery/command";
static constexpr const char* LOCALE_FILE = "/cache/recovery/last_locale";