skia2/site/user/download.md
Mike Klein aa9b5a1fd9 call fetch-gn from git-sync-deps
https://skia.org/?cl=6994

Change-Id: Icac009bdef49f38ae7b8f082ffda6408481a03cd
Reviewed-on: https://skia-review.googlesource.com/6994
Reviewed-by: Hal Canary <halcanary@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-01-13 17:25:56 +00:00

1.1 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

git clone https://skia.googlesource.com/skia.git
cd skia
python tools/git-sync-deps

Getting started with Skia

You probably now want to build Skia.

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.