summaryrefslogtreecommitdiff
path: root/recovery_main.cpp
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-03-22 16:08:52 -0700
committerxunchang <xunchang@google.com>2019-03-29 10:27:51 -0700
commit2478885f3ca47fe2c4073df1100f7bd6ad4931af (patch)
tree7bad452d0d5b0ae6eca9adf18c7bf8b8966a318f /recovery_main.cpp
parent50bda24f1eb7b2f847b72b7ba3ffaae41eaef7d2 (diff)
Move install to separate module
Build libinstall as a shared library. Also drop the dependency on the global variables in common.h. Test: unit tests pass, sideload an OTA Change-Id: I30a20047768ce00689fc0e7851c1c5d712a365a0
Diffstat (limited to 'recovery_main.cpp')
-rw-r--r--recovery_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index 2f5a1845..56ebe16f 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -53,12 +53,12 @@
#include "logging.h"
#include "minadbd/minadbd.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 "roots.h"
static constexpr const char* COMMAND_FILE = "/cache/recovery/command";
static constexpr const char* LOCALE_FILE = "/cache/recovery/last_locale";