service: sysroot: Add support to archive entire sysroot
Add support to archive the entire sysroot.
BUG=b:273598014
TEST=run_tests service/sysroot_unittest.py
Change-Id: I276131eff56d0cf7f455c3ec18f688880c2e0dd4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4355326
Reviewed-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Ram Chandrasekar <rchandrasekar@google.com>
Tested-by: Ram Chandrasekar <rchandrasekar@google.com>
diff --git a/api/controller/sysroot_unittest.py b/api/controller/sysroot_unittest.py
index eb5f65b..6d75e5d 100644
--- a/api/controller/sysroot_unittest.py
+++ b/api/controller/sysroot_unittest.py
@@ -202,6 +202,7 @@
common_pb2.ArtifactsByService.Sysroot.ArtifactType.BREAKPAD_DEBUG_SYMBOLS: sysroot_service.BundleBreakpadSymbols,
common_pb2.ArtifactsByService.Sysroot.ArtifactType.DEBUG_SYMBOLS: sysroot_service.BundleDebugSymbols,
common_pb2.ArtifactsByService.Sysroot.ArtifactType.FUZZER_SYSROOT: sysroot_service.CreateFuzzerSysroot,
+ common_pb2.ArtifactsByService.Sysroot.ArtifactType.SYSROOT_ARCHIVE: sysroot_service.ArchiveSysroot,
}
# pylint: enable=line-too-long