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

Unified Diff: pkg/dev_compiler/tool/build_test_pkgs.sh

Issue 2498673003: Rewrite build_pkgs.sh and build_test_pkgs.sh in Dart. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dev_compiler/tool/build_pkgs.sh ('k') | pkg/dev_compiler/tool/test.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/tool/build_test_pkgs.sh
diff --git a/pkg/dev_compiler/tool/build_test_pkgs.sh b/pkg/dev_compiler/tool/build_test_pkgs.sh
index bb63177d99d8738a0ae34d2d1099cb3bab02f640..1aa3ddf51bb95d05b9ed6439c3de452bc2b32ab0 100755
--- a/pkg/dev_compiler/tool/build_test_pkgs.sh
+++ b/pkg/dev_compiler/tool/build_test_pkgs.sh
@@ -1,42 +1,5 @@
#!/bin/bash
-set -e # bail on error
-cd $( dirname "${BASH_SOURCE[0]}" )/..
-
-mkdir -p gen/codegen_output/pkg/
-
-SDK=--dart-sdk-summary=lib/sdk/ddc_sdk.sum
-
-./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/expect.js \
- package:expect/expect.dart \
- package:expect/minitest.dart
-
-./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/async_helper.js \
- --url-mapping=package:async_helper/async_helper.dart,test/codegen/async_helper.dart \
- package:async_helper/async_helper.dart
-
-./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/collection.js \
- package:collection/collection.dart
-
-./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/js.js \
- package:js/js.dart
-
-./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/matcher.js \
- package:matcher/matcher.dart
-
-./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/path.js \
- package:path/path.dart
-
-./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/stack_trace.js \
- -s gen/codegen_output/pkg/path.sum \
- package:stack_trace/stack_trace.dart
-
-./bin/dartdevc.dart $SDK --unsafe-force-compile \
- -o gen/codegen_output/pkg/unittest.js \
- -s gen/codegen_output/pkg/matcher.sum \
- -s gen/codegen_output/pkg/path.sum \
- -s gen/codegen_output/pkg/stack_trace.sum \
- package:unittest/unittest.dart \
- package:unittest/html_config.dart \
- package:unittest/html_individual_config.dart \
- package:unittest/html_enhanced_config.dart
+# TODO: This script is deprecated in favor of the Dart version. For now, forward
+# to it so existing scripts don't break. Eventually, delete this one.
+./tool/build_pkgs.dart test
« no previous file with comments | « pkg/dev_compiler/tool/build_pkgs.sh ('k') | pkg/dev_compiler/tool/test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698