Bug 2071819 - add keep rules for obfuscation. #425 (firefox-autoland@autoland)

Warnings
  • Checking...
Blockers
  • Checking...
Branches switch-on-obfuscation -> autoland
Repo firefox-autoland@autoland (git) (git://github.com/pollym/firefox.git)
Author pollym
State open
Commit Title

Bug 2071819 - add keep rules for obfuscation.

Commit Body

This is in preparation for turning on obfuscation - which will be a simple follow up "switch it on" PR, for ease of backoutability :) This changeset adds the keep rules we will need for the app to still work ok with obfuscation on. Anywhere that navigation arguments using mozilla defined types are used, doesn't play nicely with obfuscation because androidx navigation uses reflection under the hood. So each module now offers a set of consumer proguard rules to allow it to be obfuscated by fenix or focus. [try after rebase is here](https://treeherder.mozilla.org/jobs?repo=try&revision=63149bcfe31845a0075bf8ab081b7b492107d241)

Landings

Not yet Landed
There has been no attempt to land revisions in this stack.