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

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

Issue 2513363003: repro for crbug.com/663886
Patch Set: Created 4 years, 1 month 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/android/adb_gdb ('k') | testing/android/native_test/BUILD.gn » ('j') | 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 4197228e9cc0245df2f030c1f106504140455001..c077f70ed1c4f248a7506fb218f5b72559e35690 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -71,7 +71,7 @@ declare_args() {
# 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 #is_android || is_ios
# Enable fatal linker warnings. Building Chromium with certain versions
# of binutils can cause linker warning.
@@ -237,6 +237,8 @@ config("compiler") {
defines += [ "CR_CLANG_REVISION=$clang_revision" ]
}
+ cflags += [ "-g" ]
+
# Non-Mac Posix compiler flags setup.
# -----------------------------------
if (is_posix && !(is_mac || is_ios)) {
« no previous file with comments | « build/android/adb_gdb ('k') | testing/android/native_test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698