diff options
author | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-08-30 16:53:58 -0700 |
commit | 6aaedb813fa11ba0679c3051bc2eb28646b9506c (patch) | |
tree | 34acbfc9840e02cb4753e6306ea7ce978bf8b58e /src/contrib/SDL-3.2.20/android-project/app/proguard-rules.pro | |
parent | 8f228ade99dd3d4c8da9b78ade1815c9adf85c8f (diff) |
Update to SDL3
Diffstat (limited to 'src/contrib/SDL-3.2.20/android-project/app/proguard-rules.pro')
-rw-r--r-- | src/contrib/SDL-3.2.20/android-project/app/proguard-rules.pro | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/contrib/SDL-3.2.20/android-project/app/proguard-rules.pro b/src/contrib/SDL-3.2.20/android-project/app/proguard-rules.pro new file mode 100644 index 0000000..5f8ee6a --- /dev/null +++ b/src/contrib/SDL-3.2.20/android-project/app/proguard-rules.pro | |||
@@ -0,0 +1,78 @@ | |||
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.content.Context getContext(); | ||
27 | boolean getManifestEnvironmentVariables(); | ||
28 | android.view.Surface getNativeSurface(); | ||
29 | void initTouch(); | ||
30 | boolean isAndroidTV(); | ||
31 | boolean isChromebook(); | ||
32 | boolean isDeXMode(); | ||
33 | boolean isScreenKeyboardShown(); | ||
34 | boolean isTablet(); | ||
35 | void manualBackButton(); | ||
36 | int messageboxShowMessageBox(int, java.lang.String, java.lang.String, int[], int[], java.lang.String[], int[]); | ||
37 | void minimizeWindow(); | ||
38 | boolean openURL(java.lang.String); | ||
39 | void onNativePen(int, int, int , float , float , float); | ||
40 | void requestPermission(java.lang.String, int); | ||
41 | boolean showToast(java.lang.String, int, int, int, int); | ||
42 | boolean sendMessage(int, int); | ||
43 | boolean setActivityTitle(java.lang.String); | ||
44 | boolean setCustomCursor(int); | ||
45 | void setOrientation(int, int, boolean, java.lang.String); | ||
46 | boolean setRelativeMouseEnabled(boolean); | ||
47 | boolean setSystemCursor(int); | ||
48 | void setWindowStyle(boolean); | ||
49 | boolean shouldMinimizeOnFocusLoss(); | ||
50 | boolean showTextInput(int, int, int, int, int); | ||
51 | boolean supportsRelativeMouse(); | ||
52 | int openFileDescriptor(java.lang.String, java.lang.String); | ||
53 | boolean showFileDialog(java.lang.String[], boolean, boolean, int); | ||
54 | java.lang.String getPreferredLocales(); | ||
55 | java.lang.String formatLocale(java.util.Locale); | ||
56 | } | ||
57 | |||
58 | -keep,includedescriptorclasses,allowoptimization class org.libsdl.app.HIDDeviceManager { | ||
59 | void closeDevice(int); | ||
60 | boolean initialize(boolean, boolean); | ||
61 | boolean openDevice(int); | ||
62 | boolean readReport(int, byte[], boolean); | ||
63 | int writeReport(int, byte[], boolean); | ||
64 | } | ||
65 | |||
66 | -keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLAudioManager { | ||
67 | void registerAudioDeviceCallback(); | ||
68 | void unregisterAudioDeviceCallback(); | ||
69 | void audioSetThreadPriority(boolean, int); | ||
70 | } | ||
71 | |||
72 | -keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLControllerManager { | ||
73 | void pollInputDevices(); | ||
74 | void pollHapticDevices(); | ||
75 | void hapticRun(int, float, int); | ||
76 | void hapticRumble(int, float, float, int); | ||
77 | void hapticStop(int); | ||
78 | } | ||