mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
win: Copy dbghelp.dll/dbgcore.dll from the Windows SDK (fixes issue #3356)
This commit is contained in:
@ -42,9 +42,6 @@ patches = [
|
|||||||
#
|
#
|
||||||
# Support custom VS toolchain on Windows.
|
# Support custom VS toolchain on Windows.
|
||||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=623342
|
# https://bugs.chromium.org/p/chromium/issues/detail?id=623342
|
||||||
#
|
|
||||||
# Don't copy dbghelp.dll/dbgcore.dll from the Windows SDK.
|
|
||||||
# https://bitbucket.org/chromiumembedded/cef/issues/3356
|
|
||||||
'name': 'runhooks',
|
'name': 'runhooks',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@ index d2f5798ce6535..64d6d388c9a27 100644
|
|||||||
if (cpu != 'x64'):
|
if (cpu != 'x64'):
|
||||||
# x64 is default target CPU thus any other CPU requires a target set
|
# x64 is default target CPU thus any other CPU requires a target set
|
||||||
diff --git build/vs_toolchain.py build/vs_toolchain.py
|
diff --git build/vs_toolchain.py build/vs_toolchain.py
|
||||||
index a420dad636df4..3bf547aeacf1b 100755
|
index a420dad636df4..f1ef2e914cd5e 100755
|
||||||
--- build/vs_toolchain.py
|
--- build/vs_toolchain.py
|
||||||
+++ build/vs_toolchain.py
|
+++ build/vs_toolchain.py
|
||||||
@@ -112,9 +112,16 @@ def SetEnvironmentAndGetRuntimeDllDirs():
|
@@ -112,9 +112,16 @@ def SetEnvironmentAndGetRuntimeDllDirs():
|
||||||
@ -57,12 +57,3 @@ index a420dad636df4..3bf547aeacf1b 100755
|
|||||||
supported_versions = list(MSVS_VERSIONS.keys())
|
supported_versions = list(MSVS_VERSIONS.keys())
|
||||||
|
|
||||||
# VS installed in depot_tools for Googlers
|
# VS installed in depot_tools for Googlers
|
||||||
@@ -421,7 +432,7 @@ def _CopyDebugger(target_dir, target_cpu):
|
|
||||||
|
|
||||||
# List of debug files that should be copied, the first element of the tuple is
|
|
||||||
# the name of the file and the second indicates if it's optional.
|
|
||||||
- debug_files = [('dbghelp.dll', False), ('dbgcore.dll', True)]
|
|
||||||
+ debug_files = []
|
|
||||||
for debug_file, is_optional in debug_files:
|
|
||||||
full_path = os.path.join(win_sdk_dir, 'Debuggers', target_cpu, debug_file)
|
|
||||||
if not os.path.exists(full_path):
|
|
||||||
|
Reference in New Issue
Block a user