Add depot_tools to the end of your PATH. Assuming you unzipped the
-bundle to C:\workspace\depot_tools
:
Add depot_tools to the start of your PATH (must be ahead of any installs of
+Python). Assuming you unzipped the bundle to C:\workspace\depot_tools
:
Control Panel → User Accounts → User Accounts → Change my environment variables
-Add a PATH user variable: %PATH%;C:\workspace\depot_tools
.
Add a PATH user variable: C:\workspace\depot_tools;%PATH%
.
From a cmd.exe
shell, run the command gclient
(without arguments). On first
@@ -946,10 +946,10 @@ If you see strange errors with the file system on the first run of gclient,
-If you are running Windows XP and see errors like “The system cannot execute
- the specified program”, try installing the
- “Microsoft
- Visual C++ 2008 Redistributable Package”.
+After running gclient open a command prompt and type where python
and confirm that
+ the depot_tools python.bat comes ahead of any copies of python.exe. Failing to ensure
+ this can lead to overbuilding when using gn - see
+ crbug.com/611087.
Part of the chromium depot_tools(7) suite. These tools are meant to assist with the development of chromium and related projects. Download the tools -from here.