[Android] Preserve line number in release builds
Geoffrey Métais
git at videolan.org
Wed Aug 14 15:55:08 CEST 2019
vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Aug 14 15:51:52 2019 +0200| [1ec1278424f3e829be10908ae02a5c5832b6423d] | committer: Geoffrey Métais
Preserve line number in release builds
(cherry picked from commit 0efa9402ba2a877cc9d5f420d6ef061e6a15eaa1)
> https://code.videolan.org/videolan/vlc-android/commit/1ec1278424f3e829be10908ae02a5c5832b6423d
---
vlc-android/proguard.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/proguard.cfg b/vlc-android/proguard.cfg
index 6d0b58bb3..fabb48950 100644
--- a/vlc-android/proguard.cfg
+++ b/vlc-android/proguard.cfg
@@ -6,6 +6,7 @@
-dontwarn **
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
+-keepattributes SourceFile,LineNumberTable
# Do not optimize/shrink LibVLC, because of native code
-keep class org.videolan.libvlc.** { *; }
More information about the Android
mailing list