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

Unified Diff: tools/binary_size/diagnose_bloat.py

Issue 2888623003: Use a GN arg for controlling linker map file generation. (Closed)
Patch Set: agrieve comments Created 3 years, 7 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/toolchain.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/diagnose_bloat.py
diff --git a/tools/binary_size/diagnose_bloat.py b/tools/binary_size/diagnose_bloat.py
index d71c6b6ddaae18e9990cbb7ca2ec79edf5403e4f..edaeb30ef09cd2568307c61d88f191091e7e4509 100755
--- a/tools/binary_size/diagnose_bloat.py
+++ b/tools/binary_size/diagnose_bloat.py
@@ -248,6 +248,8 @@ class _BuildHelper(object):
else:
self.extra_gn_args_str = (' exclude_unwind_tables=true '
'ffmpeg_branding="Chrome" proprietary_codecs=true')
+ if self.IsLinux():
+ self.extra_gn_args_str += ' allow_posix_link_time_opt=false'
self.target = self.target if self.IsAndroid() else 'chrome'
def _GenGnCmd(self):
« no previous file with comments | « build/toolchain/toolchain.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698