2015-01-05 19:17:27 +00:00
|
|
|
How to download Skia
|
|
|
|
====================
|
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
Install depot_tools and Git
|
|
|
|
---------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
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).
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
<!--?prettify lang=sh?-->
|
|
|
|
|
|
|
|
git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
|
|
|
|
export PATH="${PWD}/depot_tools:${PATH}"
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
depot_tools will also install Git on your system, if it wasn't installed
|
|
|
|
already.
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
Clone the Skia repository
|
|
|
|
-------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
<!--?prettify lang=sh?-->
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2016-07-26 18:11:50 +00:00
|
|
|
mkdir $SRC
|
|
|
|
cd $SRC
|
|
|
|
gclient config --unmanaged https://skia.googlesource.com/skia.git
|
|
|
|
gclient sync
|
2015-11-09 19:47:09 +00:00
|
|
|
cd skia
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-16 15:37:23 +00:00
|
|
|
Getting started with Skia
|
|
|
|
-------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-16 15:37:23 +00:00
|
|
|
Try out more things from the [desktop](./quick/desktop),
|
|
|
|
[Android](./quick/android), and [iOS](./quick/ios)-specific Skia
|
|
|
|
guides.
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-16 15:37:23 +00:00
|
|
|
Changing and contributing to Skia
|
|
|
|
---------------------------------
|
2015-01-05 19:17:27 +00:00
|
|
|
|
2015-11-09 19:47:09 +00:00
|
|
|
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).
|