Files
Ryan VanderMeulen fe35349bdd Bug 2046378 - Register generated sources via the variant Sources API. r=ahochheiden,android-reviewers,adhingra
support-base, lib-crash, and Focus generate Kotlin sources and register their output directories
through the legacy android.sourceSets java srcDir API. Replace that with the variant Sources API:
a typed task plus variant.sources.java.addGeneratedSourceDirectory for the Gradle-generated enum and
locale list, and variant.sources.java.addStaticSourceDirectory for lib/crash, whose annotations file
is generated into the objdir by the build system rather than by a Gradle task.

This is behavior-neutral: the generated files are byte-identical.

Differential Revision: https://phabricator.services.mozilla.com/D305836
2026-06-11 11:44:10 +00:00
..