mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
AGP 9 removes the packagingOptions, lintOptions, and aaptOptions DSL blocks and the variantFilter API. Rename the blocks to their supported equivalents (packaging, lint, androidResources) and migrate the android-components browser sample's variantFilter to androidComponents.beforeVariants; all of these are already valid on the current AGP 8.13. Also switch the android-components buildTypes.all iterator to the lazy configureEach and the Fenix benchmark module's beforeVariants block from the removed VariantBuilder.enabled to enable. Fenix and Focus each had both a packagingOptions and a packaging block; these are merged into one. Differential Revision: https://phabricator.services.mozilla.com/D303679