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

Side by Side Diff: packages/web_components/lib/build/html_import_annotation_recorder.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 4 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 | « packages/web_components/lib/build.log ('k') | packages/web_components/lib/package.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 library web_components.build.html_import_recorder_inliner; 4 library web_components.build.html_import_recorder_inliner;
5 5
6 import 'package:analyzer/src/generated/element.dart'; 6 import 'package:analyzer/dart/element/element.dart';
7 import 'package:analyzer/dart/element/type.dart';
7 import 'package:initialize/transformer.dart'; 8 import 'package:initialize/transformer.dart';
8 import 'package:path/path.dart' as path; 9 import 'package:path/path.dart' as path;
9 import '../src/normalize_path.dart'; 10 import '../src/normalize_path.dart';
10 11
11 /// [InitializerPlugin] for @HtmlImport annotations. This records all paths 12 /// [InitializerPlugin] for @HtmlImport annotations. This records all paths
12 /// seen, normalizes them relative to the entry point, and records the values in 13 /// seen, normalizes them relative to the entry point, and records the values in
13 /// [importPaths]. 14 /// [importPaths].
14 /// 15 ///
15 /// Note: This does nothing with the paths on its own, a separate step needs to 16 /// Note: This does nothing with the paths on its own, a separate step needs to
16 /// add the imports to the entry point document. 17 /// add the imports to the entry point document.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 return null; 93 return null;
93 } 94 }
94 95
95 importPaths 96 importPaths
96 .add(normalizeHtmlImportPath(originalImportPath, package, libPath)); 97 .add(normalizeHtmlImportPath(originalImportPath, package, libPath));
97 98
98 // Don't emit an InitEntry. 99 // Don't emit an InitEntry.
99 return null; 100 return null;
100 } 101 }
101 } 102 }
OLDNEW
« no previous file with comments | « packages/web_components/lib/build.log ('k') | packages/web_components/lib/package.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698