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

Side by Side Diff: pkg/compiler/lib/src/apiimpl.dart

Issue 1212513002: sdk files reorganization to make dart2js a proper package (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: renamed Created 5 years, 5 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
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 leg_apiimpl; 5 library leg_apiimpl;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import '../compiler.dart' as api; 10 import '../compiler.dart' as api;
11 import 'dart2jslib.dart' as leg; 11 import 'dart2jslib.dart' as leg;
12 import 'tree/tree.dart' as tree; 12 import 'tree/tree.dart' as tree;
13 import 'elements/elements.dart' as elements; 13 import 'elements/elements.dart' as elements;
14 import 'package:_internal/libraries.dart' hide LIBRARIES; 14 import 'package:sdk_library_metadata/libraries.dart' hide LIBRARIES;
15 import 'package:_internal/libraries.dart' as library_info show LIBRARIES; 15 import 'package:sdk_library_metadata/libraries.dart' as library_info show LIBRAR IES;
16 import 'io/source_file.dart'; 16 import 'io/source_file.dart';
17 import 'package:package_config/packages.dart'; 17 import 'package:package_config/packages.dart';
18 import 'package:package_config/packages_file.dart' as pkgs; 18 import 'package:package_config/packages_file.dart' as pkgs;
19 import 'package:package_config/src/packages_impl.dart' 19 import 'package:package_config/src/packages_impl.dart'
20 show NonFilePackagesDirectoryPackages, MapPackages; 20 show NonFilePackagesDirectoryPackages, MapPackages;
21 import 'package:package_config/src/util.dart' show checkValidPackageUri; 21 import 'package:package_config/src/util.dart' show checkValidPackageUri;
22 22
23 const bool forceIncrementalSupport = 23 const bool forceIncrementalSupport =
24 const bool.fromEnvironment('DART2JS_EXPERIMENTAL_INCREMENTAL_SUPPORT'); 24 const bool.fromEnvironment('DART2JS_EXPERIMENTAL_INCREMENTAL_SUPPORT');
25 25
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 print('$message: ${tryToString(exception)}'); 469 print('$message: ${tryToString(exception)}');
470 print(tryToString(stackTrace)); 470 print(tryToString(stackTrace));
471 } 471 }
472 472
473 fromEnvironment(String name) => environment[name]; 473 fromEnvironment(String name) => environment[name];
474 474
475 LibraryInfo lookupLibraryInfo(String libraryName) { 475 LibraryInfo lookupLibraryInfo(String libraryName) {
476 return library_info.LIBRARIES[libraryName]; 476 return library_info.LIBRARIES[libraryName];
477 } 477 }
478 } 478 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698