Compile Chromium in Windows

Of course you should just install Chromium, but for those who want to compile... here is how.

Warning: 60 GB diskspace needed, you will end up with 1 million files!!

Prerequisites

  1. Download depot_tools and extract in C:\depot_tools.
  2. Add to PATH: C:\depot_tools

Compilation Steps

Open an Administrator CMD and run:

C:
cd \
cd C:\depot_tools\

gclient sync -D

cd \
md build
cd build
md chromium
cd chromium

fetch --nohooks --no-history chromium

cd src

gn gen --args="enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0" --filters=//chrome --no-deps out/WIN64

autoninja -C out\WIN64 chrome -j6
User