From aa01a22416923b123b68f19e94c1546b99fa9bb6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 19 Aug 2020 00:09:08 -0700 Subject: [PATCH] Fix BreakpadSymbols again. --- tools/buildbot/BreakpadSymbols | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/buildbot/BreakpadSymbols b/tools/buildbot/BreakpadSymbols index ac0f0e2b..fa585736 100644 --- a/tools/buildbot/BreakpadSymbols +++ b/tools/buildbot/BreakpadSymbols @@ -22,8 +22,13 @@ for cxx_task in cxx_tasks: elif cxx_task.target.platform == 'windows': argv = ['dump_syms.exe', debug_file] - base_file = os.path.split(os.path.dirname(debug_file))[1] - symbol_file = base_file + '.breakpad' + plat_dir = os.path.dirname(debug_file) + bin_dir = os.path.split(plat_dir)[0] + + symbol_file = '{}-{}-{}.breakpad'.format( + os.path.dirname(bin_dir)[1], + cxx_task.target.platform, + cxx_task.target.arch) argv = [sys.executable, UPLOAD_SCRIPT, symbol_file] + argv builder.AddCommand(