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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/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 | « no previous file | editor/tools/plugins/com.google.dart.tools.core_test/src-dart/pub_package_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/build.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/build.dart b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/build.dart
index 1bf048d5db6bf58d7ae36acc51f2a0ab8ce9607c..81c85412a879f3ec3206e5ca65152c51d5e80424 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/build.dart
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/build.dart
@@ -5,9 +5,7 @@ import "dart:io";
* packages directory to the app/packages directory. This works around an issue
* with Chrome apps and symlinks and allows you to use pub with Chrome apps.
*/
-void main() {
- List<String> args = new Options().arguments;
-
+void main(List<String> args) {
bool fullBuild = args.contains("--full");
bool dartFilesChanged = args.any((arg) {
return !arg.startsWith("--changed=app/packages") && arg.endsWith(".dart");
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.tools.core_test/src-dart/pub_package_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698