aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/user/download.md
blob: 5da01a2180fc60e413b9dbb063d5ebd41d6ebca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
How to download Skia
====================

Install depot_tools and Git
---------------------------

Follow the instructions on [Installing Chromium's
depot_tools](http://www.chromium.org/developers/how-tos/install-depot-tools)
to download depot_tools (which includes gclient, git-cl, and Ninja).

<!--?prettify lang=sh?-->

    git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
    export PATH="${PWD}/depot_tools:${PATH}"

depot_tools will also install Git on your system, if it wasn't installed
already.

Clone the Skia repository
-------------------------

<!--?prettify lang=sh?-->

    mkdir $SRC
    cd $SRC
    gclient config --unmanaged https://skia.googlesource.com/skia.git
    gclient sync
    cd skia

Getting started with Skia
-------------------------

Try out more things from the [desktop](./quick/desktop),
[Android](./quick/android), and [iOS](./quick/ios)-specific Skia
guides.

Changing and contributing to Skia
---------------------------------

At this point, you have everything you need to build and use Skia!  If
you want to make changes, and possibly contribute them back to the Skia
project, read [How To Submit a Patch](../dev/contrib/submit).