Add option to enable zucchini

Test: th
Bug: 194237829

Change-Id: Ie3ddf889e6b02165039eb155c457832e0eb7c13a
diff --git a/scripts/brillo_update_payload b/scripts/brillo_update_payload
index 2f5ef22..2628286 100755
--- a/scripts/brillo_update_payload
+++ b/scripts/brillo_update_payload
@@ -212,6 +212,8 @@
     "Optional: Override the minor version for the delta generation."
   DEFINE_string compressor_types "" \
     "Optional: allowed compressor types. Colon separated, allowe values are bz2 and brotli"
+  DEFINE_string enable_zucchini "" \
+    "Optional: Whether to enable zucchini diffing"
 fi
 if [[ "${COMMAND}" == "hash" || "${COMMAND}" == "sign" ]]; then
   DEFINE_string unsigned_payload "" "Path to the input unsigned payload."
@@ -723,6 +725,10 @@
       GENERATOR_ARGS+=(
         --compressor_types="${FLAGS_compressor_types}" )
     fi
+    if [[ -n "${FLAGS_enable_zucchini}" ]]; then
+      GENERATOR_ARGS+=(
+        --enable_zucchini="${FLAGS_enable_zucchini}" )
+    fi
   fi
 
   if [[ -n "${FLAGS_enable_vabc_xor}" ]]; then