Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: site/user/download.md

Issue 1411403010: Documentation - Remove references to `gclient sync` (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-11-09 (Monday) 14:43:06 EST Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « site/dev/contrib/submit.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/download.md
diff --git a/site/user/download.md b/site/user/download.md
index 7c7630a3202b63c1d61d559f84f90ad57bacd054..d748214746841428c99669525ce754093e95c2e3 100644
--- a/site/user/download.md
+++ b/site/user/download.md
@@ -1,74 +1,75 @@
How to download Skia
====================
-Install gclient and git
------------------------
+Install depot_tools and Git
+---------------------------
-Follow the instructions on
-http://www.chromium.org/developers/how-tos/install-depot-tools to download
-chromium's depot_tools (which includes gclient ).
+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).
-depot_tools will also install git on your system, if it wasn't installed
-already.
+<!--?prettify lang=sh?-->
+
+ 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.
-Configure git
+Configure Git
-------------
- $ git config --global user.name "Your Name"
- $ git config --global user.email you@example.com
+<!--?prettify lang=sh?-->
-Download your tree
-------------------
+ git config --global user.name "Your Name"
+ git config --global user.email you@example.com
- $ mkdir skia
- $ cd skia
- $ gclient config --name . --unmanaged https://skia.googlesource.com/skia.git
- $ gclient sync
- $ git checkout master
+Clone the Skia repository
+-------------------------
-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 on...
+<!--?prettify lang=sh?-->
-Making changes
---------------
+ git clone https://skia.googlesource.com/skia.git
+ cd skia
-First create a branch for your changes:
+Get Skia's dependencies and generate Ninja build files
+------------------------------------------------------
- $ git checkout --track origin/master -b my_feature master
+<!--?prettify lang=sh?-->
-After making your changes, create a commit
+ python bin/sync-and-gyp
- $ git add [file1] [file2] ...
- $ git commit
+<!--
+ python tools/git-sync-deps
+ python ./gyp_skia
+-->
-If your branch gets out of date, you will need to update it:
+Compile all default targets
+---------------------------
- $ git pull --rebase
- $ gclient sync
+<!--?prettify lang=sh?-->
-Uploading changes for review
-----------------------------
+ ninja -C out/Debug
- $ git cl upload
+Execute Skia tests
+------------------
+
+[More about Skia correctness testing tools](../dev/testing/testing)
+
+<!--?prettify lang=sh?-->
-You may have to enter a Google Account username and password to authenticate
-yourself to codereview.chromium.org. A free gmail account will do fine, or any
-other type of Google account. It does not have to match the email address you
-configured using git config --global user.email above, but it can.
+ out/Debug/dm
-The command output should include a URL (similar to
-https://codereview.chromium.org/111893004/ ) indicating where your changelist
-can be reviewed.
+Execute Skia sample application
+-------------------------------
-Once your change has received an LGTM ("looks good to me"), you can check the
-"Commit" box on the codereview page and it will be committed on your behalf.
+[More about Skia's SampleApp](sample/sampleapp)
-Once your commit has gone in, you should delete the branch containing your
-change:
+<!--?prettify lang=sh?-->
- $ git checkout master
- $ git branch -D my_feature
+ out/Debug/SampleApp
+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).
« no previous file with comments | « site/dev/contrib/submit.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698