OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/chrome_build.gni") | |
6 | |
7 # This file declares arguments and configs that control whether dSYM debug | |
8 # info is produced and whether build products are stripped. | |
9 | |
10 declare_args() { | |
11 # Produce dSYM files for targets that are configured to do so. By default, | |
12 # symbol information is retained in the object files because dsymutil is | |
13 # very slow. Targets interested in having a dSYM file produced can use the | |
14 # //build/config/mac:dsym config. | |
15 enable_dsyms = is_official_build | |
16 | |
17 # Strip symbols from targets that are configured to do so. This should be | |
18 # used in conjuction with enable_dsyms to ensure that debug information | |
19 # remains available. The linker driver will produce any dSYMs before | |
20 # invoking strip. Targets that do not want to keep symbols can use the | |
21 # //build/config/mac:strip_all config. If targets wish to use a saves file, | |
22 # they should add the ldflags themselves, conditional on this argument. | |
23 enable_stripping = is_official_build | |
Mark Mentovai
2016/05/20 15:42:41
The big problem I see here now is that ordinary “R
Robert Sesek
2016/05/20 19:09:55
verify_order runs independent of this flag. It's r
| |
24 } | |
OLD | NEW |