
You may also have to set variable vs2022_install to your installation path of Visual Studio 2022, like set vs2022_install=C:\Program Files\Microsoft Visual Studio\2022\Professional. This tells depot_tools to use your locally installed version of Visual Studio (by default, depot_tools will try to use a google-internal version). Note: If your system PATH has a Python in it, you will be out of luck.Īlso, add a DEPOT_TOOLS_WIN_TOOLCHAIN environment variable in the same way, and set it to 0. If you don't have Administrator access, you can add a user-level PATH environment variable by opening:Ĭontrol Panel → System and Security → System → Search for “Edit environment variables for your account”Īdd C:\src\depot_tools at the front. If you have Administrator access, Modify the PATH system variable and put C:\src\depot_tools at the front (or at least in front of any directory that might already have a copy of Python or Git). Note that environment variable names are case insensitive).Īssuming you unzipped the bundle to C:\src\depot_tools, open:Ĭontrol Panel → System and Security → System → Advanced system settings You can use “Extract all…” from the context menu though.Īdd depot_tools to the start of your PATH (must be ahead of any installs of Python.

Warning: DO NOT use drag-n-drop or copy-n-paste extract from Explorer, this will not extract the hidden “.git” folder which is necessary for depot_tools to autoupdate itself. Install depot_toolsĭownload the depot_tools bundle and extract it somewhere (eg: C:\src\depot_tools). This version of the Debugging tools is needed in order to support reading the large-page PDBs that Chrome uses to allow greater-than 4 GiB PDBs. The 1.755 (Windows 11) SDK Debugging Tools must also be installed. This can be installed separately or by checking the appropriate box in the Visual Studio Installer. You must have the version 1.0 Windows 11 SDK installed. The full set for that case is: $ PATH_TO_INSTALLER. If you want to build for ARM64 Win32 then some extra arguments are needed. This can be done from the command line by passing these arguments to the Visual Studio installer (see below for ARM64 instructions): $ PATH_TO_INSTALLER.

You must install the “Desktop development with C++” component and the “MFC/ATL support” sub-components. Visual Studio Community Edition should work if its license is appropriate for you. The clang-cl compiler is used but Visual Studio's header files, libraries, and some tools are required. Visual Studio can also be used to debug Chromium.

