Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: pkg/analyzer_plugin/tool/spec/generate_all.dart

Issue 2664213003: Add the generator and the generated files (Closed)
Patch Set: add missed files Created 3 years, 10 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
OLDNEW
(Empty)
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
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.
4
5 import 'dart:io';
6
7 import 'package:analyzer/src/codegen/tools.dart';
8 import 'package:path/path.dart';
9
10 import 'codegen_dart_protocol.dart' as codegen_dart_protocol;
11 import 'codegen_inttest_methods.dart' as codegen_inttest_methods;
12 import 'codegen_matchers.dart' as codegen_matchers;
13 import 'codegen_protocol_constants.dart' as codegen_protocol_constants;
14 import 'to_html.dart' as to_html;
15
16 /**
17 * Generate all targets.
18 */
19 main() {
20 String script = Platform.script.toFilePath(windows: Platform.isWindows);
21 String pkgPath = normalize(join(dirname(script), '..', '..'));
22 GeneratedContent.generateAll(pkgPath, allTargets);
23 }
24
25 /**
26 * Get a list of all generated targets.
27 */
28 List<GeneratedContent> get allTargets {
29 List<GeneratedContent> targets = <GeneratedContent>[];
30 // targets.add(codegen_analysis_server.target);
31 targets.add(codegen_dart_protocol.target);
32 targets.add(codegen_inttest_methods.target);
33 targets.add(codegen_matchers.target);
34 targets.add(codegen_protocol_constants.target);
35 targets.add(to_html.target);
36 return targets;
37 }
OLDNEW
« no previous file with comments | « pkg/analyzer_plugin/tool/spec/from_html.dart ('k') | pkg/analyzer_plugin/tool/spec/generate_files » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698