Step 71 of 82
← Home
βš™οΈ Phase: Advanced & Tools

Step 71 Compile Chrome in Windows

Why this step? Build a custom Chromium build for security research or testing.

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