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

Side by Side Diff: build/config/compiler/compiler.gni

Issue 2785263003: Clarify the implications of symbol_level = 1 (Closed)
Patch Set: Created 3 years, 8 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 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/compiler/pgo/pgo.gni") 8 import("//build/config/compiler/pgo/pgo.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 import("//build/toolchain/goma.gni") 10 import("//build/toolchain/goma.gni")
11 import("//build/toolchain/toolchain.gni") 11 import("//build/toolchain/toolchain.gni")
12 import("//build_overrides/build.gni") 12 import("//build_overrides/build.gni")
13 13
14 declare_args() { 14 declare_args() {
15 # How many symbols to include in the build. This affects the performance of 15 # How many symbols to include in the build. This affects the performance of
16 # the build since the symbols are large and dealing with them is slow. 16 # the build since the symbols are large and dealing with them is slow.
17 # 2 means regular build with symbols. 17 # 2 means regular build with symbols.
18 # 1 means minimal symbols, usually enough for backtraces only. 18 # 1 means minimal symbols, usually enough for backtraces only. Symbols with
19 # internal linkage (static functions or those in anonymous namespaces) may not
20 # appear when using this level.
19 # 0 means no symbols. 21 # 0 means no symbols.
20 # -1 means auto-set according to debug/release and platform. 22 # -1 means auto-set according to debug/release and platform.
21 symbol_level = -1 23 symbol_level = -1
22 24
23 # Compile in such a way as to enable profiling of the generated code. For 25 # Compile in such a way as to enable profiling of the generated code. For
24 # example, don't omit the frame pointer and leave in symbols. 26 # example, don't omit the frame pointer and leave in symbols.
25 enable_profiling = false 27 enable_profiling = false
26 28
27 # use_debug_fission: whether to use split DWARF debug info 29 # use_debug_fission: whether to use split DWARF debug info
28 # files. This can reduce link time significantly, but is incompatible 30 # files. This can reduce link time significantly, but is incompatible
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 127 }
126 128
127 # Assert that the configuration isn't going to hit https://crbug.com/648948. 129 # Assert that the configuration isn't going to hit https://crbug.com/648948.
128 assert(ignore_elf32_limitations || !is_android || 130 assert(ignore_elf32_limitations || !is_android ||
129 (android_64bit_target_cpu && !build_apk_secondary_abi) || 131 (android_64bit_target_cpu && !build_apk_secondary_abi) ||
130 is_component_build || symbol_level < 2, 132 is_component_build || symbol_level < 2,
131 "Android 32-bit non-component builds cannot have symbol_level=2 " + 133 "Android 32-bit non-component builds cannot have symbol_level=2 " +
132 "due to 4GiB file size limit, see https://crbug.com/648948. " + 134 "due to 4GiB file size limit, see https://crbug.com/648948. " +
133 "If you really want to try this out, " + 135 "If you really want to try this out, " +
134 "set ignore_elf32_limitations=true.") 136 "set ignore_elf32_limitations=true.")
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