Link to libsnapshot dynamically. am: 62b0c3c6c8
Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/2670281
Change-Id: Ib8f6dd3a7006b0afe2e339bef607a621293cddfa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 4edd1c9..2bff72c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -348,8 +348,6 @@
"libcutils",
"libfs_mgr_binder",
"libgsi",
- "libsnapshot",
- "libsnapshot_cow",
"libstatslog_ue",
"libz",
],
@@ -357,6 +355,7 @@
"libbootloader_message",
"libhidlbase",
"liblp",
+ "libsnapshot",
"libutils",
"android.hardware.boot@1.0",
"android.hardware.boot@1.1",
@@ -375,9 +374,11 @@
],
exclude_static_libs: [
"libfs_mgr_binder",
- "libsnapshot",
"libstatslog_ue"
],
+ exclude_shared_libs: [
+ "libsnapshot",
+ ],
},
},
}