Chromium uses a package of scripts, called the depot_tools, to manage checkouts and code reviews. This package includes gclient, gcl, and hammer. To install the package, follow the steps for your operating system below.
Note:
By default, the depot_tools automatically update to the latest version every time you run gclient. See the depot_tools page if you want to disable this behavior.
More information about gclient is available from the gclient wiki.
Steps
- Retrieve
depot_tools; select one of these ways:
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
Download depot_tools.zip or depot_tools.tar.gz and decompress it. Windows users: If you don't have Subversion installed already, use the download option, and the first run of gclient will install svn for you. Make sure not to use Cygwin's unzip when expanding the depot_tools archive.
Add depot_tools to your PATH:
For example, for the default bash shell, use:
$ export PATH=`pwd`/depot_tools:"$PATH"
Optional: You may want to add this to your .profile file or your shell’s equivalent so that you don’t need to reset your $PATH manually each time you open a new shell.
|