[incremental] use vold to mount/unmount IncrementalFileSystem
Let vold mount IncFs onto directories under data and open control files.
Test: builds
Change-Id: Ibd96aae254b4fefaf56c9d549c4672a987c46221
diff --git a/Android.bp b/Android.bp
index 452746c..8d88e5f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -54,6 +54,7 @@
"libf2fs_sparseblock",
"libhardware",
"libhardware_legacy",
+ "libincfs",
"libhidlbase",
"libkeymaster4support",
"libkeyutils",
@@ -78,9 +79,15 @@
],
aidl: {
local_include_dirs: ["binder"],
- include_dirs: ["frameworks/native/aidl/binder"],
+ include_dirs: [
+ "frameworks/native/aidl/binder",
+ "frameworks/base/core/java/android/os/incremental",
+ ],
export_aidl_headers: true,
},
+ whole_static_libs: [
+ "libincremental_aidl-cpp",
+ ],
}
cc_library_headers {