DynamicPartitionControl: map snapshot devices for virt ab
Bug: 138816109
Test: apply OTA on Virtual A/B devices
Test: update_engine_unittests
Change-Id: I23263624afb370d122d5aed5c3a9bf48a1a3d8fc
diff --git a/Android.bp b/Android.bp
index 4640cb2..1be0d63 100644
--- a/Android.bp
+++ b/Android.bp
@@ -191,7 +191,10 @@
name: "libupdate_engine_boot_control_exports",
defaults: ["update_metadata-protos_exports"],
- static_libs: ["update_metadata-protos"],
+ static_libs: [
+ "libsnapshot",
+ "update_metadata-protos",
+ ],
shared_libs: [
"libbootloader_message",
"libfs_mgr",
@@ -200,6 +203,12 @@
"libutils",
"android.hardware.boot@1.0",
],
+ target: {
+ recovery: {
+ static_libs: ["libsnapshot_nobinder"],
+ exclude_static_libs: ["libsnapshot"],
+ },
+ },
}
cc_library_static {