diff --git a/tools/buildbot/BreakpadSymbols b/tools/buildbot/BreakpadSymbols index 1e4af3b4..ac0f0e2b 100644 --- a/tools/buildbot/BreakpadSymbols +++ b/tools/buildbot/BreakpadSymbols @@ -7,19 +7,19 @@ UPLOAD_SCRIPT = os.path.join(builder.sourcePath, 'tools', 'buildbot', 'upload_sy cxx_tasks = SM.binaries + SM.extensions + [SM.spcomp] for cxx_task in cxx_tasks: - if builder.target.platform in ['windows']: + if cxx_task.target.platform in ['windows']: debug_entry = cxx_task.debug else: debug_entry = cxx_task.binary debug_file = os.path.join(builder.buildPath, debug_entry.path) - if builder.target.platform == 'linux': + if cxx_task.target.platform == 'linux': argv = ['dump_syms', debug_file, os.path.dirname(debug_file)] - elif builder.target.platform == 'mac': + elif cxx_task.target.platform == 'mac': # Required once dump_syms is updated on the slaves. #argv = ['dump_syms', '-g', debug_file + '.dSYM', debug_file] argv = ['dump_syms', debug_file + '.dSYM'] - elif builder.target.platform == 'windows': + elif cxx_task.target.platform == 'windows': argv = ['dump_syms.exe', debug_file] base_file = os.path.split(os.path.dirname(debug_file))[1]