Follow https://github.com/ChromeDevTools/devtools-frontend/blob/main/docs/workflows.md
The dtb
and dtcr
commmands here are nice.
Please read this doc: Chrome DevTools Contribution Guide
args.gn
as your gn build configurationgn args out/Default
and copy/paste what you want to use, then save.source chromium.sh
git pull && depsbcr
That’s it. You can also run the various components of the bash script seperately and together.
deps
: run gclient sync to synchronize all the “submodule” dependencieshooks
run gclient hooks, which is otherwise automaticaly run after deps.gom
: initialize gomab
: build/compile chromecr
: run the built chrome binaryI often do this sequence: git pull && deps && bcr
followed by hacking followed by bcr
, bcr
, bcr
.
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/clangd.md https://chromium.googlesource.com/chromium/src/+/HEAD/docs/vscode.md
Googlers: