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

Unified Diff: site/user/quick/android.md

Issue 1921023002: Update android docs for how to sync source code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/quick/android.md
diff --git a/site/user/quick/android.md b/site/user/quick/android.md
index bffde08b8126c10b56143b5a75b9c9c3faef5244..cf25d6baed3d5c9eb2bda1c800762672951b810c 100644
--- a/site/user/quick/android.md
+++ b/site/user/quick/android.md
@@ -49,6 +49,22 @@ The Android build needs to set up some specific variables needed by both GYP
and Make. We make this setup easy for developers by encapsulating all the
details into a custom script that acts as a replacement for make.
+Syncing the Source
+-----------------------------
+We use the gclient utility, provided by depot_tools, to sync both our git repository
+as well as any third-party dependencies. If you are an expert user you can setup
+a .gclient file on your own, but for everyone else it is recommended that you use
+`bin/sync-and-gyp` to create a .gclient file for the first time.
+
+After the initial setup you only need to run `gclient sync` to get the latest
+sources.
+
+Further, we use the open-source gyp tool to generate build files from our
+multi-platform "gyp" files. While most other platforms encourage you to
+regenerate these files using `./gyp_skia` or `bin/sync-and-gyp` it is
+recommended that you do NOT do this for Android. Instead you can rely
+on it being run automatically by android_ninja.
scroggo 2016/04/25 19:02:05 It's weird that we have a different process here.
+
Custom Android Build Script
---------------------------
@@ -70,15 +86,6 @@ architecture such as MIPS (generic), x86 (generic) and ARM (generic and device
specific flavors for Nexus devices). This in turn allows Skia to take
advantage of specific device optimizations (e.g. NEON instructions).
-Generate build file from GYP
-----------------------------
-
-We use the open-source gyp tool to generate build files from our
-multi-platform "gyp" files. While most other platforms enable you to
-regenerate these files using `./gyp_skia` or `bin/sync-and-gyp` it is
-recommended that you do NOT do this for Android. Instead you can rely
-on it being run automatically by android_ninja.
-
Faster rebuilds
---------------
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698