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

Side by Side Diff: tools/gn.py

Issue 2412163002: GN: Add commands to bot scripts (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « tools/bots/gn_tests.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The Dart project authors. All rights reserved. 2 # Copyright 2016 The Dart project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 import multiprocessing 7 import multiprocessing
8 import os 8 import os
9 import subprocess 9 import subprocess
10 import sys 10 import sys
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 print r.strip() 312 print r.strip()
313 return 1 313 return 1
314 314
315 endtime = time.time() 315 endtime = time.time()
316 if args.verbose: 316 if args.verbose:
317 print ("GN Time: %.3f seconds" % (endtime - starttime)) 317 print ("GN Time: %.3f seconds" % (endtime - starttime))
318 return 0 318 return 0
319 319
320 320
321 if __name__ == '__main__': 321 if __name__ == '__main__':
322 sys.exit(main(sys.argv)) 322 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « tools/bots/gn_tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698