Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: scripts/slave/compile.py

Issue 2313783003: Revert of Reland 'Add buildbot metadata to compiler_proxy log' (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/slave/goma_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « no previous file | scripts/slave/goma_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698