Index: tools/mb/mb.py |
diff --git a/tools/mb/mb.py b/tools/mb/mb.py |
index 3ee71030d0086462afe125bf4064fb3a4a160b00..34d3c5468f788d8f76489c94b1d6af34cedb4ee8 100755 |
--- a/tools/mb/mb.py |
+++ b/tools/mb/mb.py |
@@ -995,11 +995,23 @@ class MetaBuildWrapper(object): |
extra_files = [] |
if android and test_type != "script": |
+ logdog_command = [ |
+ './../../bin/logdog_butler', |
+ '-project', 'chromium', |
+ '-output', 'logdog,host=luci-logdog.appspot.com', |
+ '-service-account-json', |
+ '/creds/service_accounts/service-account-luci-logdog-publisher.json' |
+ ] |
+ stream_command = [ |
+ 'stream', '-source', '${ISOLATED_OUTDIR}/logcats', |
+ ] |
cmdline = [ |
self.PathJoin('bin', 'run_%s' % target_name), |
- '--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats', |
+ '--logcat-output-file', '${ISOLATED_OUTDIR}/logcats', |
nicholaslin
2016/07/20 03:04:13
another option here would be to keep the logcat-ou
|
'--target-devices-file', '${SWARMING_BOT_FILE}', |
- '-v', |
+ '--logdog-command', ' '.join(logdog_command), |
+ '--logdog-stream', ' '.join(stream_command), |
+ '-v' |
] |
elif use_x11 and test_type == 'windowed_test_launcher': |
extra_files = [ |