Atlas - proguard-rules.pro

Home / ext / SDL / android-project / app Lines: 1 | Size: 3055 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1# Add project specific ProGuard rules here. 2# By default, the flags in this file are appended to flags specified 3# in [sdk]/tools/proguard/proguard-android.txt 4# You can edit the include path and order by changing the proguardFiles 5# directive in build.gradle. 6# 7# For more details, see 8# https://developer.android.com/build/shrink-code 9 10# Add any project specific keep options here: 11 12# If your project uses WebView with JS, uncomment the following 13# and specify the fully qualified class name to the JavaScript interface 14# class: 15#-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16# public *; 17#} 18 19-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLActivity { 20 java.lang.String nativeGetHint(java.lang.String); # Java-side doesn't use this, so it gets minified, but C-side still tries to register it 21 java.lang.String clipboardGetText(); 22 boolean clipboardHasText(); 23 void clipboardSetText(java.lang.String); 24 int createCustomCursor(int[], int, int, int, int); 25 void destroyCustomCursor(int); 26 android.app.Activity getContext(); 27 boolean getManifestEnvironmentVariables(); 28 android.view.Surface getNativeSurface(); 29 void initTouch(); 30 boolean isAndroidTV(); 31 boolean isChromebook(); 32 boolean isDeXMode(); 33 boolean isTablet(); 34 void manualBackButton(); 35 int messageboxShowMessageBox(int, java.lang.String, java.lang.String, int[], int[], java.lang.String[], int[]); 36 void minimizeWindow(); 37 boolean openURL(java.lang.String); 38 void requestPermission(java.lang.String, int); 39 boolean showToast(java.lang.String, int, int, int, int); 40 boolean sendMessage(int, int); 41 boolean setActivityTitle(java.lang.String); 42 boolean setCustomCursor(int); 43 void setOrientation(int, int, boolean, java.lang.String); 44 boolean setRelativeMouseEnabled(boolean); 45 boolean setSystemCursor(int); 46 void setWindowStyle(boolean); 47 boolean shouldMinimizeOnFocusLoss(); 48 boolean showTextInput(int, int, int, int, int); 49 boolean supportsRelativeMouse(); 50 int openFileDescriptor(java.lang.String, java.lang.String); 51 boolean showFileDialog(java.lang.String[], boolean, boolean, int); 52 java.lang.String getPreferredLocales(); 53 java.lang.String formatLocale(java.util.Locale); 54} 55 56-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.HIDDeviceManager { 57 void closeDevice(int); 58 boolean initialize(boolean, boolean); 59 boolean openDevice(int); 60 boolean readReport(int, byte[], boolean); 61 int writeReport(int, byte[], boolean); 62} 63 64-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLAudioManager { 65 void registerAudioDeviceCallback(); 66 void unregisterAudioDeviceCallback(); 67 void audioSetThreadPriority(boolean, int); 68} 69 70-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLControllerManager { 71 void pollInputDevices(); 72 void pollHapticDevices(); 73 void hapticRun(int, float, int); 74 void hapticRumble(int, float, float, int); 75 void hapticStop(int); 76} 77
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.