Consolidate arguments that change together on branch cut
Bug: v8:12405 Change-Id: I00f727ad5172d08f430b5dc2b7a348cbec344c4a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3401721 Reviewed-by: Lutz Vahl <vahl@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Liviu Rau <liviurau@chromium.org> Cr-Commit-Position: refs/heads/main@{#78696}
This commit is contained in:
parent
d4dd9cd68b
commit
cab1c91c3e
2
BUILD.gn
2
BUILD.gn
@ -83,7 +83,7 @@ declare_args() {
|
||||
v8_enable_hugepage = false
|
||||
|
||||
# Sets -dENABLE_HANDLE_ZAPPING.
|
||||
v8_enable_handle_zapping = true
|
||||
v8_enable_handle_zapping = !is_on_release_branch || is_debug
|
||||
|
||||
# Enable slow dchecks.
|
||||
v8_enable_slow_dchecks = false
|
||||
|
@ -1 +1,3 @@
|
||||
file:../INFRA_OWNERS
|
||||
|
||||
per-file release_branch_toggle.gni=v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com
|
7
gni/release_branch_toggle.gni
Normal file
7
gni/release_branch_toggle.gni
Normal file
@ -0,0 +1,7 @@
|
||||
# Copyright 2022 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.
|
||||
|
||||
declare_args() {
|
||||
is_on_release_branch = false
|
||||
}
|
@ -6,6 +6,7 @@ import("//build/config/gclient_args.gni")
|
||||
import("//build/config/sanitizers/sanitizers.gni")
|
||||
import("//build/config/v8_target_cpu.gni")
|
||||
import("split_static_library.gni")
|
||||
import("release_branch_toggle.gni")
|
||||
|
||||
declare_args() {
|
||||
# Set flags for tracking code coverage. Uses gcov with gcc and sanitizer
|
||||
@ -73,7 +74,7 @@ declare_args() {
|
||||
v8_enable_webassembly = ""
|
||||
|
||||
# Enable runtime call stats.
|
||||
v8_enable_runtime_call_stats = true
|
||||
v8_enable_runtime_call_stats = !is_on_release_branch
|
||||
|
||||
# Add fuzzilli fuzzer support.
|
||||
v8_fuzzilli = false
|
||||
|
@ -5,6 +5,8 @@
|
||||
#ifndef V8_LOGGING_RUNTIME_CALL_STATS_H_
|
||||
#define V8_LOGGING_RUNTIME_CALL_STATS_H_
|
||||
|
||||
#include "src/base/macros.h"
|
||||
|
||||
#ifdef V8_RUNTIME_CALL_STATS
|
||||
|
||||
#include "src/base/atomic-utils.h"
|
||||
|
Loading…
Reference in New Issue
Block a user