Loading fs_mgr/libfiemap/fiemap_writer_test.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <sys/vfs.h> #include <unistd.h> #include <cstring> #include <string> #include <utility> Loading Loading @@ -518,7 +519,8 @@ class FsTest : public ::testing::Test { ASSERT_EQ(ret, 0); // mount the file system ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint_.c_str(), "f2fs", 0, nullptr), 0); ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint_.c_str(), "f2fs", 0, nullptr), 0) << strerror(errno); } void TearDown() override { Loading fs_mgr/libsnapshot/Android.bp +22 −4 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ cc_library_headers { } cc_library_static { name: "libsnapshot", name: "libsnapshot_static", defaults: [ "libsnapshot_defaults", "libsnapshot_hal_deps", Loading @@ -112,6 +112,25 @@ cc_library_static { ], } cc_library { name: "libsnapshot", defaults: [ "libsnapshot_defaults", "libsnapshot_cow_defaults", "libsnapshot_hal_deps", ], srcs: [":libsnapshot_sources"], shared_libs: [ "libfs_mgr_binder", "liblp", "libprotobuf-cpp-lite", ], static_libs: [ "libc++fs", "libsnapshot_cow", ] } cc_library_static { name: "libsnapshot_init", native_coverage : true, Loading Loading @@ -247,7 +266,7 @@ cc_defaults { "libgsi", "libgmock", "liblp", "libsnapshot", "libsnapshot_static", "libsnapshot_cow", "libsnapshot_test_helpers", "libsparse", Loading Loading @@ -330,8 +349,6 @@ cc_binary { "libbrotli", "libc++fs", "libfstab", "libsnapshot", "libsnapshot_cow", "libz", "update_metadata-protos", ], Loading @@ -344,6 +361,7 @@ cc_binary { "liblog", "liblp", "libprotobuf-cpp-lite", "libsnapshot", "libstatslog", "libutils", ], Loading Loading
fs_mgr/libfiemap/fiemap_writer_test.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <sys/vfs.h> #include <unistd.h> #include <cstring> #include <string> #include <utility> Loading Loading @@ -518,7 +519,8 @@ class FsTest : public ::testing::Test { ASSERT_EQ(ret, 0); // mount the file system ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint_.c_str(), "f2fs", 0, nullptr), 0); ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint_.c_str(), "f2fs", 0, nullptr), 0) << strerror(errno); } void TearDown() override { Loading
fs_mgr/libsnapshot/Android.bp +22 −4 Original line number Diff line number Diff line Loading @@ -101,7 +101,7 @@ cc_library_headers { } cc_library_static { name: "libsnapshot", name: "libsnapshot_static", defaults: [ "libsnapshot_defaults", "libsnapshot_hal_deps", Loading @@ -112,6 +112,25 @@ cc_library_static { ], } cc_library { name: "libsnapshot", defaults: [ "libsnapshot_defaults", "libsnapshot_cow_defaults", "libsnapshot_hal_deps", ], srcs: [":libsnapshot_sources"], shared_libs: [ "libfs_mgr_binder", "liblp", "libprotobuf-cpp-lite", ], static_libs: [ "libc++fs", "libsnapshot_cow", ] } cc_library_static { name: "libsnapshot_init", native_coverage : true, Loading Loading @@ -247,7 +266,7 @@ cc_defaults { "libgsi", "libgmock", "liblp", "libsnapshot", "libsnapshot_static", "libsnapshot_cow", "libsnapshot_test_helpers", "libsparse", Loading Loading @@ -330,8 +349,6 @@ cc_binary { "libbrotli", "libc++fs", "libfstab", "libsnapshot", "libsnapshot_cow", "libz", "update_metadata-protos", ], Loading @@ -344,6 +361,7 @@ cc_binary { "liblog", "liblp", "libprotobuf-cpp-lite", "libsnapshot", "libstatslog", "libutils", ], Loading