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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 1967103002: android: make exclude_unwind_tables depend only on is_official_build Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/nacl/config.gni") 8 import("//build/config/nacl/config.gni")
9 import("//build/toolchain/cc_wrapper.gni") 9 import("//build/toolchain/cc_wrapper.gni")
10 import("//build/toolchain/toolchain.gni") 10 import("//build/toolchain/toolchain.gni")
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 if (is_win) { 70 if (is_win) {
71 # Whether the VS xtree header has been patched to disable warning 4702. If 71 # Whether the VS xtree header has been patched to disable warning 4702. If
72 # it has, then we don't need to disable 4702 (unreachable code warning). 72 # it has, then we don't need to disable 4702 (unreachable code warning).
73 # The patch is preapplied to the internal toolchain and hence all bots. 73 # The patch is preapplied to the internal toolchain and hence all bots.
74 msvs_xtree_patched = false 74 msvs_xtree_patched = false
75 } 75 }
76 76
77 # Omit unwind support in official builds to save space. 77 # Omit unwind support in official builds to save space.
78 # We can use breakpad for these builds. 78 # We can use breakpad for these builds.
79 exclude_unwind_tables = is_chrome_branded && is_official_build 79 exclude_unwind_tables = is_official_build
80 80
81 # If true, gold linker will save symbol table inside object files. 81 # If true, gold linker will save symbol table inside object files.
82 # This speeds up gdb startup by 60% 82 # This speeds up gdb startup by 60%
83 gdb_index = false 83 gdb_index = false
84 84
85 # If true, optimize for size. Does not affect windows builds. 85 # If true, optimize for size. Does not affect windows builds.
86 # Linux & Mac favor speed over size. 86 # Linux & Mac favor speed over size.
87 # TODO(brettw) it's weird that Mac and desktop Linux are different. We should 87 # TODO(brettw) it's weird that Mac and desktop Linux are different. We should
88 # explore favoring size over speed in this case as well. 88 # explore favoring size over speed in this case as well.
89 optimize_for_size = is_android || is_ios 89 optimize_for_size = is_android || is_ios
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 1453
1454 if (is_ios || is_mac) { 1454 if (is_ios || is_mac) {
1455 # On Mac and iOS, this enables support for ARC (automatic ref-counting). 1455 # On Mac and iOS, this enables support for ARC (automatic ref-counting).
1456 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. 1456 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html.
1457 config("enable_arc") { 1457 config("enable_arc") {
1458 common_flags = [ "-fobjc-arc" ] 1458 common_flags = [ "-fobjc-arc" ]
1459 cflags_objc = common_flags 1459 cflags_objc = common_flags
1460 cflags_objcc = common_flags 1460 cflags_objcc = common_flags
1461 } 1461 }
1462 } 1462 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698