Skip to content

Instantly share code, notes, and snippets.

@enukane
Created December 2, 2021 02:16
Show Gist options
  • Save enukane/72187c46644e0a0fd15f074a3f86dd3e to your computer and use it in GitHub Desktop.
Save enukane/72187c46644e0a0fd15f074a3f86dd3e to your computer and use it in GitHub Desktop.
chromium build
#!/bin/sh
set -ex
echo "in chromium directory"
mkdir chromium && cd chromium
echo "fetch chromium"
fetch --nohooks chromium
echo "in src directory"
cd src
echo "build deps"
./build/install-build-deps.sh
echo "gclient hooks"
gclient runhooks
echo "generate default"
gn gen out/Default
echo "build"
autoninja -C out/Default chrome
echo "done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment