| 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.) Add a Dart VM source checkout to your client: | |
| 6 | |
| 7 Edit your .gclient file. Replace "DEPS" with "DEPS.dart". | |
| 8 Then, run: | |
| 9 | |
| 10 $ gclient sync | |
| 11 | |
| 12 You should now have a directory //dart | |
| 13 | |
| 14 | |
| 15 2.) Configure Mojo with Dart. | |
| 16 | |
| 17 $ ./mojo/tools/mojob.py gn --release --with-dart | |
| 18 | |
| 19 | |
| 20 3.) Build Mojo with Dart. | |
| 21 | |
| 22 $ ./mojo/tools/mojob.py build --release | |
| 23 | |
| 24 | |
| 25 4.) Run Dart tests. | |
| 26 | |
| 27 $ ./mojo/tools/mojob.py darttest --release | |
| OLD | NEW |