Implement updater runtime for dynamic partitions
The simulator skips executing the operations for dynamic partitions, and
will use the logical images under target_files/IMAGES directly. (Similar
to the targets without DAP enabled)
Bug: 131911365
Test: run update on cuttlefish, run simulator
Change-Id: Id318d97ece4560df9f20dc5cabeb8b2e261bdf9c
diff --git a/updater/Android.bp b/updater/Android.bp
index 93eeece..063366e 100644
--- a/updater/Android.bp
+++ b/updater/Android.bp
@@ -104,6 +104,7 @@
srcs: [
"dynamic_partitions.cpp",
"updater_runtime.cpp",
+ "updater_runtime_dynamic_partitions.cpp",
],
static_libs: [
@@ -129,6 +130,7 @@
srcs: [
"build_info.cpp",
+ "dynamic_partitions.cpp",
"simulator_runtime.cpp",
"target_files.cpp",
],