A handful of other areas are configured using Starlark in chromium. This particular use is in a very different capacity than Bazel - the Bazel equivalent in chromium is GN, and I have not seen any signs that GN will be replaced any time soon.
Kinda impressive and terrifying that Chromium needs its own build system. Kinda strange that Bazel was right there, also from Google, and they not only choose not to use it, but also reference it in the name of the new tool.
>Kinda impressive and terrifying that Chromium needs its own build system.
This is one area where I think it makes some sense to build your own. Most projects only use a fraction of the capability of a typical build system. The last time I did this I managed the whole thing in just 300 lines of code.
If Android was anything to go by, migrating build systems is a risky endeavour. Miso claims compatibility with ninja, so I’m guessing this route was deemed easier to make incremental improvements.
I wonder if AOSP will also move over to Siso. Since it is advertised as a drop in replacement it would take less resources than the Bazel migration which got canceled. The readme explicitly calls out a feature used by AOSP, so it is plausible that thought was put into it.
They want to "improve their build processes", huh? Yeah, there are some problems, like ginormous build times, for which there are some very well-known and pedestrian solutions ("physical code design"). But these aren't impressive enough to get promoted.
I just wanted to point out after reading the thread of the Chromium maintainers that it looked to me like they rushed out this change without proper consideration of all possible implications. Other comments there show that the developer isn’t intimately familiar in depth with the Chromium project at large, yet making changes with very wide impact.
I apologize if anyone got me wrong, especially if there are any Googler here that took this personally.
intexpress|8 months ago
I wonder if the end goal is to use Bazel for Chromium and Siso is an incremental step to get there
oldmanhorton|8 months ago
RainyDayTmrw|8 months ago
tonyedgecombe|8 months ago
This is one area where I think it makes some sense to build your own. Most projects only use a fraction of the capability of a typical build system. The last time I did this I managed the whole thing in just 300 lines of code.
operator-name|8 months ago
jinwoo68|8 months ago
jefftk|8 months ago
unknown|8 months ago
[deleted]
enqk|8 months ago
gyp could produce ninja files. gn is short for generate ninja. Now gn produces files compatible with siso
operator-name|8 months ago
Ninja compatible, for the flags that chromium uses. There’s some behaviour they’ve tuned for their use case.
charcircuit|8 months ago
txdv|8 months ago
out-of-ideas|8 months ago
IshKebab|8 months ago
operator-name|8 months ago
nikanj|8 months ago
pjmlp|8 months ago
Never heard of it, and ninja is the only way to build C++20 modules alongside CMake.
Then again, that is something that Chromium probably will never bother with.
kichik|8 months ago
mrlonglong|8 months ago
tedunangst|8 months ago
lordofgibbons|8 months ago
kookamamie|8 months ago
ahartmetz|8 months ago
Just Google things.
curtisszmania|8 months ago
[deleted]
kosolam|8 months ago
kosolam|8 months ago
kosolam|8 months ago
[deleted]