1 These are interim instructions for building and testing Dart's Mojo bindings.
2 These instructions currently only work for Linux, and assume you already have a
5 1.) Install the Dart SDK.
9 Follow instructions at: https://www.dartlang.org/tools/debian.html
15 $ 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
16 $ dpkg -i dart_1.8.0-dev.2.0-1_amd64.deb
20 Follow instructions here: https://code.google.com/p/dart/wiki/Building
22 and build the "create_sdk" target.
24 With the first two options, dart is on your path and you are ready to go.
25 When building from source, you must explicitly add
26 e.g. out/ReleaseX64/dart-sdk/bin to your path.
29 2.) Configure Mojo with Dart.
31 $ ./mojob.sh --release --with-dart gn
34 3.) Build Mojo with Dart.
36 $ ./mojob.sh --release build
41 $ ./mojob.sh --release darttest
44 These are instructions for adding a Dart VM source checkout to your client.
46 1. Edit your .gclient file.
48 Replace "DEPS" with "DEPS.dart"
54 You should now have a directory //src/dart