


gclient file and a directory called src in the working directory.

When fetch completes, it will have created a hidden. If you don't want the full repo history, you can save a lot of time by adding the -no-history flag to fetch.Įxpect the command to take 30 minutes on even a fast connection, and many hours on slower ones. Run the fetch tool from depot_tools to check out the code and its dependencies. Assuming you cloned depot_tools to /path/to/depot_tools: $ export PATH = "$PATH:/path/to/depot_tools" Get the codeĬreate a chromium directory for the checkout and change to it (you can call this whatever you like and put it wherever you like, as long as the full path has no spaces): $ mkdir chromium & cd chromium Clone the depot_tools repository: $ git clone https : ///chromium/tools/depot_tools.gitĪdd depot_tools to the end of your PATH (you will probably want to put this in your ~/.bashrc or ~/.zshrc).
