mirror of
https://github.com/mozilla-firefox/firefox.git
synced 2026-06-14 11:03:31 -05: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