Reapply "Use zstd to compress debug info in rust libraries"
This reverts commit 99d682ad4a
.
Test: m
Bug: 305277519
Change-Id: I33c951265229d9f65670760c2255625ef3226707
This commit is contained in:
@@ -65,6 +65,7 @@ var (
|
|||||||
"-lpthread",
|
"-lpthread",
|
||||||
"-lm",
|
"-lm",
|
||||||
"-lgcc_s",
|
"-lgcc_s",
|
||||||
|
"-Wl,--compress-debug-sections=zstd",
|
||||||
}
|
}
|
||||||
|
|
||||||
deviceGlobalRustFlags = []string{
|
deviceGlobalRustFlags = []string{
|
||||||
@@ -86,6 +87,7 @@ var (
|
|||||||
"-Wl,--use-android-relr-tags",
|
"-Wl,--use-android-relr-tags",
|
||||||
"-Wl,--no-undefined",
|
"-Wl,--no-undefined",
|
||||||
"-B${cc_config.ClangBin}",
|
"-B${cc_config.ClangBin}",
|
||||||
|
"-Wl,--compress-debug-sections=zstd",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user