skia2/site/user/download.md
2016-07-26 11:11:50 -07:00

1.2 KiB

How to download Skia

Install depot_tools and Git

Follow the instructions on Installing Chromium's depot_tools to download depot_tools (which includes gclient, git-cl, and Ninja).

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

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, Android, and 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.