Revert "Revert "Expose extent_ranges for libsnapshot to use in resolving...""
This reverts commit 5ef2d8ae7bc8ccd03ea8fc19e3e0b9a11f1dfeaf.
Reason for revert: re-landing
Change-Id: If9d055e67158f003ba4aa05f170b90844948e2b4
diff --git a/Android.bp b/Android.bp
index e5f0dd8..95de8b2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -469,6 +469,20 @@
}
cc_library_static {
+ name: "libpayload_extent_ranges",
+ defaults: [
+ "ue_defaults",
+ ],
+ host_supported: true,
+ srcs: [
+ "payload_generator/extent_ranges.cc",
+ ],
+ static_libs: [
+ "update_metadata-protos",
+ ],
+}
+
+cc_library_static {
name: "libpayload_generator",
defaults: [
"ue_defaults",
@@ -739,4 +753,5 @@
apex_available: [
"com.android.gki.*",
],
+ host_supported: true,
}