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

Side by Side Diff: tools/dartium/build.py

Issue 2875773003: Roll 50: Updated for push to origin/master. (Closed)
Patch Set: Roll 50: Updated to latest Created 3 years, 7 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2010 Google Inc. All Rights Reserved. 3 # Copyright 2010 Google Inc. All Rights Reserved.
4 4
5 # This file is used by the buildbot. 5 # This file is used by the buildbot.
6 6
7 import optparse 7 import optparse
8 import os.path 8 import os.path
9 import utils 9 import utils
10 10
11 ALL_TARGETS = [ 11 ALL_TARGETS = [
12 'content_shell', 12 'content_shell',
13 'chrome', 13 'chrome',
14 'blink_tests', 14 'blink_tests',
15 'chromedriver'
15 ] 16 ]
16 17
17 def main(): 18 def main():
18 parser = optparse.OptionParser() 19 parser = optparse.OptionParser()
19 parser.add_option('--target', dest='target', 20 parser.add_option('--target', dest='target',
20 default='all', 21 default='all',
21 action='store', type='string', 22 action='store', type='string',
22 help='Target (%s)' % ', '.join(ALL_TARGETS)) 23 help='Target (%s)' % ', '.join(ALL_TARGETS))
23 parser.add_option('--mode', dest='mode', 24 parser.add_option('--mode', dest='mode',
24 action='store', type='string', 25 action='store', type='string',
(...skipping 22 matching lines...) Expand all
47 utils.runCommand(['rm', '-rf', 'out']) 48 utils.runCommand(['rm', '-rf', 'out'])
48 49
49 utils.runCommand(['ninja', 50 utils.runCommand(['ninja',
50 '-j%s' % jobs, 51 '-j%s' % jobs,
51 '-C', 52 '-C',
52 os.path.join('out', mode)] 53 os.path.join('out', mode)]
53 + targets) 54 + targets)
54 55
55 if __name__ == '__main__': 56 if __name__ == '__main__':
56 main() 57 main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698