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

Unified Diff: mojo/public/dart/README

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 years 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
Index: mojo/public/dart/README
diff --git a/mojo/public/dart/README b/mojo/public/dart/README
index 5ff7ee3fad561b022bbbab6e205e130e0864cd2b..f9cd6e6de57edfe6d01ebe46340c5cfe3031cac5 100644
--- a/mojo/public/dart/README
+++ b/mojo/public/dart/README
@@ -2,54 +2,26 @@ These are interim instructions for building and testing Dart's Mojo bindings.
These instructions currently only work for Linux, and assume you already have a
Mojo checkout.
-1.) Install the Dart SDK.
+1.) Add a Dart VM source checkout to your client:
-- apt-get -
+ Edit your .gclient file. Replace "DEPS" with "DEPS.dart".
+ Then, run:
-Follow instructions at: https://www.dartlang.org/tools/debian.html
+ $ gclient sync
-- Debian package -
-
-Download from:
-
-$ wget https://storage.googleapis.com/dart-archive/channels/dev/release/latest/linux_packages/debian_wheezy/dart_1.8.0-dev.2.0-1_amd64.deb
-$ dpkg -i dart_1.8.0-dev.2.0-1_amd64.deb
-
-- From source -
-
-Follow instructions here: https://code.google.com/p/dart/wiki/Building
-
-and build the "create_sdk" target.
-
-With the first two options, dart is on your path and you are ready to go.
-When building from source, you must explicitly add
-e.g. out/ReleaseX64/dart-sdk/bin to your path.
+ You should now have a directory //dart
2.) Configure Mojo with Dart.
- $ ./mojob.sh --release --with-dart gn
+ $ ./mojo/tools/mojob.py gn --release --with-dart
3.) Build Mojo with Dart.
- $ ./mojob.sh --release build
+ $ ./mojo/tools/mojob.py build --release
4.) Run Dart tests.
- $ ./mojob.sh --release darttest
-
-
-These are instructions for adding a Dart VM source checkout to your client.
-
-1. Edit your .gclient file.
-
- Replace "DEPS" with "DEPS.dart"
-
-2. Run:
-
- $ gclient sync
-
- You should now have a directory //src/dart
-
+ $ ./mojo/tools/mojob.py darttest --release

Powered by Google App Engine
This is Rietveld 408576698