OLD | NEW |
1 How to download Skia | 1 How to download Skia |
2 ==================== | 2 ==================== |
3 | 3 |
4 Install depot_tools and Git | 4 Install depot_tools and Git |
5 --------------------------- | 5 --------------------------- |
6 | 6 |
7 Follow the instructions on [Installing Chromium's | 7 Follow the instructions on [Installing Chromium's |
8 depot_tools](http://www.chromium.org/developers/how-tos/install-depot-tools) | 8 depot_tools](http://www.chromium.org/developers/how-tos/install-depot-tools) |
9 to download depot_tools (which includes gclient, git-cl, and Ninja). | 9 to download depot_tools (which includes gclient, git-cl, and Ninja). |
10 | 10 |
11 <!--?prettify lang=sh?--> | 11 <!--?prettify lang=sh?--> |
12 | 12 |
13 git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' | 13 git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' |
14 export PATH="${PWD}/depot_tools:${PATH}" | 14 export PATH="${PWD}/depot_tools:${PATH}" |
15 | 15 |
16 depot_tools will also install Git on your system, if it wasn't installed | 16 depot_tools will also install Git on your system, if it wasn't installed |
17 already. | 17 already. |
18 | 18 |
19 Clone the Skia repository | 19 Clone the Skia repository |
20 ------------------------- | 20 ------------------------- |
21 | 21 |
22 <!--?prettify lang=sh?--> | 22 <!--?prettify lang=sh?--> |
23 | 23 |
24 git clone https://skia.googlesource.com/skia.git | 24 git clone https://skia.googlesource.com/skia.git |
25 cd skia | 25 cd skia |
26 | 26 |
27 Get Skia's dependencies and generate Ninja build files | 27 Getting started with Skia |
28 ------------------------------------------------------ | 28 ------------------------- |
29 | 29 |
30 <!--?prettify lang=sh?--> | 30 Try out more things from the [desktop](./quick/desktop), |
| 31 [Android](./quick/android), and [iOS](./quick/ios)-specific Skia |
| 32 guides. |
31 | 33 |
32 python bin/sync-and-gyp | 34 Changing and contributing to Skia |
33 | 35 --------------------------------- |
34 Compile all default targets | |
35 --------------------------- | |
36 | |
37 <!--?prettify lang=sh?--> | |
38 | |
39 ninja -C out/Debug | |
40 | |
41 Execute Skia tests | |
42 ------------------ | |
43 | |
44 [More about Skia correctness testing tools](../dev/testing/testing) | |
45 | |
46 <!--?prettify lang=sh?--> | |
47 | |
48 out/Debug/dm | |
49 | |
50 Execute Skia sample application | |
51 ------------------------------- | |
52 | |
53 [More about Skia's SampleApp](sample/sampleapp) | |
54 | |
55 <!--?prettify lang=sh?--> | |
56 | |
57 out/Debug/SampleApp | |
58 | 36 |
59 At this point, you have everything you need to build and use Skia! If | 37 At this point, you have everything you need to build and use Skia! If |
60 you want to make changes, and possibly contribute them back to the Skia | 38 you want to make changes, and possibly contribute them back to the Skia |
61 project, read [How To Submit a Patch](../dev/contrib/submit). | 39 project, read [How To Submit a Patch](../dev/contrib/submit). |
OLD | NEW |