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

Side by Side Diff: lib/src/codegen/code_generator.dart

Issue 1644823002: Remove library tags, they aren't needed (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 dev_compiler.src.codegen.code_generator;
6
7 import 'package:analyzer/src/generated/element.dart' 5 import 'package:analyzer/src/generated/element.dart'
8 show CompilationUnitElement, LibraryElement; 6 show CompilationUnitElement, LibraryElement;
9 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext; 7 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext;
10 import 'package:path/path.dart' as path; 8 import 'package:path/path.dart' as path;
11 9
12 import '../compiler.dart' show AbstractCompiler; 10 import '../compiler.dart' show AbstractCompiler;
13 import '../info.dart'; 11 import '../info.dart';
14 import '../utils.dart' show canonicalLibraryName; 12 import '../utils.dart' show canonicalLibraryName;
15 import '../options.dart' show CodegenOptions; 13 import '../options.dart' show CodegenOptions;
16 14
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Not a package. 115 // Not a package.
118 // TODO(leafp) These may need to be adjusted 116 // TODO(leafp) These may need to be adjusted
119 // relative to the import location 117 // relative to the import location
120 return new Uri(path: suffix); 118 return new Uri(path: suffix);
121 } 119 }
122 assert(index == 0); 120 assert(index == 0);
123 return new Uri( 121 return new Uri(
124 scheme: 'package', path: path.joinAll(parts.sublist(index + 1))); 122 scheme: 'package', path: path.joinAll(parts.sublist(index + 1)));
125 } 123 }
126 } 124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698