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

Side by Side Diff: pkg/kernel/lib/target/dart2js.dart

Issue 2832353002: Add support for building patched_sdk and platform.dill for dart2js: (Closed)
Patch Set: rebase Created 3 years, 8 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
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4 library kernel.target.dart2js;
5
6 import '../ast.dart';
7 import 'targets.dart';
8
9 /// Specializes the kernel IR for dart2js
10 class Dart2jsTarget extends Target {
11 final TargetFlags flags;
12
13 Dart2jsTarget(this.flags);
14
15 String get name => 'dart2js';
16 bool get strongMode => flags.strongMode;
17
18 List<String> get extraRequiredLibraries => const <String>[
19 'dart:async',
20 'dart:collection',
21 'dart:mirrors',
22 'dart:_native_typed_data',
23 'dart:_internal',
24 'dart:_js_helper',
25 'dart:_interceptors',
26 'dart:_foreign_helper',
27 'dart:_js_mirrors',
28 'dart:_js_names',
29 'dart:_js_embedded_names',
30 'dart:_isolate_helper',
31 ];
32
33 void performModularTransformations(Program program) {}
34 void performGlobalTransformations(Program program) {}
35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698