Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: build/toolchain/linux/BUILD.gn

Issue 2726983004: Output a linker map file for official builds (Closed)
Patch Set: linux Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | build/toolchain/wrapper_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | build/toolchain/wrapper_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698