News for hackers. Stuff that matters.
Re:The project to migrate Android to Bazel is cancelled by pkulak on Tuesday April 16, 2024 @12:59AM (#40048505)
Wasn’t it cancelled last year?
Re:The project to migrate Android to Bazel is cancelled by eviks on Tuesday April 16, 2024 @03:32AM (#40049286)
That's what the tweet says?
Re:The project to migrate Android to Bazel is cancelled by znpy on Tuesday April 16, 2024 @07:12AM (#40050612)
The project to cancel it took longer than expected
Re:The project to migrate Android to Bazel is cancelled by drekipus on Tuesday April 16, 2024 @03:17AM (#40049187)
I'm currently reading how big things get done [1]

It almost seems trite when you read "... The project took longer than anticipated ... "

Really good read if you want to look into project estimations and planning

[1] https://www.amazon.com.au/How-Big-Things-Get-Done/dp/0593239...

Re:The project to migrate Android to Bazel is cancelled by senkora on Thursday April 18, 2024 @01:27PM (#40078601)
+1. I just read this on your recommendation and can also recommend it.
Re:The project to migrate Android to Bazel is cancelled by oakpond on Tuesday April 16, 2024 @03:22AM (#40049216)
It would be interesting to read what's hard about migrating Android to Bazel.
Re:The project to migrate Android to Bazel is cancelled by flohofwoe on Tuesday April 16, 2024 @11:41AM (#40053468)
It's interesting to read about the original announcements to port to Bazel, e.g.:

https://www.infoq.com/news/2020/11/android-aosp-bazel/

...it reads like one of those overly optimistic 'process optimizations' a middle manager new to the team would come up with after having a look at 'the accumulated mess'.

Maybe said middle manager moved on, with the rest of the team letting out a sigh of relief and carrying on with actually being productive ;)

Re:The project to migrate Android to Bazel is cancelled by IshKebab on Tuesday April 16, 2024 @12:46PM (#40054253)
In my experience migrating build systems is always way harder than you'd think because you kind of have to do it all at once, everything depends on it, and they're usually pretty hairy. Also testing them is very slow, and they're a moving target.

It's also difficult to justify time spent on it because so many people are like "but it works already".

Re:The project to migrate Android to Bazel is cancelled by tripdout on Tuesday April 16, 2024 @01:19PM (#40054647)
They already moved away from pure Make in Android 8, wonder if that was just more urgent or the migration to Bazel is just harder?
Re:The project to migrate Android to Bazel is cancelled by throughywhey on Tuesday April 16, 2024 @10:02AM (#40052005)
The same project has been happening at Spotify for years now with no end in sight. It's an absolute joke.
Re:The project to migrate Android to Bazel is cancelled by shaftway on Tuesday April 16, 2024 @01:24PM (#40054720)
We had a similar project at Block. Backend and iOS bit the bullet and moved to Bazel, Android development did not. Now the iOS teams are building tooling on top of Bazel and the public tools around it to have build servers, automatically remove unused dependencies, and all sorts of nifty stuff. The Android team is hacking around with Gradle, struggling just to keep the lights on and writing custom tools to work with the Gradle project structure.

I wish we had gone all-in on Gradle also.

Re:The project to migrate Android to Bazel is cancelled by jason2323 on Tuesday April 16, 2024 @11:52AM (#40053616)
Bazel has been the most difficult build system to use IMO, glad they decided not to move forward with it
Re:The project to migrate Android to Bazel is cancelled by tripdout on Tuesday April 16, 2024 @01:19PM (#40054650)
Harder than using Soong + Ninja + Kati together?
Re:The project to migrate Android to Bazel is cancelled by trws on Tuesday April 16, 2024 @01:48PM (#40054978)
It depends on your needs. I haven’t used that stack, but I maintain projects that have to use autotools, cmake and about a dozen different compilers together to build, 3 of them Fortran compilers. Bazel is easy if you have exactly one blessed toolchain, or very few, but if you need to build in any appreciable number of environments with different toolchains it’s an absolute nightmare. Perhaps this could be fixed, but it was literally years to get support for a compiler installed anywhere other than /usr/bin. It was just never meant to work with variable environments.
Re:The project to migrate Android to Bazel is cancelled by aftbit on Tuesday April 16, 2024 @01:03PM (#40054460)
Will Android (or Pixel) ever migrate to Fuchsia?