am 35907067: am e89dd69c: Merge "Pack META/ab_partitions.txt when using the A/B OTA updater."

* commit '3590706735ac41b6956ef07de20cac3994a046f2':
  Pack META/ab_partitions.txt when using the A/B OTA updater.
diff --git a/core/Makefile b/core/Makefile
index 3c7d4a9..9c5f04b 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1597,6 +1597,9 @@
 ifeq ($(AB_OTA_UPDATER),true)
 	@# When using the A/B updater, include the updater config files in the zip.
 	$(hide) $(ACP) $(TOPDIR)system/update_engine/update_engine.conf $(zip_root)/META/update_engine_config.txt
+	$(hide) for part in $(UPDATE_AB_PARTITIONS); do \
+	  echo "$${part}" >> $(zip_root)/META/ab_partitions.txt; \
+	done
 endif
 ifeq ($(BREAKPAD_GENERATE_SYMBOLS),true)
 	@# If breakpad symbols have been generated, add them to the zip.