Skip to content

Commit

Permalink
Don't require dbghelp.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Dec 18, 2018
1 parent d811446 commit 59376ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/vs_toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,8 @@ 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)]
# PATCH(build-gn): We don't want dbghelp.
debug_files = [('dbghelp.dll', True), ('dbgcore.dll', True)]
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):
Expand Down

0 comments on commit 59376ea

Please sign in to comment.