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

Side by Side Diff: build/config/mac/symbols.gni

Issue 2232943003: Partially revert 8b0cda7f8d3f9a4f1d53c78600fb0c62c7eec7f9. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 7
8 # This file declares arguments and configs that control whether dSYM debug 8 # This file declares arguments and configs that control whether dSYM debug
9 # info is produced and whether build products are stripped. 9 # info is produced and whether build products are stripped.
10 10
11 declare_args() { 11 declare_args() {
12 # Produce dSYM files for targets that are configured to do so. dSYM 12 # Produce dSYM files for targets that are configured to do so. dSYM
13 # generation is controlled globally as it is a linker output (produced via 13 # generation is controlled globally as it is a linker output (produced via
14 # the //build/toolchain/mac/linker_driver.py. Enabling this will result in 14 # the //build/toolchain/mac/linker_driver.py. Enabling this will result in
15 # all shared library, loadable module, and executable targets having a dSYM 15 # all shared library, loadable module, and executable targets having a dSYM
16 # generated. 16 # generated.
17 enable_dsyms = (is_official_build && is_chrome_branded) || using_sanitizer 17 enable_dsyms = is_official_build || using_sanitizer
18 18
19 # Strip symbols from linked targets by default. If this is enabled, the 19 # Strip symbols from linked targets by default. If this is enabled, the
20 # //build/config/mac:strip_all config will be applied to all linked targets. 20 # //build/config/mac:strip_all config will be applied to all linked targets.
21 # If custom stripping parameters are required, remove that config from a 21 # If custom stripping parameters are required, remove that config from a
22 # linked target and apply custom -Wcrl,strip flags. See 22 # linked target and apply custom -Wcrl,strip flags. See
23 # //build/toolchain/mac/linker_driver.py for more information. 23 # //build/toolchain/mac/linker_driver.py for more information.
24 enable_stripping = is_official_build && is_chrome_branded 24 enable_stripping = is_official_build
25 } 25 }
26 26
27 # Save unstripped copies of targets with a ".unstripped" suffix. This is 27 # Save unstripped copies of targets with a ".unstripped" suffix. This is
28 # useful to preserve the original output when enable_stripping=true but 28 # useful to preserve the original output when enable_stripping=true but
29 # we're not actually generating real dSYMs. 29 # we're not actually generating real dSYMs.
30 save_unstripped_output = enable_stripping && !enable_dsyms 30 save_unstripped_output = enable_stripping && !enable_dsyms
OLDNEW
« 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