Set dcheck_always_on=false for cef_sandbox Release builds (fixes issue #3302)
This commit is contained in:
parent
3f796b8bc7
commit
71e9523743
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue