mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-27 10:03:31 +01:00
Windows: Forbid non-component Debug builds (see issue #2679)
This commit is contained in:
parent
ba46b8c53e
commit
de46befc18
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user