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: compiler/scripts/generate_my_projects.py

Issue 10005005: Removes remants of precompiled .jar files from dartc build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « compiler/dartc.xml ('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 (c) 2011, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 import os 6 import os
7 import sys 7 import sys
8 8
9 9
10 def Main(): 10 def Main():
11 def normjoin(*args): 11 def normjoin(*args):
12 return os.path.normpath(os.path.join(*args)) 12 return os.path.normpath(os.path.join(*args))
(...skipping 10 matching lines...) Expand all
23 if exit_code: 23 if exit_code:
24 return exit_code 24 return exit_code
25 25
26 26
27 exit_code = os.system("python %(compiler)s/generate_source_list.py " 27 exit_code = os.system("python %(compiler)s/generate_source_list.py "
28 "javatests %(compiler)s/test_sources javatests" 28 "javatests %(compiler)s/test_sources javatests"
29 % locations) 29 % locations)
30 if exit_code: 30 if exit_code:
31 return exit_code 31 return exit_code
32 32
33 exit_code = os.system("python %(compiler)s/generate_source_list.py "
34 "corelib %(compiler)s/corelib_sources ../corelib/src"
35 % locations)
36 if exit_code: 33 if exit_code:
37 return exit_code 34 return exit_code
38 35
39 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py "
40 "domlib %(compiler)s/domlib_sources ../lib/dom dom.dart"
41 % locations)
42 if exit_code:
43 return exit_code
44
45 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py "
46 "htmllib %(compiler)s/htmllib_sources ../lib/html/releas e html.dart"
47 % locations)
48 if exit_code:
49 return exit_code
50
51 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py "
52 "jsonlib %(compiler)s/jsonlib_sources ../lib/json json.d art"
53 % locations)
54 if exit_code:
55 return exit_code
56
57 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py "
58 "isolatelib %(compiler)s/isolatelib_sources ../lib/isola te isolate_compiler.dart"
59 % locations)
60 if exit_code:
61 return exit_code
62
63 exit_code = os.system("python %(compiler)s/generate_source_list.py "
64 "compiler_corelib "
65 "%(compiler)s/compiler_corelib_sources "
66 "lib" % locations)
67 if exit_code:
68 return exit_code
69
70 if '--no-gyp' in sys.argv: 36 if '--no-gyp' in sys.argv:
71 print '--no-gyp is deprecated.' 37 print '--no-gyp is deprecated.'
72 38
73 return exit_code 39 return exit_code
74 40
75 41
76 if __name__ == '__main__': 42 if __name__ == '__main__':
77 sys.exit(Main()) 43 sys.exit(Main())
OLDNEW
« no previous file with comments | « compiler/dartc.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698