Set dcheck_always_on=false for cef_sandbox Release builds (fixes issue #3302)

This commit is contained in:
Marshall Greenblatt 2022-03-31 16:11:25 -04:00
parent 3f796b8bc7
commit 71e9523743
1 changed files with 4 additions and 0 deletions

View File

@ -503,6 +503,10 @@ def GetConfigArgsSandbox(platform, args, is_debug, cpu):
# Allow non-component Debug builds for the sandbox. # Allow non-component Debug builds for the sandbox.
add_args['forbid_non_component_debug_builds'] = False add_args['forbid_non_component_debug_builds'] = False
if not is_debug:
# Disable DCHECKs in Release builds.
add_args['dcheck_always_on'] = False
result = MergeDicts(args, add_args, { result = MergeDicts(args, add_args, {
'is_debug': is_debug, 'is_debug': is_debug,
'target_cpu': cpu, 'target_cpu': cpu,