OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/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 """This is the entry point to create Dart APIs from the IDL database.""" | 6 """This is the entry point to create Dart APIs from the IDL database.""" |
7 | 7 |
8 import dartgenerator | 8 import dartgenerator |
9 import database | 9 import database |
10 import fremontcutbuilder | 10 import fremontcutbuilder |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 GenerateSingleFile( | 224 GenerateSingleFile( |
225 os.path.join(dart2js_output_dir, '%s_dart2js.dart' % library_name), | 225 os.path.join(dart2js_output_dir, '%s_dart2js.dart' % library_name), |
226 os.path.join('..', '..', '..', 'sdk', 'lib', library_name, 'dart2js')) | 226 os.path.join('..', '..', '..', 'sdk', 'lib', library_name, 'dart2js')) |
227 if 'htmldartium' in systems: | 227 if 'htmldartium' in systems: |
228 _logger.info('Generating dartium single files.') | 228 _logger.info('Generating dartium single files.') |
229 for library_name in HTML_LIBRARY_NAMES: | 229 for library_name in HTML_LIBRARY_NAMES: |
230 GenerateSingleFile( | 230 GenerateSingleFile( |
231 os.path.join(dartium_output_dir, '%s_dartium.dart' % library_name), | 231 os.path.join(dartium_output_dir, '%s_dartium.dart' % library_name), |
232 os.path.join('..', '..', '..', 'sdk', 'lib', library_name, 'dartium')) | 232 os.path.join('..', '..', '..', 'sdk', 'lib', library_name, 'dartium')) |
233 GenerateSingleFile( | 233 GenerateSingleFile( |
234 os.path.join(dartium_output_dir, 'blink_dartium.dart'), | 234 os.path.join(dartium_output_dir, '_blink_dartium.dart'), |
235 os.path.join('..', '..', '..', 'sdk', 'lib', 'blink', 'dartium')) | 235 os.path.join('..', '..', '..', 'sdk', 'lib', '_blink', 'dartium')) |
236 | 236 |
237 if __name__ == '__main__': | 237 if __name__ == '__main__': |
238 sys.exit(main()) | 238 sys.exit(main()) |
OLD | NEW |