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

Side by Side Diff: pkg/compiler/lib/src/kernel/fasta_support.dart

Issue 2885103005: Add dart:html and friends to patched_dart2js_sdk/platform.dill, also fix up (Closed)
Patch Set: v1 Created 3 years, 7 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 | « no previous file | pkg/front_end/lib/src/fasta/translate_uri.dart » ('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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 /// Additions to Fasta for generating .dill (Kernel IR) files with dart2js patch 5 /// Additions to Fasta for generating .dill (Kernel IR) files with dart2js patch
6 /// files and native hooks. 6 /// files and native hooks.
7 library compiler.src.kernel.fasta_support; 7 library compiler.src.kernel.fasta_support;
8 8
9 // TODO(sigmund): get rid of this file. Fasta should be agnostic of the 9 // TODO(sigmund): get rid of this file. Fasta should be agnostic of the
10 // target platform, at which point this should not be necessary. In particular, 10 // target platform, at which point this should not be necessary. In particular,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 return token; 131 return token;
132 } 132 }
133 133
134 void _loadExtras(Loader loader) { 134 void _loadExtras(Loader loader) {
135 for (String uri in _extraDart2jsLibraries) { 135 for (String uri in _extraDart2jsLibraries) {
136 loader.read(Uri.parse(uri)); 136 loader.read(Uri.parse(uri));
137 } 137 }
138 } 138 }
139 139
140 const _extraDart2jsLibraries = const <String>[ 140 const _extraDart2jsLibraries = const <String>[
141 'dart:_chrome',
142 'dart:_foreign_helper',
143 'dart:_interceptors',
144 'dart:_internal',
145 'dart:_isolate_helper',
146 'dart:_js_embedded_names',
147 'dart:_js_helper',
148 'dart:_js_mirrors',
149 'dart:_js_names',
150 'dart:_native_typed_data',
141 'dart:async', 151 'dart:async',
142 'dart:collection', 152 'dart:collection',
153 'dart:html',
154 'dart:html_common',
155 'dart:indexed_db',
156 'dart:js',
157 'dart:js_util',
143 'dart:mirrors', 158 'dart:mirrors',
144 'dart:_native_typed_data', 159 'dart:svg',
145 'dart:_internal', 160 'dart:web_audio',
146 'dart:_js_helper', 161 'dart:web_gl',
147 'dart:_interceptors', 162 'dart:web_sql',
148 'dart:_foreign_helper',
149 'dart:_js_mirrors',
150 'dart:_js_names',
151 'dart:_js_embedded_names',
152 'dart:_isolate_helper',
153 ]; 163 ];
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/translate_uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698