18–20 Sept 2024
Europe/Vienna timezone

AOSP: A case study in writing a custom build system

18 Sept 2024, 15:10
20m
"Hall N2" (Austria Center)

"Hall N2"

Austria Center

161
Build System MC Build System MC

Speaker

Chris Simmonds

Description

AOSP is a Linux operating system for smart phones, tablets, TVs and many other sorts of device, all of which fall under the broad term "embedded". AOSP has it's own build system, but it shares many characteristics with others. Initially it was based on GNU Make (Buildroot-like), then with Android 8 it began the migration to a new tool called Soong, with recipes written in a format called Blueprint. Soong and Blueprint have a lot in common with OpenEmbedded and Bitbake. Since Android 8, the migration to Soong has stalled, maybe because of the effort that would be required to move all logic from Makefiles to Soong modules and Blueprint

I want to explore the consequences of depending on a single-purpose build system and how AOSP has reacted to the challenges over the years. Points for discussion:

  • writing build systems is hard, there are many corner cases
  • could AOSP benefit from experiences of others (OpenEmbedded, Buildroot)?
  • could there be a forum for build system maintainers?
  • could there be a meta build system, meta meta data?

Primary author

Presentation materials

There are no materials yet.