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

Side by Side Diff: pkg/kernel/tool/dartk.dart

Issue 2842643002: Move dartk to the tool folder (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « pkg/kernel/test/batch_consistency.dart ('k') | tools/dartk_wrappers/dartk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2016, 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 'dart:async'; 6 import 'dart:async';
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'batch_util.dart'; 9 import '../bin/batch_util.dart';
Siggi Cherem (dart-lang) 2017/04/24 23:20:37 I only moved dartk to fix the package-dependency i
10 import 'util.dart'; 10 import '../bin/util.dart';
11 11
12 import 'package:args/args.dart'; 12 import 'package:args/args.dart';
13 import 'package:analyzer/src/kernel/loader.dart'; 13 import 'package:analyzer/src/kernel/loader.dart';
14 import 'package:kernel/application_root.dart'; 14 import 'package:kernel/application_root.dart';
15 import 'package:kernel/verifier.dart'; 15 import 'package:kernel/verifier.dart';
16 import 'package:kernel/kernel.dart'; 16 import 'package:kernel/kernel.dart';
17 import 'package:kernel/log.dart'; 17 import 'package:kernel/log.dart';
18 import 'package:kernel/target/targets.dart'; 18 import 'package:kernel/target/targets.dart';
19 import 'package:kernel/transformations/treeshaker.dart'; 19 import 'package:kernel/transformations/treeshaker.dart';
20 import 'package:path/path.dart' as path; 20 import 'package:path/path.dart' as path;
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 int flushTime = watch.elapsedMilliseconds - time; 445 int flushTime = watch.elapsedMilliseconds - time;
446 print('writer.flush_time = $flushTime ms'); 446 print('writer.flush_time = $flushTime ms');
447 } 447 }
448 448
449 if (options['tolerant']) { 449 if (options['tolerant']) {
450 return CompilerOutcome.Ok; 450 return CompilerOutcome.Ok;
451 } 451 }
452 452
453 return errors.length > 0 ? CompilerOutcome.Fail : CompilerOutcome.Ok; 453 return errors.length > 0 ? CompilerOutcome.Fail : CompilerOutcome.Ok;
454 } 454 }
OLDNEW
« no previous file with comments | « pkg/kernel/test/batch_consistency.dart ('k') | tools/dartk_wrappers/dartk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698