New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromium: speed up build and enable system ffmpeg, libjpeg, and zlib #100110
Conversation
By default GN produces a build with all of the debug assertions enabled (is_debug=true) and including full debug info (symbol_level=2). Setting symbol_level=1 will produce enough information for stack traces, but not line-by-line debugging. Setting symbol_level=0 will include no debug symbols at all. Either will speed up the build compared to full symbols.
My plan in coming pull requests is to get Chromium to:
|
Getting #99647 merged would help with my first goal. |
@primeos requesting review since ofborg did not. |
Sorry for the delay, I lost track of this. Let's give this a try :)
|
@primeos I was planning to submit another pull request that additionally makes Chromium build with the system fontconfig, freetype, harfbuzz, icu, libdrm, libevent, libvpx, libxml, openh264, and re2. I don't expect there to be any issue right now since nixos-unstable has the latest version of all of those but harfbuzz, libvpx, and libwebp for which I submitted pull requests and re2 which someone just needs to merge. Other distros are able to handle using the system libraries using the latest versions; my main concern is with backporting the libraries, but if that is not possible they can just be selectively commented out. |
No, not that I know of, but most/(almost all?) people usually do it anyway (for code and especially for commit messages). And if you look at the commit messages in Nixpkgs or the Linux kernel most people wrap their lines at 72 or 80 characters (with exceptions of course, e.g. for readability).
Yeah, though I'd assume that they also have more or dedicated maintainers (see #78450).
Oh, I forgot to consider our stable channel. I guess selectively commenting them out is either up to you or I have to do it more aggressively (but only in the case of compilation errors) to avoid long iteration cycles. |
Only tested and built
chromium
notchromiumBeta
andchromiumDev
.sandbox
innix.conf
on non-NixOS linux)./result/bin/
)