Reapply "Compress debug info in clang builds with zstd"
This reverts commit 6d089b7de00a386904b4e11db6cf64ae22f6897c.
Test: m
Bug: 305277519
Change-Id: Iaa27fa0aae8ef624b403e905bfb04df15e380baf
diff --git a/cc/config/global.go b/cc/config/global.go
index 62b008b..be81b2e 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -133,6 +133,9 @@
// Using simple template names reduces the size of debug builds.
"-gsimple-template-names",
+ // Use zstd to compress debug data.
+ "-gz=zstd",
+
// Make paths in deps files relative.
"-no-canonical-prefixes",
}