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

Side by Side 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 unified diff | Download patch
OLDNEW
1 These are interim instructions for building and testing Dart's Mojo bindings. 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 2 These instructions currently only work for Linux, and assume you already have a
3 Mojo checkout. 3 Mojo checkout.
4 4
5 1.) Install the Dart SDK. 5 1.) Add a Dart VM source checkout to your client:
6 6
7 - apt-get - 7 Edit your .gclient file. Replace "DEPS" with "DEPS.dart".
8 Then, run:
8 9
9 Follow instructions at: https://www.dartlang.org/tools/debian.html 10 $ gclient sync
10 11
11 - Debian package - 12 You should now have a directory //dart
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 13
28 14
29 2.) Configure Mojo with Dart. 15 2.) Configure Mojo with Dart.
30 16
31 $ ./mojob.sh --release --with-dart gn 17 $ ./mojo/tools/mojob.py gn --release --with-dart
32 18
33 19
34 3.) Build Mojo with Dart. 20 3.) Build Mojo with Dart.
35 21
36 $ ./mojob.sh --release build 22 $ ./mojo/tools/mojob.py build --release
37 23
38 24
39 4.) Run Dart tests. 25 4.) Run Dart tests.
40 26
41 $ ./mojob.sh --release darttest 27 $ ./mojo/tools/mojob.py darttest --release
42
43
44 These are instructions for adding a Dart VM source checkout to your client.
45
46 1. Edit your .gclient file.
47
48 Replace "DEPS" with "DEPS.dart"
49
50 2. Run:
51
52 $ gclient sync
53
54 You should now have a directory //src/dart
55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698