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

Side by Side Diff: pkg/dev_compiler/tool/build_sdk.sh

Issue 2474523003: fix #27607, add dev_compiler summary to the SDK and move JS files (Closed)
Patch Set: fix typo Created 4 years, 1 month 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 | « pkg/dev_compiler/tool/build_pkgs.sh ('k') | pkg/dev_compiler/tool/build_test_pkgs.sh » ('j') | 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 tool/build_sdk.dart \ 12 dart -c tool/build_sdk.dart \
13 --dart-sdk gen/patched_sdk \ 13 --dart-sdk gen/patched_sdk \
14 --dart-sdk-summary=build \
15 --summary-out lib/sdk/ddc_sdk.sum \
14 --modules=amd \ 16 --modules=amd \
15 -o lib/js/amd/dart_sdk.js \ 17 -o lib/js/amd/dart_sdk.js \
16 --modules=es6 \ 18 --modules=es6 \
17 -o lib/js/es6/dart_sdk.js \ 19 -o lib/js/es6/dart_sdk.js \
18 --modules=common \ 20 --modules=common \
19 -o lib/js/common/dart_sdk.js \ 21 -o lib/js/common/dart_sdk.js \
20 --modules=legacy \ 22 --modules=legacy \
21 -o lib/js/legacy/dart_sdk.js \ 23 -o lib/js/legacy/dart_sdk.js \
22 "$@" > tool/sdk_expected_errors.txt 24 "$@" > tool/sdk_expected_errors.txt
OLDNEW
« no previous file with comments | « pkg/dev_compiler/tool/build_pkgs.sh ('k') | pkg/dev_compiler/tool/build_test_pkgs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698