diff options
author | Tao Bao <tbao@google.com> | 2019-10-01 11:55:36 -0700 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2019-10-02 10:56:46 -0700 |
commit | e3f09a72f51df5abcf46a63de4a39ca5ed53698b (patch) | |
tree | 76c6fa3594480dafbd5b0ef7c032bf7258a017bb /recovery.cpp | |
parent | 36f72131ffa1d35709544ede4c758f7401807334 (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.cpp')
-rw-r--r-- | recovery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp index 4862dfcc..682ddbc4 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -55,12 +55,12 @@ #include "install/wipe_device.h" #include "otautil/boot_state.h" #include "otautil/error_code.h" -#include "otautil/logging.h" #include "otautil/paths.h" -#include "otautil/roots.h" #include "otautil/sysutil.h" #include "recovery_ui/screen_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* LAST_KMSG_FILE = "/cache/recovery/last_kmsg"; |