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

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

Issue 2346163005: Remove package root target and support scripts (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 unified diff | Download patch
« no previous file with comments | « tools/bots/run_android_tests.sh ('k') | tools/list_pkg_directories.py » ('j') | 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 # 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 'pkg_packages',
16 ] 15 ]
17 16
18 def main(): 17 def main():
19 parser = optparse.OptionParser() 18 parser = optparse.OptionParser()
20 parser.add_option('--target', dest='target', 19 parser.add_option('--target', dest='target',
21 default='all', 20 default='all',
22 action='store', type='string', 21 action='store', type='string',
23 help='Target (%s)' % ', '.join(ALL_TARGETS)) 22 help='Target (%s)' % ', '.join(ALL_TARGETS))
24 parser.add_option('--mode', dest='mode', 23 parser.add_option('--mode', dest='mode',
25 action='store', type='string', 24 action='store', type='string',
(...skipping 22 matching lines...) Expand all
48 utils.runCommand(['rm', '-rf', 'out']) 47 utils.runCommand(['rm', '-rf', 'out'])
49 48
50 utils.runCommand(['ninja', 49 utils.runCommand(['ninja',
51 '-j%s' % jobs, 50 '-j%s' % jobs,
52 '-C', 51 '-C',
53 os.path.join('out', mode)] 52 os.path.join('out', mode)]
54 + targets) 53 + targets)
55 54
56 if __name__ == '__main__': 55 if __name__ == '__main__':
57 main() 56 main()
OLDNEW
« no previous file with comments | « tools/bots/run_android_tests.sh ('k') | tools/list_pkg_directories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698