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 mkdir $SRC |
| 25 cd $SRC |
| 26 gclient config --unmanaged https://skia.googlesource.com/skia.git |
| 27 gclient sync |
25 cd skia | 28 cd skia |
26 | 29 |
27 Getting started with Skia | 30 Getting started with Skia |
28 ------------------------- | 31 ------------------------- |
29 | 32 |
30 Try out more things from the [desktop](./quick/desktop), | 33 Try out more things from the [desktop](./quick/desktop), |
31 [Android](./quick/android), and [iOS](./quick/ios)-specific Skia | 34 [Android](./quick/android), and [iOS](./quick/ios)-specific Skia |
32 guides. | 35 guides. |
33 | 36 |
34 Changing and contributing to Skia | 37 Changing and contributing to Skia |
35 --------------------------------- | 38 --------------------------------- |
36 | 39 |
37 At this point, you have everything you need to build and use Skia! If | 40 At this point, you have everything you need to build and use Skia! If |
38 you want to make changes, and possibly contribute them back to the Skia | 41 you want to make changes, and possibly contribute them back to the Skia |
39 project, read [How To Submit a Patch](../dev/contrib/submit). | 42 project, read [How To Submit a Patch](../dev/contrib/submit). |
OLD | NEW |