My favorites | Sign in
Project Home Wiki Issues Source
Search
for
DownloadingSkiaCode  
How to download the Skia code
Updated Aug 26, 2011 by epoger@google.com

originally written by epoger@google.com on 14 June 2011

How to download the Skia code

There are several different ways to download your own copy of the Skia code. Which way you choose depends on these factors:

  • Do you want to check out a read-only copy or a writable copy?
    • a read-only copy can be checked out anonymously (you do not membership in the Skia project); you can make changes locally, but you cannot submit these changes back to the Skia project
    • a writable copy can be used to submit changes to the Skia project, but you will need membership in the Skia project
  • Do you want to use Subversion or depot_tools (gclient) to manage your working copy?

In all cases, the first thing you have to do is create an empty directory into which you wish to download the Skia code, and cd into that directory.

Download a read-only copy

If all you need to do is build Skia and perhaps make local changes (changes you do not plan to submit back to the main repository), then you can grab a read-only copy without membership in the Skia project.

Using Subversion:

svn checkout http://skia.googlecode.com/svn/trunk

Using depot_tools:

gclient config http://skia.googlecode.com/svn/trunk
gclient sync

Download a writable copy

In order to do this, you will first need to obtain membership in the Skia project. Email epoger@google.com for details.

Once you have membership, you should be able to run the following commands. If you are prompted for a password, enter your generated googlecode.com password from https://code.google.com/hosting/settings.

Using Subversion:

svn checkout https://skia.googlecode.com/svn/trunk --username <your googlecode.com username>

Using depot_tools:

gclient config https://skia.googlecode.com/svn/trunk
gclient sync
Powered by Google Project Hosting