OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chromecast_build.gni") | 7 import("//build/config/chromecast_build.gni") |
8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
9 import("//build/toolchain/goma.gni") | 9 import("//build/toolchain/goma.gni") |
10 import("//build/toolchain/toolchain.gni") | 10 import("//build/toolchain/toolchain.gni") |
(...skipping 16 matching lines...) Expand all Loading... | |
27 # with some utilities such as icecc and ccache. Requires gold and | 27 # with some utilities such as icecc and ccache. Requires gold and |
28 # gcc >= 4.8 or clang. | 28 # gcc >= 4.8 or clang. |
29 # http://gcc.gnu.org/wiki/DebugFission | 29 # http://gcc.gnu.org/wiki/DebugFission |
30 # | 30 # |
31 # This is a placeholder value indicating that the code below should set | 31 # This is a placeholder value indicating that the code below should set |
32 # the default. This is necessary to delay the evaluation of the default | 32 # the default. This is necessary to delay the evaluation of the default |
33 # value expression until after its input values such as use_gold have | 33 # value expression until after its input values such as use_gold have |
34 # been set, e.g. by a toolchain_args() block. | 34 # been set, e.g. by a toolchain_args() block. |
35 use_debug_fission = "default" | 35 use_debug_fission = "default" |
36 | 36 |
37 # AFDO (Automatic Feedback Directed Optimizer) is a form of profile-guided | |
38 # optimization that GCC supports. It used by ChromeOS in their official | |
39 # builds. To use it, set auto_profile_path to the path to a file containing | |
40 # the needed gcov profiling data. | |
41 auto_profile_path = "" | |
brettw
2016/09/27 23:52:41
This appears in a different declare_args block in
Dirk Pranke
2016/09/28 00:08:34
Oh, whoops, I forgot to back this change out. I di
| |
42 | |
37 # Tell VS to create a PDB that references information in .obj files rather | 43 # Tell VS to create a PDB that references information in .obj files rather |
38 # than copying it all. This should improve linker performance. mspdbcmf.exe | 44 # than copying it all. This should improve linker performance. mspdbcmf.exe |
39 # can be used to convert a fastlink pdb to a normal one. | 45 # can be used to convert a fastlink pdb to a normal one. |
40 is_win_fastlink = false | 46 is_win_fastlink = false |
41 | 47 |
42 # Specify the current PGO phase, only used for the Windows MSVS build. Here's | 48 # Specify the current PGO phase, only used for the Windows MSVS build. Here's |
43 # the different values that can be used: | 49 # the different values that can be used: |
44 # 0 : Means that PGO is turned off. | 50 # 0 : Means that PGO is turned off. |
45 # 1 : Used during the PGI (instrumentation) phase. | 51 # 1 : Used during the PGI (instrumentation) phase. |
46 # 2 : Used during the PGO (optimization) phase. | 52 # 2 : Used during the PGO (optimization) phase. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
95 # Mac and Windows have them separate, so in Release Linux, default them off, | 101 # Mac and Windows have them separate, so in Release Linux, default them off, |
96 # but keep them on for Official builds and Chromecast builds. | 102 # but keep them on for Official builds and Chromecast builds. |
97 symbol_level = 2 | 103 symbol_level = 2 |
98 } else if (using_sanitizer) { | 104 } else if (using_sanitizer) { |
99 # Sanitizers require symbols for filename suppressions to work. | 105 # Sanitizers require symbols for filename suppressions to work. |
100 symbol_level = 1 | 106 symbol_level = 1 |
101 } else { | 107 } else { |
102 symbol_level = 0 | 108 symbol_level = 0 |
103 } | 109 } |
104 } | 110 } |
OLD | NEW |