From 59376ea32237f28525173e25fe1ce4a5c19ad659 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 18 Dec 2018 19:43:26 +0900 Subject: [PATCH] Don't require dbghelp.dll --- build/vs_toolchain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py index 2e11811..c919060 100755 --- a/build/vs_toolchain.py +++ b/build/vs_toolchain.py @@ -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):