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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2864383003: build: Enable optimize_for_size unconditionally. (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 183654cfd4e92aeeeca0f21255cb589b45f777a5..5216fec230f92058d3411b8b315a152b35fb7ef5 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -74,10 +74,7 @@ declare_args() {
(is_chromecast && !is_cast_desktop_build && !is_debug)
# If true, optimize for size. Does not affect windows builds.
- # Linux & Mac favor speed over size.
- # TODO(brettw) it's weird that Mac and desktop Linux are different. We should
- # explore favoring size over speed in this case as well.
- optimize_for_size = is_android || is_ios
+ optimize_for_size = true
# Enable fatal linker warnings. Building Chromium with certain versions
# of binutils can cause linker warning.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698