Add Fresco to ProGuard
Summary: Motivation #7760 Closes https://github.com/facebook/react-native/pull/7781 Differential Revision: D3397772 fbshipit-source-id: 02b6fd4a403da590fd1c55c554eca00e15899a03
This commit is contained in:
parent
edfe2a3a06
commit
2a92b52ac8
|
@ -26,11 +26,14 @@
|
||||||
# See http://sourceforge.net/p/proguard/bugs/466/
|
# See http://sourceforge.net/p/proguard/bugs/466/
|
||||||
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
|
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip
|
||||||
-keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
|
-keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters
|
||||||
|
-keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip
|
||||||
|
|
||||||
# Do not strip any method/class that is annotated with @DoNotStrip
|
# Do not strip any method/class that is annotated with @DoNotStrip
|
||||||
-keep @com.facebook.proguard.annotations.DoNotStrip class *
|
-keep @com.facebook.proguard.annotations.DoNotStrip class *
|
||||||
|
-keep @com.facebook.common.internal.DoNotStrip class *
|
||||||
-keepclassmembers class * {
|
-keepclassmembers class * {
|
||||||
@com.facebook.proguard.annotations.DoNotStrip *;
|
@com.facebook.proguard.annotations.DoNotStrip *;
|
||||||
|
@com.facebook.common.internal.DoNotStrip *;
|
||||||
}
|
}
|
||||||
|
|
||||||
-keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
|
-keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * {
|
||||||
|
|
Loading…
Reference in New Issue