[Android] Preserve line number in release builds

Geoffrey Métais git at videolan.org
Wed Aug 14 15:52:30 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Aug 14 15:51:52 2019 +0200| [0efa9402ba2a877cc9d5f420d6ef061e6a15eaa1] | committer: Geoffrey Métais

Preserve line number in release builds

> https://code.videolan.org/videolan/vlc-android/commit/0efa9402ba2a877cc9d5f420d6ef061e6a15eaa1
---

 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