~/talk

Automated migration of Android apps to Bazel build system

links:none on file
slides:none on file

A Gradle plugin lives in buildSrc and exposes a migrateToBazel task that scans every module’s configurations, extracts implementation/API dependencies, maps internal modules to Bazel labels, and emits per-module build.bazel generation files plus a workspace. A two-module demo (app + images) writes BUILD.bazel files and Bazelisk runs bazel build successfully. The migration uses a Kotlin codegen DSL (Airin) to produce Starlark, preserves dependency graphs, and surfaces real issues: Bazel rejects single-token package names and data binding needs custom rules.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10What is Bazel
  3. 7:56Migration goals
  4. 9:21Gradle plugin approach
  5. 12:49Demo: Simple project
  6. 23:41Running migration
  7. 26:27Real-world challenges
  8. 28:55Code generation with DSL
  9. 37:39Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.