diff --git a/support/buildbot/BreakpadSymbols b/support/buildbot/BreakpadSymbols index 4e35296..7d5ab39 100644 --- a/support/buildbot/BreakpadSymbols +++ b/support/buildbot/BreakpadSymbols @@ -7,17 +7,17 @@ UPLOAD_SCRIPT = os.path.join(builder.sourcePath, 'support', 'buildbot', 'upload_ cxx_tasks = MMS.binaries for cxx_task in cxx_tasks: - if builder.target_platform in ['windows']: + if builder.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 builder.target.platform == 'linux': argv = ['dump_syms', debug_file, os.path.dirname(debug_file)] - elif builder.target_platform == 'mac': + elif builder.target.platform == 'mac': argv = ['dump_syms', debug_file + '.dSYM'] - elif builder.target_platform == 'windows': + elif builder.target.platform == 'windows': argv = ['dump_syms.exe', debug_file] base_file = os.path.splitext(os.path.basename(debug_file))[0]