Windows: Forbid non-component Debug builds (see issue #2679)

This commit is contained in:
Marshall Greenblatt 2021-06-11 11:52:44 -04:00
parent ba46b8c53e
commit de46befc18

View File

@ -207,9 +207,6 @@ def GetRecommendedDefaultArgs():
# distribution.
'is_component_build': False,
# Don't enforce component builds in debug mode.
'forbid_non_component_debug_builds': False,
# Specify the current PGO phase. Default is 0 (turned off) for normal
# builds and 2 (used during the optimization phase) for official Windows
# and macOS builds. Currently turned off for CEF because it requires
@ -228,6 +225,12 @@ def GetRecommendedDefaultArgs():
'enable_resource_allowlist_generation': False,
}
if platform != 'windows':
# Only allow non-component Debug builds on non-Windows platforms. These
# builds will fail on Windows due to linker issues (running out of memory,
# etc). See https://bitbucket.org/chromiumembedded/cef/issues/2679.
result['forbid_non_component_debug_builds'] = False
if platform == 'linux':
# Use a sysroot environment. Default is true. False is recommended for local
# builds.