795ce44ec7
dartk and other command-line tools no longer rely on analyzer classes like AnalysisContext or DartSdk, and instead use only the interface defined in loader.dart. The class AnalyzerLoader has been renamed to DartLoader. The sharing of state in batch mode is now owned by loader.dart, so dartk.dart does not deal with DartSdk and package_config. Repository no longer has a package or SDK path. These concepts are now specific to the Dart frontend. Consequently, loading a binary file no longer relies on URI resolution. The Repository class is now more clearly focused on linking symbolic names to their IR objects, which for the time being is only URI-to-library bindings, but should be extended to support linking class and member references across different files and different loaders. BUG= R=kmillikin@google.com Review URL: https://chromereviews.googleplex.com/512907013 .