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

Side by Side Diff: dart/tests/compiler/dart2js/analyze_helper.dart

Issue 341923005: Update imports to use package:compiler and package:try. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r37512. Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library analyze_helper; 5 library analyze_helper;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import '../../../sdk/lib/_internal/compiler/compiler.dart' as api; 9 import 'package:compiler/compiler.dart' as api;
10 import '../../../sdk/lib/_internal/compiler/implementation/apiimpl.dart'; 10 import 'package:compiler/implementation/apiimpl.dart';
11 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' 11 import 'package:compiler/implementation/dart2jslib.dart'
12 hide Compiler; 12 hide Compiler;
13 import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart'; 13 import 'package:compiler/implementation/filenames.dart';
14 import '../../../sdk/lib/_internal/compiler/implementation/source_file_provider. dart'; 14 import 'package:compiler/implementation/source_file_provider.dart';
15 import '../../../sdk/lib/_internal/compiler/implementation/util/uri_extras.dart' ; 15 import 'package:compiler/implementation/util/uri_extras.dart';
16 16
17 /** 17 /**
18 * Map of whitelisted warnings and errors. 18 * Map of whitelisted warnings and errors.
19 * 19 *
20 * Only add a whitelisting together with a bug report to dartbug.com and add 20 * Only add a whitelisting together with a bug report to dartbug.com and add
21 * the bug issue number as a comment on the whitelisting. 21 * the bug issue number as a comment on the whitelisting.
22 * 22 *
23 * Use an identifiable suffix of the file uri as key. Use a fixed substring of 23 * Use an identifiable suffix of the file uri as key. Use a fixed substring of
24 * the error/warning message in the list of whitelistings for each file. 24 * the error/warning message in the list of whitelistings for each file.
25 */ 25 */
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 exit(1); 183 exit(1);
184 } 184 }
185 } 185 }
186 if (analyzeAll) { 186 if (analyzeAll) {
187 compiler.librariesToAnalyzeWhenRun = uriList; 187 compiler.librariesToAnalyzeWhenRun = uriList;
188 return compiler.run(null).then(onCompletion); 188 return compiler.run(null).then(onCompletion);
189 } else { 189 } else {
190 return compiler.run(uriList.single).then(onCompletion); 190 return compiler.run(uriList.single).then(onCompletion);
191 } 191 }
192 } 192 }
OLDNEW
« no previous file with comments | « dart/tests/compiler/dart2js/analyze_dart2js_test.dart ('k') | dart/tests/compiler/dart2js/analyze_only_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698