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
This commit is contained in:
Tao Bao
2019-10-01 11:55:36 -07:00
parent 36f72131ff
commit e3f09a72f5
22 changed files with 92 additions and 50 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
#include <android-base/strings.h>
#include <gtest/gtest.h>
#include "otautil/parse_install_logs.h"
#include "recovery_utils/parse_install_logs.h"
TEST(ParseInstallLogsTest, EmptyFile) {
TemporaryFile last_install;