

gclient file and a directory called src in the working directory. When fetch completes, it will have created a hidden.

If you've already installed the build dependencies on the machine (from another checkout, for example), you can omit the -nohooks flag and fetch will automatically execute gclient runhooks at the end. 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. 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 Install depot_toolsĬlone 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). Other distros may or may not work see the Linux instructions for some suggestions.īuilding the Android client on Windows or Mac is not supported and doesn't work.
