Files
UnrealEngineUWP/Engine/Build/Android/Java/proguard-project.txt
Chris Babcock 6bb106858f Added another variant of proguard keep explicitly for MediaPlayer14
#ue4
#android
#codereview Daniel.Lamb

[CL 2478795 by Chris Babcock in Main branch]
2015-03-13 13:38:22 -04:00

91 lines
2.3 KiB
Plaintext

# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# Needed to keep the JNI functions around
-keepclassmembers class com.epicgames.ue4.GameActivity {
public *;
}
-keep class * extends android.media.MediaPlayer {
public *;
}
-keep class com.epicgames.ue4.MediaPlayer14 {
public *;
}
-keep class com.epicgames.ue4.MessageBox01 {
public *;
}
# Needed...
-keep class com.epicgames.ue4.GameActivity$JavaAchievement {
public *;
}
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Required for Google Play services: http://developer.android.com/google/play-services/setup.html
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
# These prevent required classes and fields from being stripped when using the Google Play Games C++ SDK
-keep class com.google.android.gms.common.** {
*;
}
-keep class com.google.android.gms.games.** {
*;
}
# End Google Play services requirements
# Google Play Admob
-keep public class com.google.android.gms.ads.** {
public *;
}
-keep public class com.google.ads.** {
public *;
}
# Google Play Billing Services for In-App Purchases
-keep class com.android.vending.billing.** {
*;
}
-keep class epicgames.ue4.StoreHelper.** {
public *;
}
-keep class epicgames.ue4.GooglePlayStoreHelper.** {
public *;
}