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

Side by Side Diff: README.md

Issue 667173002: Add instructions to mojo README to cover installing build dependencies. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: no owners Created 6 years, 2 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Mojo 1 Mojo
2 ==== 2 ====
3 3
4 This repo uses gclient to manage dependencies, so to build things from this 4 This repo uses gclient to manage dependencies, so to build things from this
5 repo you have to first download depot_tools and make sure it is in your path 5 repo you have to first download depot_tools and make sure it is in your path
6 6
7 http://www.chromium.org/developers/how-tos/install-depot-tools 7 http://www.chromium.org/developers/how-tos/install-depot-tools
8 8
9 then create a file called '.gclient' that has the following contents: 9 then create a file called '.gclient' that has the following contents:
10 10
11 ``` 11 ```
12 solutions = [ 12 solutions = [
13 { "name" : "src", 13 { "name" : "src",
14 "url" : "https://github.com/domokit/mojo.git", 14 "url" : "https://github.com/domokit/mojo.git",
15 "deps_file" : "DEPS", 15 "deps_file" : "DEPS",
16 "managed" : False, 16 "managed" : False,
17 "safesync_url": "", 17 "safesync_url": "",
18 }, 18 },
19 ] 19 ]
20 # Include the following line only if you're interested in building for android. 20 # Include the following line only if you're interested in building for android.
21 target_os = ['android'] 21 target_os = ['android']
22 ``` 22 ```
23 23
24 Then run 'gclient sync' from the directory containing the .gclient file. 24 Then run 'gclient sync' from the directory containing the .gclient file.
25 This will clone this repository into a subdirectory called 'src'. From that 25 This will clone this repository into a subdirectory called 'src'. From that
26 directory, you can then build by running: 26 directory, you can then ensure you have all the dependencies installed by
27 running:
28
29 ```
30 $ ./build/install-build-deps.sh
31 ```
32
33 You can then build by running:
27 34
28 ``` 35 ```
29 $ gn gen out/Debug 36 $ gn gen out/Debug
30 $ ninja -C out/Debug mojo 37 $ ninja -C out/Debug mojo
31 ``` 38 ```
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698