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

Unified Diff: mojo/public/dart/README

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 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 | « mojo/public/dart/BUILD.gn ('k') | mojo/public/dart/bindings.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/README
diff --git a/mojo/public/dart/README b/mojo/public/dart/README
new file mode 100644
index 0000000000000000000000000000000000000000..aadb3483f7376af85e3b09d4e961b976ba740449
--- /dev/null
+++ b/mojo/public/dart/README
@@ -0,0 +1,41 @@
+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.
+
+- apt-get -
+
+Follow instructions at: https://www.dartlang.org/tools/debian.html
+
+- 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.
+
+
+2.) Configure Mojo with Dart.
+
+ $ ./mojob.sh --release --with-dart gn
+
+
+3.) Build Mojo with Dart.
+
+ $ ./mojob.sh --release build
+
+
+4.) Run Dart tests.
+
+ $ ./mojob.sh --release darttest
« no previous file with comments | « mojo/public/dart/BUILD.gn ('k') | mojo/public/dart/bindings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698