Add parser for EROFS file data

This CL parses file names and compression info from input EROFS image,
so that OTA generation can use it later.

Test: th
Test: Generate an incremental OTA with erofs images, make sure we see
file lists.
Bug: 206729162

Change-Id: I70536d7762acc19a6977460738065d5557338532
diff --git a/Android.bp b/Android.bp
index 19026ac..2a6b2a4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -531,6 +531,7 @@
     defaults: [
         "libpayload_consumer_exports",
         "update_metadata-protos_exports",
+        "erofs-utils_export_defaults",
     ],
 
     header_libs: [
@@ -550,10 +551,15 @@
         "update_metadata-protos",
         "libpayload_extent_utils",
         "libcow_size_estimator",
+        "liberofs",
+        "lz4diff-protos",
     ],
     shared_libs: [
         "libbase",
         "libext2fs",
+        // LZ4 has to be a shared lib, as we want to override it with
+        // LD_LIBRARY_PRELOAD later
+        "liblz4",
     ],
 }
 
@@ -612,6 +618,7 @@
         "payload_generator/delta_diff_generator.cc",
         "payload_generator/delta_diff_utils.cc",
         "payload_generator/ext2_filesystem.cc",
+        "payload_generator/erofs_filesystem.cc",
         "payload_generator/extent_ranges.cc",
         "payload_generator/full_update_generator.cc",
         "payload_generator/mapfile_filesystem.cc",