Implement vendor-available vold interface
Bug: 362567323
Test: mmm system/vold
Change-Id: I967faeb221741cbd8d6c13b25cd57c37fbb6e839
diff --git a/Android.bp b/Android.bp
index ba3267c..1eeb1a1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,6 +43,7 @@
"libfs_mgr",
"libsquashfs_utils",
"libvold_binder",
+ "android.system.vold-V1-cpp",
],
shared_libs: [
"android.hardware.boot@1.0",
@@ -103,6 +104,11 @@
export_include_dirs: ["."],
}
+vintf_fragment {
+ name: "android.system.vold-service.xml",
+ src: "android.system.vold-service.xml",
+}
+
// Static library factored out to support testing
cc_library_static {
name: "libvold",
@@ -132,6 +138,7 @@
"NetlinkManager.cpp",
"Process.cpp",
"Utils.cpp",
+ "VendorVoldNativeService.cpp",
"VoldNativeService.cpp",
"VoldNativeServiceValidation.cpp",
"VoldUtil.cpp",
@@ -198,6 +205,7 @@
],
},
},
+ vintf_fragment_modules: ["android.system.vold-service.xml"],
}
cc_binary {