v8/infra/mb/mb_config.pyl
Michael Achenbach d19e5134c4 [build][test] Add build and test configs for new ubsan builders
This renames the existing v8_linux64_ubsan_rel_ng{triggered} into
v8_linux64_ubsan_vptr_rel_ng{triggered} and keeps using the
ubsan_vptr build and test config for it.

This adds build configs for the new builders:
v8_linux64_ubsan_rel_ng
V8 Clusterfuzz Linux64 UBSan - release builder

This also adds test configs for
v8_linux64_ubsan_rel_ng_triggered

NOTRY=true

Bug: chromium:853202
Change-Id: I0f9b4fba459a2c02a26e777f60773697e4d4d557
Reviewed-on: https://chromium-review.googlesource.com/c/1417456
Reviewed-by: Sergiy Belozorov <sergiyb@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58915}
2019-01-18 10:08:57 +00:00

891 lines
32 KiB
Plaintext

# Copyright 2016 The V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
# This is a map of buildbot master names -> buildbot builder names ->
# config names (where each config name is a key in the 'configs' dict,
# below). MB uses this dict to look up which config to use for a given bot.
# Bots are ordered by appearance on waterfall.
'masters': {
'developer_default': {
'android.arm.debug': 'default_debug_android_arm',
'android.arm.optdebug': 'default_optdebug_android_arm',
'android.arm.release': 'default_release_android_arm',
'arm.debug': 'default_debug_arm',
'arm.optdebug': 'default_optdebug_arm',
'arm.release': 'default_release_arm',
'arm64.debug': 'default_debug_arm64',
'arm64.optdebug': 'default_optdebug_arm64',
'arm64.release': 'default_release_arm64',
'ia32.debug': 'default_debug_x86',
'ia32.optdebug': 'default_optdebug_x86',
'ia32.release': 'default_release_x86',
'mipsel.debug': 'default_debug_mipsel',
'mipsel.optdebug': 'default_optdebug_mipsel',
'mipsel.release': 'default_release_mipsel',
'mips64el.debug': 'default_debug_mips64el',
'mips64el.optdebug': 'default_optdebug_mips64el',
'mips64el.release': 'default_release_mips64el',
'ppc64.debug': 'default_debug_ppc64',
'ppc64.optdebug': 'default_optdebug_ppc64',
'ppc64.release': 'default_release_ppc64',
'ppc64.debug.sim': 'default_debug_ppc64_sim',
'ppc64.optdebug.sim': 'default_optdebug_ppc64_sim',
'ppc64.release.sim': 'default_release_ppc64_sim',
's390x.debug': 'default_debug_s390x',
's390x.optdebug': 'default_optdebug_s390x',
's390x.release': 'default_release_s390x',
's390x.debug.sim': 'default_debug_s390x_sim',
's390x.optdebug.sim': 'default_optdebug_s390x_sim',
's390x.release.sim': 'default_release_s390x_sim',
'x64.debug': 'default_debug_x64',
'x64.optdebug': 'default_optdebug_x64',
'x64.release': 'default_release_x64',
'x64.release.sample': 'release_x64_sample',
},
'client.dynamorio': {
'linux-v8-dr': 'release_x64',
},
'client.v8': {
# Linux.
'V8 Linux - builder': 'release_x86_gcmole',
'V8 Linux - debug builder': 'debug_x86',
'V8 Linux - nosnap builder': 'release_x86_no_snap',
'V8 Linux - nosnap debug builder': 'debug_x86_no_snap',
'V8 Linux - shared': 'release_x86_shared_verify_heap',
'V8 Linux - noi18n - debug': 'debug_x86_no_i18n',
'V8 Linux - verify csa': 'release_x86_verify_csa',
# Linux64.
'V8 Linux64 - builder': 'release_x64',
'V8 Linux64 - debug builder': 'debug_x64',
'V8 Linux64 - custom snapshot - debug builder': 'debug_x64_custom',
'V8 Linux64 - internal snapshot': 'release_x64_internal',
'V8 Linux64 - debug - header includes': 'debug_x64_header_includes',
'V8 Linux64 - shared': 'release_x64_shared_verify_heap',
'V8 Linux64 - verify csa': 'release_x64_verify_csa',
# Jumbo.
'V8 Linux64 Jumbo': 'release_x64_jumbo',
'V8 Linux64 Jumbo - debug': 'debug_x64_jumbo',
'V8 Linux64 Jumbo - limited': 'release_x64_jumbo_limited',
'V8 Linux64 Jumbo - limited - debug': 'debug_x64_jumbo_limited',
# Windows.
'V8 Win32 - builder': 'release_x86_minimal_symbols',
'V8 Win32 - debug builder': 'debug_x86_minimal_symbols',
'V8 Win32 - nosnap - shared':
'release_x86_no_snap_shared_minimal_symbols',
# TODO(machenbach): Remove after switching to x64 on infra side.
'V8 Win64 ASAN': 'release_x64_asan_no_lsan',
'V8 Win64': 'release_x64_minimal_symbols',
'V8 Win64 - debug': 'debug_x64_minimal_symbols',
'V8 Win64 - msvc': 'release_x64_msvc',
# Mac.
'V8 Mac64': 'release_x64',
'V8 Mac64 - debug': 'debug_x64',
'V8 Mac64 GC Stress': 'debug_x64',
'V8 Mac64 ASAN': 'release_x64_asan_no_lsan',
# Sanitizers.
'V8 Linux64 ASAN': 'release_x64_asan',
'V8 Linux64 TSAN - builder': 'release_x64_tsan',
'V8 Linux - arm64 - sim - MSAN': 'release_simulate_arm64_msan',
# Misc.
'V8 Linux gcc 4.8': 'release_x86_gcc',
'V8 Linux64 gcc 4.8 - debug': 'debug_x64_gcc',
# FYI.
'V8 Linux64 - pointer compression': 'release_x64_pointer_compression',
'V8 Linux64 - arm64 - sim - pointer compression - builder':
'release_simulate_arm64_pointer_compression',
'V8 Linux - noembed': 'release_x86_noembed',
'V8 Linux - noembed - debug': 'debug_x86_noembed',
'V8 Fuchsia': 'release_x64_fuchsia',
'V8 Fuchsia - debug': 'debug_x64_fuchsia',
'V8 Linux64 - cfi': 'release_x64_cfi',
'V8 Linux64 UBSan': 'release_x64_ubsan',
'V8 Linux64 UBSanVptr': 'release_x64_ubsan_vptr',
'V8 Linux - vtunejit': 'debug_x86_vtunejit',
'V8 Linux64 - gcov coverage': 'release_x64_gcc_coverage',
'V8 Linux - predictable': 'release_x86_predictable',
'V8 Linux - full debug': 'full_debug_x86',
'V8 Linux - interpreted regexp': 'release_x86_interpreted_regexp',
'V8 Random Deopt Fuzzer - debug': 'debug_x64',
},
'client.v8.clusterfuzz': {
'V8 Clusterfuzz Win64 ASAN - release builder':
'release_x64_asan_no_lsan_verify_heap',
# Note this is called a debug builder, but it uses a release build
# configuration with dchecks (which enables DEBUG in V8), since win-asan
# debug is not supported.
'V8 Clusterfuzz Win64 ASAN - debug builder':
'release_x64_asan_no_lsan_verify_heap_dchecks',
'V8 Clusterfuzz Mac64 ASAN - release builder':
'release_x64_asan_no_lsan_edge_verify_heap',
'V8 Clusterfuzz Mac64 ASAN - debug builder':
'debug_x64_asan_no_lsan_static_edge',
'V8 Clusterfuzz Linux64 - release builder':
'release_x64_correctness_fuzzer',
'V8 Clusterfuzz Linux64 - debug builder': 'debug_x64',
'V8 Clusterfuzz Linux64 ASAN no inline - release builder':
'release_x64_asan_symbolized_edge_verify_heap',
'V8 Clusterfuzz Linux64 ASAN - debug builder': 'debug_x64_asan_edge',
'V8 Clusterfuzz Linux64 ASAN arm64 - debug builder':
'debug_simulate_arm64_asan_edge',
'V8 Clusterfuzz Linux ASAN arm - debug builder':
'debug_simulate_arm_asan_edge',
'V8 Clusterfuzz Linux64 CFI - release builder':
'release_x64_cfi_clusterfuzz',
'V8 Clusterfuzz Linux MSAN no origins':
'release_simulate_arm64_msan_no_origins_edge',
'V8 Clusterfuzz Linux MSAN chained origins':
'release_simulate_arm64_msan_edge',
'V8 Clusterfuzz Linux64 TSAN - release builder': 'release_x64_tsan',
'V8 Clusterfuzz Linux64 UBSan - release builder':
'release_x64_ubsan_recover_edge',
'V8 Clusterfuzz Linux64 UBSanVptr - release builder':
'release_x64_ubsan_vptr_recover_edge',
},
'client.v8.ports': {
# Arm.
'V8 Arm - builder': 'release_arm',
'V8 Arm - debug builder': 'debug_arm',
'V8 Android Arm - builder': 'release_android_arm',
'V8 Linux - arm - sim': 'release_simulate_arm',
'V8 Linux - arm - sim - debug': 'debug_simulate_arm',
'V8 Linux - arm - sim - lite': 'release_simulate_arm_lite',
'V8 Linux - arm - sim - lite - debug': 'debug_simulate_arm_lite',
# Arm64.
'V8 Android Arm64 - builder': 'release_android_arm64',
'V8 Android Arm64 - debug builder': 'debug_android_arm64',
'V8 Linux - arm64 - sim': 'release_simulate_arm64',
'V8 Linux - arm64 - sim - debug': 'debug_simulate_arm64',
'V8 Linux - arm64 - sim - nosnap - debug':
'debug_simulate_arm64_no_snap',
'V8 Linux - arm64 - sim - gc stress': 'debug_simulate_arm64',
# Mips.
'V8 Mips - builder': 'release_mips_no_snap_no_i18n',
'V8 Linux - mipsel - sim - builder': 'release_simulate_mipsel',
'V8 Linux - mips64el - sim - builder': 'release_simulate_mips64el',
# IBM.
'V8 Linux - ppc64 - sim': 'release_simulate_ppc64',
'V8 Linux - s390x - sim': 'release_simulate_s390x',
},
'client.v8.branches': {
'V8 Linux - beta branch': 'release_x86',
'V8 Linux - beta branch - debug': 'debug_x86',
'V8 Linux - stable branch': 'release_x86',
'V8 Linux - stable branch - debug': 'debug_x86',
'V8 Linux64 - beta branch': 'release_x64',
'V8 Linux64 - beta branch - debug': 'debug_x64',
'V8 Linux64 - stable branch': 'release_x64',
'V8 Linux64 - stable branch - debug': 'debug_x64',
'V8 arm - sim - beta branch': 'release_simulate_arm',
'V8 arm - sim - beta branch - debug': 'debug_simulate_arm',
'V8 arm - sim - stable branch': 'release_simulate_arm',
'V8 arm - sim - stable branch - debug': 'debug_simulate_arm',
'V8 mips64el - sim - beta branch': 'release_simulate_mips64el',
'V8 mips64el - sim - stable branch': 'release_simulate_mips64el',
'V8 mipsel - sim - beta branch': 'release_simulate_mipsel',
'V8 mipsel - sim - stable branch': 'release_simulate_mipsel',
'V8 ppc64 - sim - beta branch': 'release_simulate_ppc64',
'V8 ppc64 - sim - stable branch': 'release_simulate_ppc64',
'V8 s390x - sim - beta branch': 'release_simulate_s390x',
'V8 s390x - sim - stable branch': 'release_simulate_s390x',
},
'tryserver.v8': {
'v8_android_arm_compile_rel': 'release_android_arm',
'v8_android_arm64_compile_dbg': 'debug_android_arm64',
'v8_android_arm64_n5x_rel_ng': 'release_android_arm64',
'v8_fuchsia_rel_ng': 'release_x64_fuchsia_trybot',
'v8_linux_noembed_rel_ng': 'release_x86_noembed_trybot',
'v8_linux_rel_ng': 'release_x86_gcmole_trybot',
'v8_linux_optional_rel_ng': 'release_x86_trybot',
'v8_linux_verify_csa_rel_ng': 'release_x86_verify_csa',
'v8_linux_nodcheck_rel_ng': 'release_x86_minimal_symbols',
'v8_linux_dbg_ng': 'debug_x86_trybot',
'v8_linux_noi18n_rel_ng': 'release_x86_no_i18n_trybot',
'v8_linux_gc_stress_dbg': 'debug_x86_trybot',
'v8_linux_nosnap_rel': 'release_x86_no_snap_trybot',
'v8_linux_nosnap_dbg': 'debug_x86_no_snap_trybot',
'v8_linux_gcc_compile_rel': 'release_x86_gcc_minimal_symbols',
'v8_linux_gcc_rel': 'release_x86_gcc_minimal_symbols',
'v8_linux_shared_compile_rel': 'release_x86_shared_verify_heap',
'v8_linux64_arm64_pointer_compression_rel_ng':
'release_simulate_arm64_pointer_compression',
'v8_linux64_compile_rel_xg': 'release_x64_test_features_trybot',
'v8_linux64_dbg_ng': 'debug_x64_trybot',
'v8_linux64_gcc_compile_dbg': 'debug_x64_gcc',
'v8_linux64_header_includes_dbg': 'debug_x64_header_includes',
'v8_linux64_fyi_rel_ng': 'release_x64_test_features_trybot',
'v8_linux64_pointer_compression_rel_ng': 'release_x64_pointer_compression',
'v8_linux64_rel_ng': 'release_x64_test_features_trybot',
'v8_linux64_shared_compile_rel': 'release_x64_shared_verify_heap',
'v8_linux64_verify_csa_rel_ng': 'release_x64_verify_csa',
'v8_linux64_asan_rel_ng': 'release_x64_asan_minimal_symbols',
'v8_linux64_cfi_rel_ng': 'release_x64_cfi',
'v8_linux64_msan_rel': 'release_simulate_arm64_msan_minimal_symbols',
'v8_linux64_sanitizer_coverage_rel':
'release_x64_asan_minimal_symbols_coverage',
'v8_linux64_jumbo_compile_rel': 'release_x64_jumbo_trybot',
'v8_linux64_jumbo_limited_compile_rel': 'release_x64_jumbo_limited_trybot',
'v8_linux64_tsan_rel': 'release_x64_tsan_minimal_symbols',
'v8_linux64_tsan_isolates_rel_ng':
'release_x64_tsan_minimal_symbols',
'v8_linux64_ubsan_rel_ng': 'release_x64_ubsan_minimal_symbols',
'v8_linux64_ubsan_vptr_rel_ng': 'release_x64_ubsan_vptr_minimal_symbols',
'v8_odroid_arm_rel_ng': 'release_arm',
# TODO(machenbach): Remove after switching to x64 on infra side.
'v8_win_dbg': 'debug_x86_trybot',
'v8_win_compile_dbg': 'debug_x86_trybot',
'v8_win_rel_ng': 'release_x86_trybot',
'v8_win_nosnap_shared_rel_ng':
'release_x86_no_snap_shared_minimal_symbols',
'v8_win64_asan_rel_ng': 'release_x64_asan_no_lsan',
'v8_win64_msvc_compile_rel': 'release_x64_msvc',
'v8_win64_dbg': 'debug_x64_minimal_symbols',
'v8_win64_msvc_rel_ng': 'release_x64_msvc',
'v8_win64_rel_ng': 'release_x64_trybot',
'v8_mac64_gc_stress_dbg': 'debug_x64_trybot',
'v8_mac64_rel_ng': 'release_x64_trybot',
'v8_mac64_dbg': 'debug_x64',
'v8_mac64_dbg_ng': 'debug_x64',
'v8_mac64_asan_rel': 'release_x64_asan_no_lsan',
'v8_mips_compile_rel': 'release_mips_no_snap_no_i18n',
'v8_linux_arm_rel_ng': 'release_simulate_arm_trybot',
'v8_linux_arm_lite_rel_ng': 'release_simulate_arm_lite_trybot',
'v8_linux_arm_dbg': 'debug_simulate_arm',
'v8_linux_arm_armv8a_rel': 'release_simulate_arm_trybot',
'v8_linux_arm_armv8a_dbg': 'debug_simulate_arm',
'v8_linux_arm64_rel_ng': 'release_simulate_arm64_trybot',
'v8_linux_arm64_dbg': 'debug_simulate_arm64',
'v8_linux_arm64_gc_stress_dbg': 'debug_simulate_arm64',
'v8_linux_mipsel_compile_rel': 'release_simulate_mipsel',
'v8_linux_mips64el_compile_rel': 'release_simulate_mips64el',
},
},
# To ease readability, config values are ordered by:
# release/debug, arch type, other values alphabetically.
'configs': {
# Developer default configs.
'default_debug_arm': [
'debug', 'simulate_arm', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_arm': [
'debug', 'simulate_arm', 'v8_enable_slow_dchecks'],
'default_release_arm': [
'release', 'simulate_arm'],
'default_debug_android_arm': [
'debug', 'arm', 'android', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_android_arm': [
'debug', 'arm', 'android', 'v8_enable_slow_dchecks' ],
'default_release_android_arm': [
'release', 'arm', 'android', 'android_strip_outputs'],
'default_debug_arm64': [
'debug', 'simulate_arm64', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_arm64': [
'debug', 'simulate_arm64', 'v8_enable_slow_dchecks'],
'default_release_arm64': [
'release', 'simulate_arm64'],
'default_debug_mipsel': [
'debug', 'simulate_mipsel', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_mipsel': [
'debug', 'simulate_mipsel', 'v8_enable_slow_dchecks'],
'default_release_mipsel': [
'release', 'simulate_mipsel'],
'default_debug_mips64el': [
'debug', 'simulate_mips64el', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_mips64el': [
'debug', 'simulate_mips64el', 'v8_enable_slow_dchecks'],
'default_release_mips64el': [
'release', 'simulate_mips64el'],
'default_debug_ppc64': [
'debug', 'ppc64', 'gcc', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_ppc64': [
'debug', 'ppc64', 'gcc', 'v8_enable_slow_dchecks'],
'default_release_ppc64': [
'release', 'ppc64', 'gcc'],
'default_debug_ppc64_sim': [
'debug', 'simulate_ppc64', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_ppc64_sim': [
'debug', 'simulate_ppc64', 'v8_enable_slow_dchecks'],
'default_release_ppc64_sim': [
'release', 'simulate_ppc64'],
'default_debug_s390x': [
'debug', 's390x', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_s390x': [
'debug', 's390x', 'v8_enable_slow_dchecks'],
'default_release_s390x': [
'release', 's390x'],
'default_debug_s390x_sim': [
'debug', 'simulate_s390x', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_s390x_sim': [
'debug', 'simulate_s390x', 'v8_enable_slow_dchecks'],
'default_release_s390x_sim': [
'release', 'simulate_s390x'],
'default_debug_x64': [
'debug', 'x64', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_x64': [
'debug', 'x64', 'v8_enable_slow_dchecks'],
'default_release_x64': [
'release', 'x64'],
'release_x64_sample': [
'release', 'x64', 'sample'],
'default_debug_x86': [
'debug', 'x86', 'v8_enable_slow_dchecks', 'v8_full_debug'],
'default_optdebug_x86': [
'debug', 'x86', 'v8_enable_slow_dchecks'],
'default_release_x86': [
'release', 'x86'],
# Debug configs for simulators.
'debug_simulate_arm': [
'debug_bot', 'simulate_arm'],
'debug_simulate_arm_asan_edge': [
'debug_bot', 'simulate_arm', 'asan', 'edge'],
'debug_simulate_arm_lite': [
'debug_bot', 'simulate_arm', 'v8_enable_lite_mode'],
'debug_simulate_arm64': [
'debug_bot', 'simulate_arm64'],
'debug_simulate_arm64_asan_edge': [
'debug_bot', 'simulate_arm64', 'asan', 'lsan', 'edge'],
'debug_simulate_arm64_no_snap': [
'debug', 'simulate_arm64', 'shared', 'goma', 'v8_optimized_debug',
'v8_snapshot_none'],
# Release configs for simulators.
'release_simulate_arm': [
'release_bot', 'simulate_arm'],
'release_simulate_arm_lite': [
'release_bot', 'simulate_arm', 'v8_enable_lite_mode'],
'release_simulate_arm_trybot': [
'release_trybot', 'simulate_arm'],
'release_simulate_arm_lite_trybot': [
'release_trybot', 'simulate_arm', 'v8_enable_lite_mode'],
'release_simulate_arm64': [
'release_bot', 'simulate_arm64'],
'release_simulate_arm64_pointer_compression': [
'release_bot', 'simulate_arm64', 'dcheck_always_on',
'v8_enable_slow_dchecks', 'v8_enable_pointer_compression'],
'release_simulate_arm64_msan': [
'release_bot', 'simulate_arm64', 'msan'],
'release_simulate_arm64_msan_minimal_symbols': [
'release_bot', 'simulate_arm64', 'msan', 'minimal_symbols'],
'release_simulate_arm64_msan_edge': [
'release_bot', 'simulate_arm64', 'edge', 'msan'],
'release_simulate_arm64_msan_no_origins_edge': [
'release_bot', 'simulate_arm64', 'edge', 'msan_no_origins'],
'release_simulate_arm64_trybot': [
'release_trybot', 'simulate_arm64'],
'release_simulate_mipsel': [
'release_bot', 'simulate_mipsel'],
'release_simulate_mips64el': [
'release_bot', 'simulate_mips64el'],
'release_simulate_ppc64': [
'release_bot', 'simulate_ppc64'],
'release_simulate_s390x': [
'release_bot', 'simulate_s390x'],
# Debug configs for arm.
'debug_android_arm64': [
'debug_bot', 'arm64', 'android', 'minimal_symbols'],
'debug_arm': [
'debug_bot', 'arm', 'hard_float'],
# Release configs for arm.
'release_arm': [
'release_bot', 'arm', 'hard_float'],
'release_android_arm': [
'release_bot', 'arm', 'android', 'minimal_symbols',
'android_strip_outputs'],
'release_android_arm64': [
'release_bot', 'arm64', 'android', 'minimal_symbols',
'android_strip_outputs'],
# Release configs for x64.
'release_x64': [
'release_bot', 'x64'],
'release_x64_asan': [
'release_bot', 'x64', 'asan', 'lsan'],
'release_x64_asan_minimal_symbols': [
'release_bot', 'x64', 'asan', 'lsan', 'minimal_symbols'],
'release_x64_asan_minimal_symbols_coverage': [
'release_bot', 'x64', 'asan', 'bb', 'coverage', 'lsan', 'minimal_symbols'],
'release_x64_asan_no_lsan': [
'release_bot', 'x64', 'asan'],
'release_x64_asan_no_lsan_edge_verify_heap': [
'release_bot', 'x64', 'asan', 'edge', 'v8_verify_heap'],
'release_x64_asan_no_lsan_verify_heap': [
'release_bot', 'x64', 'asan', 'v8_verify_heap'],
'release_x64_asan_no_lsan_verify_heap_dchecks': [
'release_bot', 'x64', 'asan', 'dcheck_always_on',
'v8_enable_slow_dchecks', 'v8_verify_heap'],
'release_x64_asan_symbolized_edge_verify_heap': [
'release_bot', 'x64', 'asan', 'edge', 'lsan', 'symbolized',
'v8_verify_heap'],
'release_x64_cfi': [
'release_bot', 'x64', 'cfi'],
'release_x64_cfi_clusterfuzz': [
'release_bot', 'x64', 'cfi_clusterfuzz'],
'release_x64_msvc': [
'release_bot', 'x64', 'msvc'],
'release_x64_correctness_fuzzer' : [
'release_bot', 'x64', 'v8_correctness_fuzzer'],
'release_x64_fuchsia': [
'release_bot', 'x64', 'fuchsia'],
'release_x64_fuchsia_trybot': [
'release_trybot', 'x64', 'fuchsia'],
'release_x64_gcc_coverage': [
'release_bot', 'x64', 'coverage', 'gcc', 'no_custom_libcxx', 'no_sysroot'],
'release_x64_internal': [
'release_bot', 'x64', 'v8_snapshot_internal'],
'release_x64_jumbo': [
'release_bot', 'x64', 'jumbo'],
'release_x64_jumbo_trybot': [
'release_trybot', 'x64', 'jumbo'],
'release_x64_jumbo_limited': [
'release_bot', 'x64', 'jumbo_limited'],
'release_x64_jumbo_limited_trybot': [
'release_trybot', 'x64', 'jumbo_limited'],
'release_x64_minimal_symbols': [
'release_bot', 'x64', 'minimal_symbols'],
'release_x64_pointer_compression': [
'release_bot', 'x64', 'dcheck_always_on', 'v8_enable_slow_dchecks',
'v8_enable_pointer_compression'],
'release_x64_trybot': [
'release_trybot', 'x64'],
'release_x64_test_features_trybot': [
'release_trybot', 'x64', 'v8_enable_test_features'],
'release_x64_tsan': [
'release_bot', 'x64', 'tsan'],
'release_x64_tsan_minimal_symbols': [
'release_bot', 'x64', 'tsan', 'minimal_symbols'],
'release_x64_ubsan': [
'release_bot', 'x64', 'ubsan'],
'release_x64_ubsan_minimal_symbols': [
'release_bot', 'x64', 'ubsan', 'minimal_symbols'],
'release_x64_ubsan_recover_edge': [
'release_bot', 'x64', 'edge', 'ubsan_recover'],
'release_x64_ubsan_vptr': [
'release_bot', 'x64', 'ubsan_vptr'],
'release_x64_ubsan_vptr_minimal_symbols': [
'release_bot', 'x64', 'ubsan_vptr', 'minimal_symbols'],
'release_x64_ubsan_vptr_recover_edge': [
'release_bot', 'x64', 'edge', 'ubsan_vptr_recover'],
'release_x64_shared_verify_heap': [
'release_bot', 'x64', 'shared', 'v8_verify_heap'],
'release_x64_verify_csa': [
'release_bot', 'x64', 'dcheck_always_on',
'v8_enable_slow_dchecks', 'v8_verify_csa'],
# Debug configs for x64.
'debug_x64': [
'debug_bot', 'x64'],
'debug_x64_asan_edge': [
'debug_bot', 'x64', 'asan', 'lsan', 'edge'],
'debug_x64_asan_no_lsan_static_edge': [
'debug', 'static', 'goma', 'v8_enable_slow_dchecks', 'v8_optimized_debug',
'x64', 'asan', 'edge'],
'debug_x64_custom': [
'debug_bot', 'x64', 'v8_snapshot_custom'],
'debug_x64_fuchsia': [
'debug_bot', 'x64', 'fuchsia'],
'debug_x64_gcc': [
'debug_bot', 'x64', 'gcc'],
'debug_x64_header_includes': [
'debug_bot', 'x64', 'v8_check_header_includes'],
'debug_x64_jumbo': [
'debug_bot', 'x64', 'jumbo'],
'debug_x64_jumbo_limited': [
'debug_bot', 'x64', 'jumbo_limited'],
'debug_x64_minimal_symbols': [
'debug_bot', 'x64', 'minimal_symbols'],
'debug_x64_trybot': [
'debug_trybot', 'x64'],
# Debug configs for x86.
'debug_x86': [
'debug_bot', 'x86'],
'debug_x86_noembed': [
'debug_bot', 'x86', 'v8_no_enable_embedded_builtins'],
'debug_x86_minimal_symbols': [
'debug_bot', 'x86', 'minimal_symbols'],
'debug_x86_no_i18n': [
'debug_bot', 'x86', 'v8_no_i18n'],
'debug_x86_no_snap': [
'debug_bot', 'x86', 'v8_snapshot_none'],
'debug_x86_no_snap_trybot': [
'debug_trybot', 'x86', 'v8_snapshot_none'],
'debug_x86_trybot': [
'debug_trybot', 'x86'],
'debug_x86_vtunejit': [
'debug_bot', 'x86', 'v8_enable_vtunejit'],
'full_debug_x86': [
'debug', 'x86', 'goma', 'static', 'v8_enable_slow_dchecks',
'v8_full_debug'],
# Release configs for x86.
'release_x86': [
'release_bot', 'x86'],
'release_x86_noembed': [
'release_bot', 'x86', 'v8_no_enable_embedded_builtins'],
'release_x86_noembed_trybot': [
'release_trybot', 'x86', 'v8_no_enable_embedded_builtins'],
'release_x86_gcc': [
'release_bot', 'x86', 'gcc'],
'release_x86_gcc_minimal_symbols': [
'release_bot', 'x86', 'gcc', 'minimal_symbols'],
'release_x86_gcmole': [
'release_bot', 'x86', 'gcmole'],
'release_x86_gcmole_trybot': [
'release_trybot', 'x86', 'gcmole'],
'release_x86_interpreted_regexp': [
'release_bot', 'x86', 'v8_interpreted_regexp'],
'release_x86_minimal_symbols': [
'release_bot', 'x86', 'minimal_symbols'],
'release_x86_no_i18n_trybot': [
'release_trybot', 'x86', 'v8_no_i18n'],
'release_x86_no_snap': [
'release_bot', 'x86', 'v8_snapshot_none'],
'release_x86_no_snap_shared_minimal_symbols': [
'release', 'x86', 'goma', 'minimal_symbols', 'shared',
'v8_snapshot_none'],
'release_x86_no_snap_trybot': [
'release_trybot', 'x86', 'v8_snapshot_none'],
'release_x86_predictable': [
'release_bot', 'x86', 'v8_enable_verify_predictable'],
'release_x86_shared_verify_heap': [
'release', 'x86', 'goma', 'shared', 'v8_verify_heap'],
'release_x86_trybot': [
'release_trybot', 'x86'],
'release_x86_verify_csa': [
'release_bot', 'x86', 'dcheck_always_on',
'v8_enable_slow_dchecks', 'v8_verify_csa'],
# Release configs for mips.
'release_mips_no_snap_no_i18n': [
'release', 'mips', 'no_sysroot', 'static', 'v8_no_i18n',
'v8_snapshot_none'],
},
'mixins': {
'android': {
'gn_args': 'target_os="android" v8_android_log_stdout=true',
},
'android_strip_outputs': {
'gn_args': 'android_unstripped_runtime_outputs=false',
},
'arm': {
'gn_args': 'target_cpu="arm"',
},
'arm64': {
'gn_args': 'target_cpu="arm64"',
},
'asan': {
'mixins': ['clang', 'v8_enable_test_features'],
'gn_args': 'is_asan=true',
},
'bb': {
'gn_args': 'sanitizer_coverage_flags="bb,trace-pc-guard"',
},
'cfi': {
'mixins': ['v8_enable_test_features'],
'gn_args': ('is_cfi=true use_cfi_cast=true use_cfi_icall=true '
'use_cfi_diag=true use_cfi_recover=false'),
},
'cfi_clusterfuzz': {
'mixins': ['v8_enable_test_features'],
'gn_args': ('is_cfi=true use_cfi_cast=true use_cfi_icall=true '
'use_cfi_diag=true use_cfi_recover=true'),
},
'clang': {
'gn_args': 'is_clang=true',
},
'coverage': {
'gn_args': 'v8_code_coverage=true',
},
'dcheck_always_on': {
'gn_args': 'dcheck_always_on=true',
},
'debug': {
'gn_args': 'is_debug=true v8_enable_backtrace=true',
},
'debug_bot': {
'mixins': [
'debug', 'shared', 'goma', 'v8_enable_slow_dchecks',
'v8_optimized_debug'],
},
'debug_trybot': {
'mixins': ['debug_bot', 'minimal_symbols'],
},
'edge': {
'gn_args': 'sanitizer_coverage_flags="trace-pc-guard"',
},
'fuchsia': {
'gn_args': 'target_os="fuchsia"',
},
'gcc': {
# TODO(machenbach): Remove cxx11 restriction when updating gcc version.
'gn_args': 'is_clang=false use_cxx11=true',
},
'gcmole': {
'gn_args': 'v8_gcmole=true',
},
'goma': {
'gn_args': 'use_goma=true',
},
'hard_float': {
'gn_args': 'arm_float_abi="hard"',
},
'jumbo': {
'gn_args': 'use_jumbo_build=true',
},
'jumbo_limited': {
'gn_args': 'use_jumbo_build=true jumbo_file_merge_limit=50',
},
'lsan': {
'mixins': ['v8_enable_test_features'],
'gn_args': 'is_lsan=true',
},
'minimal_symbols': {
'gn_args': 'symbol_level=1',
},
'mips': {
'mixins': ['mips_bundled_toolchain'],
'gn_args': 'target_cpu="mips"',
},
'mips_bundled_toolchain': {
'gn_args': 'custom_toolchain="tools/toolchain:mips-bundled" '
'ldso_path="tools/mips_toolchain/sysroot/usr/lib/ld.so.1" '
'gcc_target_rpath="tools/mips_toolchain/sysroot/usr/lib:'
'tools/mips_toolchain/mips-mti-linux-gnu/lib:\$ORIGIN/."',
},
'msan': {
'mixins': ['v8_enable_test_features'],
'gn_args': ('is_msan=true msan_track_origins=2 '
'use_prebuilt_instrumented_libraries=true'),
},
'msan_no_origins': {
'mixins': ['v8_enable_test_features'],
'gn_args': ('is_msan=true msan_track_origins=0 '
'use_prebuilt_instrumented_libraries=true'),
},
'msvc': {
'gn_args': 'is_clang=false',
},
'no_custom_libcxx': {
'gn_args': 'use_custom_libcxx=false',
},
'no_sysroot': {
'gn_args': 'use_sysroot=false',
},
'release': {
'gn_args': 'is_debug=false',
},
'release_bot': {
'mixins': ['release', 'static', 'goma'],
},
'release_trybot': {
'mixins': ['release_bot', 'minimal_symbols', 'dcheck_always_on'],
},
'shared': {
'gn_args': 'is_component_build=true',
},
'simulate_arm': {
'gn_args': 'target_cpu="x86" v8_target_cpu="arm"',
},
'simulate_arm64': {
'gn_args': 'target_cpu="x64" v8_target_cpu="arm64"',
},
'simulate_mipsel': {
'gn_args':
'target_cpu="x86" v8_target_cpu="mipsel" mips_arch_variant="r2"',
},
'simulate_mips64el': {
'gn_args': 'target_cpu="x64" v8_target_cpu="mips64el"',
},
'simulate_ppc64': {
'gn_args': 'target_cpu="x64" v8_target_cpu="ppc64"',
},
'simulate_s390x': {
'gn_args': 'target_cpu="x64" v8_target_cpu="s390x"',
},
'static': {
'gn_args': 'is_component_build=false',
},
# TODO(machenbach): Remove the symbolized config after the bots are gone.
'symbolized': {
'gn_args': 'v8_no_inline=true',
},
'tsan': {
'mixins': ['v8_enable_test_features'],
'gn_args': 'is_tsan=true',
},
'ubsan': {
'mixins': ['v8_enable_test_features'],
# TODO(krasin): Remove is_ubsan_no_recover=true when
# https://llvm.org/bugs/show_bug.cgi?id=25569 is fixed and just use
# ubsan instead.
'gn_args': 'is_ubsan=true is_ubsan_no_recover=true',
},
'ubsan_recover': {
'mixins': ['v8_enable_test_features'],
# Ubsan with recovery.
'gn_args': 'is_ubsan=true is_ubsan_no_recover=false',
},
'ubsan_vptr': {
'mixins': ['v8_enable_test_features'],
# TODO(krasin): Remove is_ubsan_no_recover=true when
# https://llvm.org/bugs/show_bug.cgi?id=25569 is fixed and just use
# ubsan_vptr instead.
'gn_args': 'is_ubsan_vptr=true is_ubsan_no_recover=true',
},
'ubsan_vptr_recover': {
'mixins': ['v8_enable_test_features'],
# Ubsan vptr with recovery.
'gn_args': 'is_ubsan_vptr=true is_ubsan_no_recover=false',
},
'v8_check_header_includes': {
'gn_args': 'v8_check_header_includes=true',
},
'v8_correctness_fuzzer': {
'mixins': ['v8_enable_test_features'],
'gn_args': 'v8_correctness_fuzzer=true v8_multi_arch_build=true',
},
'v8_no_enable_embedded_builtins': {
'gn_args': 'v8_enable_embedded_builtins=false',
},
'v8_enable_lite_mode': {
'gn_args': 'v8_enable_lite_mode=true',
},
'v8_enable_slow_dchecks': {
'gn_args': 'v8_enable_slow_dchecks=true',
},
'v8_enable_pointer_compression': {
'gn_args': 'v8_enable_pointer_compression=true',
},
'v8_enable_test_features': {
'gn_args': 'v8_enable_test_features=true',
},
'v8_enable_verify_predictable': {
'gn_args': 'v8_enable_verify_predictable=true',
},
'v8_enable_vtunejit': {
'gn_args': 'v8_enable_vtunejit=true',
},
'v8_full_debug': {
'gn_args': 'v8_optimized_debug=false',
},
'v8_interpreted_regexp': {
'gn_args': 'v8_interpreted_regexp=true',
},
'v8_optimized_debug': {
# This is the default in gn for debug.
},
'v8_no_i18n': {
'gn_args': 'v8_enable_i18n_support=false icu_use_data_file=false',
},
'v8_snapshot_custom': {
# GN path is relative to project root.
'gn_args': 'v8_embed_script="test/mjsunit/mjsunit.js"',
},
'v8_snapshot_internal': {
'gn_args': 'v8_use_external_startup_data=false',
},
'v8_snapshot_none': {
'gn_args': 'v8_use_snapshot=false',
},
'v8_verify_heap': {
'gn_args': 'v8_enable_verify_heap=true',
},
'v8_verify_csa': {
'gn_args': 'v8_enable_verify_csa=true',
},
's390x': {
'gn_args': 'target_cpu="s390x" v8_target_cpu="s390x"',
},
'ppc64': {
'gn_args': 'target_cpu="ppc64" use_custom_libcxx=false',
},
'x64': {
'gn_args': 'target_cpu="x64"',
},
'x86': {
'gn_args': 'target_cpu="x86"',
},
'sample': {
'gn_args': 'v8_monolithic=true is_component_build=false '
'v8_use_external_startup_data=false use_custom_libcxx=false',
},
},
}