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

Unified Diff: doc/developing.ad

Issue 1408133003: Update developer documentation to recommend the “fetch” tool (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 2 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: doc/developing.ad
diff --git a/doc/developing.ad b/doc/developing.ad
index 67c3ce4dcc6061ef495d8ffc40c4c16d9d39faa8..efb45536cdd490ba984b4069571a955e44b2b8cd 100644
--- a/doc/developing.ad
+++ b/doc/developing.ad
@@ -53,23 +53,25 @@ https://chromium.googlesource.com/crashpad/crashpad. Although it is possible to
check out this repository directly with `git clone`, Crashpad’s dependencies are
managed by
https://dev.chromium.org/developers/how-tos/depottools#TOC-gclient[`gclient`]
-instead of Git submodules, so to work on Crashpad, it is best to use `gclient`
-to get the source code.
+instead of Git submodules, so to work on Crashpad, it is best to use `fetch` to
+get the source code.
-`gclient` is part of the
+`fetch` and `gclient` are part of the
https://dev.chromium.org/developers/how-tos/depottools[depot_tools]. There’s no
-need to install it separately.
+need to install them separately.
=== Initial Checkout
[subs="verbatim,quotes"]
----
-$ *mkdir \~/crashpad*
+$ *mkdir ~/crashpad*
$ *cd ~/crashpad*
-$ *gclient config --unmanaged https://chromium.googlesource.com/crashpad/crashpad*
-$ *gclient sync*
+$ *fetch crashpad*
----
+`fetch crashpad` performs the initial `gclient sync`, establishing a
+fully-functional local checkout.
+
=== Subsequent Checkouts
[subs="verbatim,quotes"]
@@ -85,7 +87,7 @@ Crashpad uses https://gyp.googlecode.com/[GYP] to generate
https://martine.github.io/ninja/[Ninja] build files. The build is described by
`.gyp` files throughout the Crashpad source code tree. The
`build/gyp_crashpad.py` script runs GYP properly for Crashpad, and is also
-called when you run `gclient sync` or `gclient runhooks`.
+called when you run `fetch crashpad`, `gclient sync`, or `gclient runhooks`.
The Ninja build files and build output are in the `out` directory. Both debug-
and release-mode configurations are available. The examples below show the debug
« 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