| Index: scripts/slave/compile.py
|
| diff --git a/scripts/slave/compile.py b/scripts/slave/compile.py
|
| index 8e01d0ced52935ab3e61adb38048f27f5ccfe4a6..e68649cebd3496e16bfd6eb8c736b7cbae14b04b 100755
|
| --- a/scripts/slave/compile.py
|
| +++ b/scripts/slave/compile.py
|
| @@ -101,13 +101,8 @@
|
| chromium_utils.RunCommand(goma_ctl_cmd + ['stop'], env=env)
|
| override_gsutil = None
|
| if options.gsutil_py_path:
|
| - # Needs to add '--', otherwise gsutil options will be passed to gsutil.py.
|
| - override_gsutil = [sys.executable, options.gsutil_py_path, '--']
|
| - goma_utils.UploadGomaCompilerProxyInfo(override_gsutil=override_gsutil,
|
| - builder=options.buildbot_buildername,
|
| - master=options.buildbot_mastername,
|
| - slave=options.buildbot_slavename,
|
| - clobber=options.buildbot_clobber)
|
| + override_gsutil = [sys.executable, options.gsutil_py_path]
|
| + goma_utils.UploadGomaCompilerProxyInfo(override_gsutil=override_gsutil)
|
|
|
| # Upload GomaStats to make it monitored.
|
| if env.get('GOMA_DUMP_STATS_FILE'):
|
| @@ -436,8 +431,7 @@
|
| finally:
|
| override_gsutil = None
|
| if options.gsutil_py_path:
|
| - # Needs to add '--', otherwise gsutil options will be passed to gsutil.py.
|
| - override_gsutil = [sys.executable, options.gsutil_py_path, '--']
|
| + override_gsutil = [sys.executable, options.gsutil_py_path]
|
|
|
| goma_utils.UploadNinjaLog(
|
| options.target_output_dir, options.compiler, command, exit_status,
|
| @@ -506,8 +500,7 @@
|
| option_parser.add_option('--goma-jobs', default=None,
|
| help='The number of jobs for ninja -j.')
|
| option_parser.add_option('--gsutil-py-path',
|
| - help='Specify path to gsutil.py script '
|
| - 'in depot_tools.')
|
| + help='Specify path to gsutil.py script.')
|
| option_parser.add_option('--ninja-path', default='ninja',
|
| help='Specify path to the ninja tool.')
|
| option_parser.add_option('--ninja-ensure-up-to-date', action='store_true',
|
|
|