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

Unified Diff: BUILD.gn

Issue 2109293004: [gn] Switch basic linux32 bots to gn (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gni/isolate.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index fb8551a3f4385b71736438baa9d929d4ca35f896..a1199da0a08e2edcaa51cf4622d9a04e8a5c99fc 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -31,6 +31,9 @@ declare_args() {
# Embeds the given script into the snapshot.
v8_embed_script = ""
+ # Support for backtrace_symbols on linux.
+ v8_enable_backtrace = false
+
# Sets -dENABLE_DISASSEMBLER.
v8_enable_disassembler = false
@@ -292,6 +295,10 @@ config("toolchain") {
# TODO(jochen): Add support for compiling with simulators.
if (is_debug) {
+ if (is_linux && v8_enable_backtrace) {
+ ldflags += [ "-rdynamic" ]
+ }
+
# TODO(jochen): Add support for different debug optimization levels.
defines += [
"ENABLE_DISASSEMBLER",
« no previous file with comments | « no previous file | gni/isolate.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698