9from __future__
import print_function
15kitchen = os.path.join(os.getcwd(),
'kitchen')
16logdog_url =
'logdog://logs.chromium.org/%s/%s/+/annotations' % (
17 sys.argv[4], os.environ[
'SWARMING_TASK_ID'])
21 '-checkout-dir',
'recipe_bundle',
23 '-luci-system-account',
'system',
24 '-cache-dir',
'cache',
26 '-known-gerrit-host',
'android.googlesource.com',
27 '-known-gerrit-host',
'boringssl.googlesource.com',
28 '-known-gerrit-host',
'chromium.googlesource.com',
29 '-known-gerrit-host',
'dart.googlesource.com',
30 '-known-gerrit-host',
'fuchsia.googlesource.com',
31 '-known-gerrit-host',
'go.googlesource.com',
32 '-known-gerrit-host',
'llvm.googlesource.com',
33 '-known-gerrit-host',
'skia.googlesource.com',
34 '-known-gerrit-host',
'webrtc.googlesource.com',
35 '-recipe', sys.argv[2],
36 '-properties', sys.argv[3],
37 '-logdog-annotation-url', logdog_url,
39print(
'running command: %s' %
' '.
join(cmd))
40subprocess.check_call(cmd)
def print(*args, **kwargs)
static SkString join(const CommandLineFlags::StringArray &)