OLD | NEW |
(Empty) | |
| 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 |
| 3 Mojo checkout. |
| 4 |
| 5 1.) Install the Dart SDK. |
| 6 |
| 7 - apt-get - |
| 8 |
| 9 Follow instructions at: https://www.dartlang.org/tools/debian.html |
| 10 |
| 11 - Debian package - |
| 12 |
| 13 Download from: |
| 14 |
| 15 $ wget https://storage.googleapis.com/dart-archive/channels/dev/release/latest/l
inux_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 |
| 17 |
| 18 - From source - |
| 19 |
| 20 Follow instructions here: https://code.google.com/p/dart/wiki/Building |
| 21 |
| 22 and build the "create_sdk" target. |
| 23 |
| 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. |
| 27 |
| 28 |
| 29 2.) Configure Mojo with Dart. |
| 30 |
| 31 $ ./mojob.sh --release --with-dart gn |
| 32 |
| 33 |
| 34 3.) Build Mojo with Dart. |
| 35 |
| 36 $ ./mojob.sh --release build |
| 37 |
| 38 |
| 39 4.) Run Dart tests. |
| 40 |
| 41 $ ./mojob.sh --release darttest |
OLD | NEW |