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

Unified Diff: third_party/pkg/js/build.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/code_collection_test.dart ('k') | third_party/pkg/js/tools/create_bootstrap.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/js/build.dart
diff --git a/third_party/pkg/js/build.dart b/third_party/pkg/js/build.dart
index 6e07343b7265c6f03be11a59ff3cf975a5d5bc98..1b36d2e13f03328c0d14654af332bdf1e2f58beb 100644
--- a/third_party/pkg/js/build.dart
+++ b/third_party/pkg/js/build.dart
@@ -8,13 +8,12 @@ library build;
import 'tools/create_bootstrap.dart' as createBootstrap;
import 'dart:io';
-void main() {
- final options = new Options();
- final scriptPath = new Path(options.script).directoryPath;
+void main(List<String> arguments) {
+ final scriptPath = new Path(Platform.script).directoryPath;
final libPath = scriptPath.append('lib');
final changedOpt = "--changed=${libPath.append('js.dart')}";
- for (String arg in new Options().arguments) {
+ for (String arg in arguments) {
if (arg == changedOpt) {
createBootstrap.create(libPath);
}
« no previous file with comments | « tests/standalone/io/code_collection_test.dart ('k') | third_party/pkg/js/tools/create_bootstrap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698