Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Add consumer ProGuard rules to service-glean
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexterp37 committed Oct 16, 2019
1 parent 5de71f5 commit 1954259
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/service/glean/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
consumerProguardFiles 'proguard-rules-consumer.pro'
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions components/service/glean/proguard-rules-consumer.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ProGuard rules for consumers of this library.

-keep class mozilla.components.service.glean.debug.GleanDebugActivityKt { *; }

0 comments on commit 1954259

Please sign in to comment.