Skip to content

Commit

Permalink
Merge pull request #1134 from Dexterp37/android_proguard_testapi
Browse files Browse the repository at this point in the history
Bug 1655116 - Suppress proguard warnings for `mozilla.telemetry.glean.testing.**`
  • Loading branch information
badboy authored Aug 7, 2020
2 parents a2329de + aeb0e28 commit 3fe0983
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions glean-core/android/proguard-rules-consumer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@

# Glean specific rules
-keep class mozilla.telemetry.** { *; }

# The Glean SDK ships with classes used for tests as well. They are disabled
# and not directly usable in production code: they throw if used there. They
# can be used in tests just fine but, outside of tests, the test dependency
# they use won't be there, hence the warning. It's safe to suppress these.
-dontwarn mozilla.telemetry.glean.testing.**

0 comments on commit 3fe0983

Please sign in to comment.