Home | History | Annotate | Download | only in user
      1 How to download Skia
      2 ====================
      3 
      4 Install `depot_tools` and Git
      5 ---------------------------
      6 
      7 Follow the instructions on [Installing Chromium's
      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). 
     10 Below is a summary of the necessary steps.
     11 
     12 <!--?prettify lang=sh?-->
     13 
     14     git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
     15     export PATH="${PWD}/depot_tools:${PATH}"
     16 
     17 `depot_tools` will also install Git on your system, if it wasn't installed
     18 already.
     19 
     20 Clone the Skia repository
     21 -------------------------
     22 
     23 Skia can either be cloned using `git` or the `fetch` tool that is
     24 installed with `depot_tools`.
     25 
     26 <!--?prettify lang=sh?-->
     27 
     28     git clone https://skia.googlesource.com/skia.git
     29     # or
     30     # fetch skia
     31     cd skia
     32     python tools/git-sync-deps
     33 
     34 Getting started with Skia
     35 -------------------------
     36 
     37 You will probably now want to [build](./build) Skia.
     38 
     39 Changing and contributing to Skia
     40 ---------------------------------
     41 
     42 At this point, you have everything you need to build and use Skia!  If
     43 you want to make changes, and possibly contribute them back to the Skia
     44 project, read [How To Submit a Patch](../dev/contrib/submit).
     45