OLD | NEW |
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) 2011, 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(): |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 if exit_code: | 54 if exit_code: |
55 return exit_code | 55 return exit_code |
56 | 56 |
57 exit_code = os.system("python %(compiler)s/generate_source_list.py " | 57 exit_code = os.system("python %(compiler)s/generate_source_list.py " |
58 "compiler_corelib " | 58 "compiler_corelib " |
59 "%(compiler)s/compiler_corelib_sources " | 59 "%(compiler)s/compiler_corelib_sources " |
60 "lib" % locations) | 60 "lib" % locations) |
61 if exit_code: | 61 if exit_code: |
62 return exit_code | 62 return exit_code |
63 | 63 |
64 exit_code = os.system("python %(compiler)s/generate_source_list.py " | |
65 "closure_compiler_src %(compiler)s/closure_compiler_sour
ces " | |
66 "../third_party/closure_compiler_src " | |
67 "build javadoc test" | |
68 % locations) | |
69 if exit_code: | |
70 return exit_code | |
71 | |
72 if '--no-gyp' in sys.argv: | 64 if '--no-gyp' in sys.argv: |
73 print '--no-gyp is deprecated.' | 65 print '--no-gyp is deprecated.' |
74 | 66 |
75 return exit_code | 67 return exit_code |
76 | 68 |
77 | 69 |
78 if __name__ == '__main__': | 70 if __name__ == '__main__': |
79 sys.exit(Main()) | 71 sys.exit(Main()) |
OLD | NEW |