Index: build/toolchain/linux/BUILD.gn |
diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn |
index 86cd7dabc6e86d22a266817dfbb3bf0c719f7992..3be5c36bca692d526d0bdba10a3b0c036922aca5 100644 |
--- a/build/toolchain/linux/BUILD.gn |
+++ b/build/toolchain/linux/BUILD.gn |
@@ -58,6 +58,9 @@ gcc_toolchain("arm") { |
} |
clang_toolchain("clang_x86") { |
+ # Output linker map files for binary size analysis. |
+ enable_linker_map = true |
+ |
toolchain_args = { |
current_cpu = "x86" |
current_os = "linux" |
@@ -89,6 +92,9 @@ gcc_toolchain("x86") { |
ar = "ar" |
ld = cxx |
+ # Output linker map files for binary size analysis. |
+ enable_linker_map = true |
+ |
toolchain_args = { |
current_cpu = "x86" |
current_os = "linux" |
@@ -97,6 +103,9 @@ gcc_toolchain("x86") { |
} |
clang_toolchain("clang_x64") { |
+ # Output linker map files for binary size analysis. |
+ enable_linker_map = true |
+ |
toolchain_args = { |
current_cpu = "x64" |
current_os = "linux" |
@@ -128,6 +137,9 @@ gcc_toolchain("x64") { |
ar = "ar" |
ld = cxx |
+ # Output linker map files for binary size analysis. |
+ enable_linker_map = true |
+ |
toolchain_args = { |
current_cpu = "x64" |
current_os = "linux" |