Merge changes I6c35d2e4,If16c3e19

* changes:
  Move mounts.cpp from libotautil into libupdater.
  otautil: roots.cpp no longer needs 'mounts.h'.
This commit is contained in:
Tao Bao 2019-10-01 21:18:42 +00:00 committed by Gerrit Code Review
commit c3f32b95e5
8 changed files with 4 additions and 6 deletions

View file

@ -44,7 +44,6 @@ cc_library_static {
android: {
srcs: [
"logging.cpp",
"mounts.cpp",
"parse_install_logs.cpp",
"roots.cpp",
"thermalutil.cpp",

View file

@ -42,7 +42,6 @@
#include <fs_mgr/roots.h>
#include <fs_mgr_dm_linear.h>
#include "otautil/mounts.h"
#include "otautil/sysutil.h"
using android::fs_mgr::Fstab;

View file

@ -81,6 +81,7 @@ cc_library_static {
"blockimg.cpp",
"commands.cpp",
"install.cpp",
"mounts.cpp",
"updater.cpp",
],

View file

@ -60,7 +60,6 @@
#include "edify/updater_runtime_interface.h"
#include "otautil/dirutil.h"
#include "otautil/error_code.h"
#include "otautil/mounts.h"
#include "otautil/print_sha1.h"
#include "otautil/sysutil.h"

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "otautil/mounts.h"
#include "mounts.h"
#include <errno.h>
#include <fcntl.h>

View file

@ -32,7 +32,7 @@
#include <ext4_utils/wipe.h>
#include <selinux/label.h>
#include "otautil/mounts.h"
#include "mounts.h"
#include "otautil/sysutil.h"
std::string SimulatorRuntime::GetProperty(const std::string_view key,

View file

@ -31,7 +31,7 @@
#include <selinux/label.h>
#include <tune2fs.h>
#include "otautil/mounts.h"
#include "mounts.h"
#include "otautil/sysutil.h"
std::string UpdaterRuntime::GetProperty(const std::string_view key,