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

Side by Side Diff: tool/build_sdk.dart

Issue 2261183004: Revert "simplify build sdk" (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 3 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 | tool/build_sdk.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env dart
2 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file.
5
6 /// A straightforward script that builds the SDK.
7 ///
8 /// This would be easy enough to do in a shell script, as we go through the
9 /// command line interface. But being able to build from a Dart library means
10 /// we can call this during code coverage to get more realistic numbers.
11
12 import 'package:dev_compiler/src/compiler/command.dart';
13
14 main(List<String> arguments) {
15 var args = [
16 '--unsafe-force-compile',
17 '--no-source-map',
18 '--no-emit-metadata'
19 ];
20 args.addAll(arguments);
21 args.addAll([
22 'dart:_runtime',
23 'dart:_debugger',
24 'dart:_foreign_helper',
25 'dart:_interceptors',
26 'dart:_internal',
27 'dart:_isolate_helper',
28 'dart:_js_embedded_names',
29 'dart:_js_helper',
30 'dart:_js_mirrors',
31 'dart:_js_primitives',
32 'dart:_metadata',
33 'dart:_native_typed_data',
34 'dart:async',
35 'dart:collection',
36 'dart:convert',
37 'dart:core',
38 'dart:isolate',
39 'dart:js',
40 'dart:math',
41 'dart:mirrors',
42 'dart:typed_data',
43 'dart:indexed_db',
44 'dart:html',
45 'dart:html_common',
46 'dart:svg',
47 'dart:web_audio',
48 'dart:web_gl',
49 'dart:web_sql'
50 ]);
51 compile(args);
52 }
OLDNEW
« no previous file with comments | « no previous file | tool/build_sdk.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698