Add cli option to enable multi-threaded compression

Test: update_device.py --enable-threading, make sure threading is being
turned on

Change-Id: I1d0e5ab5c2e65cc48b5126fb186f770b68188351
diff --git a/payload_consumer/delta_performer.cc b/payload_consumer/delta_performer.cc
index e61870b..d5d5263 100644
--- a/payload_consumer/delta_performer.cc
+++ b/payload_consumer/delta_performer.cc
@@ -487,6 +487,18 @@
         partition.set_estimate_cow_size(new_cow_size + (1024 * 1024 * 8));
       }
     }
+    if (install_plan_->enable_threading) {
+      manifest_.mutable_dynamic_partition_metadata()
+          ->mutable_vabc_feature_set()
+          ->set_threaded(true);
+      LOG(INFO) << "Attempting to enable multi-threaded compression for VABC";
+    }
+    if (install_plan_->batched_writes) {
+      manifest_.mutable_dynamic_partition_metadata()
+          ->mutable_vabc_feature_set()
+          ->set_batch_writes(true);
+      LOG(INFO) << "Attempting to enable batched writes for VABC";
+    }
 
     // This populates |partitions_| and the |install_plan.partitions| with the
     // list of partitions from the manifest.