| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:io'; | 5 import 'dart:io'; |
| 6 | 6 |
| 7 import 'package:front_end/src/codegen/tools.dart'; | 7 import 'package:front_end/src/codegen/tools.dart'; |
| 8 import 'package:path/path.dart'; | 8 import 'package:path/path.dart'; |
| 9 | 9 |
| 10 import 'codegen_dart_protocol.dart' as codegen_dart_protocol; | 10 import 'codegen_dart_protocol.dart' as codegen_dart_protocol; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 String script = Platform.script.toFilePath(windows: Platform.isWindows); | 21 String script = Platform.script.toFilePath(windows: Platform.isWindows); |
| 22 String pkgPath = normalize(join(dirname(script), '..', '..')); | 22 String pkgPath = normalize(join(dirname(script), '..', '..')); |
| 23 GeneratedContent.generateAll(pkgPath, allTargets); | 23 GeneratedContent.generateAll(pkgPath, allTargets); |
| 24 } | 24 } |
| 25 | 25 |
| 26 /** | 26 /** |
| 27 * Get a list of all generated targets. | 27 * Get a list of all generated targets. |
| 28 */ | 28 */ |
| 29 List<GeneratedContent> get allTargets { | 29 List<GeneratedContent> get allTargets { |
| 30 List<GeneratedContent> targets = <GeneratedContent>[]; | 30 List<GeneratedContent> targets = <GeneratedContent>[]; |
| 31 targets.add(codegen_dart_protocol.target); | 31 targets.add(codegen_dart_protocol.target(true)); |
| 32 targets.add(codegen_inttest_methods.target); | 32 targets.add(codegen_inttest_methods.target); |
| 33 targets.add(codegen_matchers.target); | 33 targets.add(codegen_matchers.target); |
| 34 targets.add(codegen_protocol_common.target); | 34 targets.add(codegen_protocol_common.target(true)); |
| 35 targets.add(codegen_protocol_constants.target); | 35 targets.add(codegen_protocol_constants.target); |
| 36 targets.add(to_html.target); | 36 targets.add(to_html.target); |
| 37 return targets; | 37 return targets; |
| 38 } | 38 } |
| OLD | NEW |