mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
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