| 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 25 matching lines...) Expand all Loading... |
| 36 if exit_code: | 36 if exit_code: |
| 37 return exit_code | 37 return exit_code |
| 38 | 38 |
| 39 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py " | 39 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py " |
| 40 "domlib %(compiler)s/domlib_sources ../client/dom dom.da
rt" | 40 "domlib %(compiler)s/domlib_sources ../client/dom dom.da
rt" |
| 41 % locations) | 41 % locations) |
| 42 if exit_code: | 42 if exit_code: |
| 43 return exit_code | 43 return exit_code |
| 44 | 44 |
| 45 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py " | 45 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py " |
| 46 "htmllib %(compiler)s/htmllib_sources ../client/html/rel
ease html.dart htmlimpl.dart" | 46 "htmllib %(compiler)s/htmllib_sources ../client/html/rel
ease html.dart" |
| 47 % locations) | 47 % locations) |
| 48 if exit_code: | 48 if exit_code: |
| 49 return exit_code | 49 return exit_code |
| 50 | 50 |
| 51 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py " | 51 exit_code = os.system("python %(compiler)s/generate_systemlibrary_list.py " |
| 52 "jsonlib %(compiler)s/jsonlib_sources ../lib/json json.d
art" | 52 "jsonlib %(compiler)s/jsonlib_sources ../lib/json json.d
art" |
| 53 % locations) | 53 % locations) |
| 54 if exit_code: | 54 if exit_code: |
| 55 return exit_code | 55 return exit_code |
| 56 | 56 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 68 return exit_code | 68 return exit_code |
| 69 | 69 |
| 70 if '--no-gyp' in sys.argv: | 70 if '--no-gyp' in sys.argv: |
| 71 print '--no-gyp is deprecated.' | 71 print '--no-gyp is deprecated.' |
| 72 | 72 |
| 73 return exit_code | 73 return exit_code |
| 74 | 74 |
| 75 | 75 |
| 76 if __name__ == '__main__': | 76 if __name__ == '__main__': |
| 77 sys.exit(Main()) | 77 sys.exit(Main()) |
| OLD | NEW |