Files
UnrealEngineUWP/Engine/Build/Android/Java/proguard-project.txt
Rene Rivera ffde9aa6b7 [UE-4398] Implement Android Media plugin, for API 14 an onwards, and packaging changes to support it. Changes include:
Fixed JavaVM so it is automatically detached from a thread when thread exits (stops VM crash on thread exit ever happening)
Move JavaVM access into the application code.
Add utility Java call-in class to make it easier to use Java objects from C++ side.
Implement GetSystemErrorMessage to aid in debugging.
Expose some internal Android EGL data for use in plugins (i.e. the movie plugin).
Add access to Java AssetManager object.
Change Android OBBs from plain PAKs to uncompressed ZIPs of the staged content to allow both multiple PAKs and to allow non-PAK content. In particular this allow movies to be in the OBB as they need to be directly accessed.

#codereview Josh.Adams, Chris.Babcock

[CL 2362008 by Rene Rivera in Main branch]
2014-11-17 11:31:49 -05:00

85 lines
2.2 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 *;
}
-keepclassmembers class com.epicgames.ue4.MediaPlayer14 {
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 *;
}