CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: added .signature
[ports/opt-arm.git] / chromium / chromium-exclude_unwind_tables.patch
1 diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
2 index ad40fd9..50e19a4 100644
3 --- a/build/config/compiler/compiler.gni
4 +++ b/build/config/compiler/compiler.gni
5 @@ -68,19 +68,19 @@
6
7 # Whether or not we should use position independent code.
8 use_pic = true
9 +
10 + # Exclude unwind tables for official builds as unwinding can be done from
11 + # stack dumps produced by Crashpad at a later time "offline" in the crash
12 + # server. For unofficial (e.g. development) builds and non-Chrome branded
13 + # (e.g. Cronet which doesn't use Crashpad, crbug.com/479283) builds it's
14 + # useful to be able to unwind at runtime.
15 + exclude_unwind_tables =
16 + (is_chrome_branded && is_official_build) ||
17 + (is_chromecast && !is_cast_desktop_build && !is_debug && !is_fuchsia)
18 }
19
20 assert(!is_cfi || use_thin_lto, "CFI requires ThinLTO")
21
22 -# Exclude unwind tables for official builds as unwinding can be done from stack
23 -# dumps produced by Crashpad at a later time "offline" in the crash server.
24 -# For unofficial (e.g. development) builds and non-Chrome branded (e.g. Cronet
25 -# which doesn't use Crashpad, crbug.com/479283) builds it's useful to be able
26 -# to unwind at runtime.
27 -exclude_unwind_tables =
28 - (is_chrome_branded && is_official_build) ||
29 - (is_chromecast && !is_cast_desktop_build && !is_debug && !is_fuchsia)
30 -
31 # If true, optimize for size. Does not affect windows builds.
32 # Linux & Mac favor speed over size.
33 # TODO(brettw) it's weird that Mac and desktop Linux are different. We should