Commit 27965f19 authored by machenbach's avatar machenbach Committed by Commit bot

[gn] Switch basic linux32 bots to gn

BUG=chromium:474921

Review-Url: https://codereview.chromium.org/2109293004
Cr-Commit-Position: refs/heads/master@{#37492}
parent c43d5dde
......@@ -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",
......
......@@ -106,6 +106,12 @@ template("v8_isolate_run") {
} else {
has_valgrind = "0"
}
if (v8_gcmole) {
gcmole = "1"
} else {
gcmole = "0"
}
# Note, all paths will be rebased in isolate_driver.py to be relative to
# the isolate file.
......@@ -135,7 +141,7 @@ template("v8_isolate_run") {
"--config-variable",
"cfi_vptr=$cfi_vptr",
"--config-variable",
"gcmole=0",
"gcmole=$gcmole",
"--config-variable",
"has_valgrind=$has_valgrind",
"--config-variable",
......
......@@ -10,6 +10,9 @@ declare_args() {
# swarming.
v8_has_valgrind = false
# Indicate if gcmole was fetched as a hook to make it available on swarming.
v8_gcmole = false
# Turns on compiler optimizations in V8 in Debug build.
v8_optimized_debug = true
......
......@@ -18,8 +18,8 @@
},
'client.v8': {
# Linux.
'V8 Linux - builder': 'gyp_release_x86_gcmole',
'V8 Linux - debug builder': 'gyp_debug_x86',
'V8 Linux - builder': 'gn_release_x86_gcmole',
'V8 Linux - debug builder': 'gn_debug_x86',
'V8 Linux - nosnap builder': 'gyp_release_x86_no_snap',
'V8 Linux - nosnap debug builder': 'gyp_debug_x86_no_snap',
'V8 Linux - shared': 'gyp_release_x86_shared_verify_heap',
......@@ -129,10 +129,10 @@
'V8 s390x - sim - stable branch': 'gyp_release_simulate_s390x',
},
'tryserver.v8': {
'v8_linux_rel_ng': 'gyp_release_x86_gcmole_trybot',
'v8_linux_avx2_dbg': 'gyp_debug_x86_trybot',
'v8_linux_nodcheck_rel_ng': 'gyp_release_x86_minimal_symbols',
'v8_linux_dbg_ng': 'gyp_debug_x86_trybot',
'v8_linux_rel_ng': 'gn_release_x86_gcmole_trybot',
'v8_linux_avx2_dbg': 'gn_debug_x86_trybot',
'v8_linux_nodcheck_rel_ng': 'gn_release_x86_minimal_symbols',
'v8_linux_dbg_ng': 'gn_debug_x86_trybot',
'v8_linux_noi18n_rel_ng': 'gyp_release_x86_no_i18n_trybot',
'v8_linux_gc_stress_dbg': 'gyp_debug_x86_trybot',
'v8_linux_nosnap_rel': 'gyp_release_x86_no_snap_trybot',
......@@ -193,6 +193,20 @@
'gn_debug_x64_valgrind': [
'gn', 'debug_bot', 'x64', 'swarming', 'valgrind'],
# GN debug configs for x86.
'gn_debug_x86': [
'gn', 'debug_bot', 'x86', 'swarming'],
'gn_debug_x86_trybot': [
'gn', 'debug_trybot', 'x86', 'swarming'],
# GN release configs for x86.
'gn_release_x86_gcmole': [
'gn', 'release_bot', 'x86', 'gcmole', 'swarming'],
'gn_release_x86_gcmole_trybot': [
'gn', 'release_trybot', 'x86', 'gcmole', 'swarming'],
'gn_release_x86_minimal_symbols': [
'gn', 'release_bot', 'x86', 'minimal_symbols', 'swarming'],
# Gyp debug configs for arm.
'gyp_debug_arm': [
'gyp', 'debug_bot', 'arm', 'crosscompile', 'hard_float', 'swarming'],
......@@ -320,10 +334,6 @@
'gyp', 'release_bot', 'x86', 'gcc', 'minimal_symbols'],
'gyp_release_x86_interpreted_regexp': [
'gyp', 'release_bot', 'x86', 'v8_interpreted_regexp'],
'gyp_release_x86_gcmole': [
'gyp', 'release_bot', 'x86', 'gcmole', 'swarming'],
'gyp_release_x86_gcmole_trybot': [
'gyp', 'release_trybot', 'x86', 'gcmole', 'swarming'],
'gyp_release_x86_minimal_symbols': [
'gyp', 'release_bot', 'x86', 'minimal_symbols', 'swarming'],
'gyp_release_x86_no_i18n_trybot': [
......@@ -418,8 +428,7 @@
},
'gcmole': {
# TODO(machenbach): Add this to gn.
'gn_args': 'gcmole=true',
'gn_args': 'v8_gcmole=true',
'gyp_defines': 'gcmole=1',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment