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

Side by Side Diff: tool/build_sdk.sh

Issue 2261183004: Revert "simplify build sdk" (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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 | « tool/build_sdk.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 set -e 2 set -e
3 # switch to the root directory of dev_compiler 3 # switch to the root directory of dev_compiler
4 cd $( dirname "${BASH_SOURCE[0]}" )/.. 4 cd $( dirname "${BASH_SOURCE[0]}" )/..
5 5
6 echo "*** Patching SDK" 6 echo "*** Patching SDK"
7 dart -c tool/patch_sdk.dart tool/input_sdk gen/patched_sdk 7 dart -c tool/patch_sdk.dart tool/input_sdk gen/patched_sdk
8 8
9 echo "*** Compiling SDK to JavaScript" 9 echo "*** Compiling SDK to JavaScript"
10 10
11 # TODO(jmesserly): break out dart:html & friends. 11 # TODO(jmesserly): break out dart:html & friends.
12 dart -c bin/dartdevc.dart \ 12 #
13 # Right now we can't summarize our SDK, so we can't treat it as a normal
14 # explicit input (instead we're implicitly compiling against the user's SDK).
15 #
16 # Another possible approach is to hard code the dart:* library->module mapping
17 # into the compiler itself, so it can emit the correct import.
18 #
19 dart -c tool/build_sdk.dart \
13 --dart-sdk gen/patched_sdk \ 20 --dart-sdk gen/patched_sdk \
14 -o lib/runtime/dart_sdk.js \ 21 -o lib/runtime/dart_sdk.js \
15 --unsafe-force-compile --no-source-map --no-emit-metadata \
16 dart:_runtime \
17 dart:_debugger \
18 dart:_foreign_helper \
19 dart:_interceptors \
20 dart:_internal \
21 dart:_isolate_helper \
22 dart:_js_embedded_names \
23 dart:_js_helper \
24 dart:_js_mirrors \
25 dart:_js_primitives \
26 dart:_metadata \
27 dart:_native_typed_data \
28 dart:async \
29 dart:collection \
30 dart:convert \
31 dart:core \
32 dart:isolate \
33 dart:js \
34 dart:math \
35 dart:mirrors \
36 dart:typed_data \
37 dart:indexed_db \
38 dart:html \
39 dart:html_common \
40 dart:svg \
41 dart:web_audio \
42 dart:web_gl \
43 dart:web_sql \
44 "$@" > tool/sdk_expected_errors.txt 22 "$@" > tool/sdk_expected_errors.txt
OLDNEW
« no previous file with comments | « tool/build_sdk.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698