Don't link to libsnapshot dynamically.
Bug: 294151183
Test: treehugger
Change-Id: I3c09af708a4b393725b507e0dcae749b53278e87
diff --git a/Android.bp b/Android.bp
index 48a4bc3..4db429d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -342,6 +342,7 @@
"libcutils",
"libfs_mgr_binder",
"libgsi",
+ "libsnapshot_static",
"libstatslog_ue",
"libz",
],
@@ -349,7 +350,6 @@
"libbootloader_message",
"libhidlbase",
"liblp",
- "libsnapshot",
"libutils",
"android.hardware.boot@1.0",
"android.hardware.boot@1.1",
@@ -368,11 +368,9 @@
],
exclude_static_libs: [
"libfs_mgr_binder",
+ "libsnapshot_static",
"libstatslog_ue"
],
- exclude_shared_libs: [
- "libsnapshot",
- ],
},
},
}