CLion and Chromium browser

Hi, is there anywhere a tutorial on how to load, debug and run the Chromium project (or projects based on it) on Windows? 
I could load the project using compilation database, doesn't use common toolchains, it uses Google's “gn” (generator ninja) which generates ninja files.
There is a very old tutorial, which does not work too well: https://chromium.googlesource.com/chromium/src/+/70.0.3515.0/docs/clion_dev.md

How chromium is built: first time, we call a custom `build.bat`, which calls `gn generator with some flags and starts the build` in the root dir. for the next builds, we call `ninja -C src\out\Debug-x64\ chrome`. On Windows, the only toolchains I see in CLion are MinGW and Visual Studio, maybe I should create another custom toolchain which uses ninja+clang?

currently everything is red, CLion doesn't know even “namespace” keyword.

I would like to use CLion for this project, thanks

1
1 comment

I also want a tutorial on how to use CLion to debug Chromium on macOS. It would be great if JetBrains could help with this, especially now that CLion runs better with big projects like Chromium.
https://blog.jetbrains.com/clion/2024/11/2024-3-available/

0

Please sign in to leave a comment.