* Add WebAssembly jitless mode support with DrumBrake - Create v8 buildflags component for DrumBrake feature detection - Add kBraveWebAssemblyJitless feature flag for chrome://flags - Add kBraveV8OptimizerJit feature flag to control JIT vs jitless mode - Implement IsJitDisabledForSite() to tie V8 optimizer settings to JIT control - Enable --wasm-jitless switch when WebAssembly jitless feature is enabled - Update about_flags.cc with new WebAssembly and V8 JIT configuration options
14 lines
487 B
Plaintext
14 lines
487 B
Plaintext
# Copyright (c) 2025 The Brave Authors. All rights reserved.
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
# You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
import("//brave/build/config.gni")
|
|
import("//build/buildflag_header.gni")
|
|
import("//v8/gni/v8.gni")
|
|
|
|
buildflag_header("buildflags") {
|
|
header = "buildflags.h"
|
|
flags = [ "BRAVE_V8_ENABLE_DRUMBRAKE=$v8_enable_drumbrake" ]
|
|
}
|