From b9cc48a43ed984587c939d02fba5316bf5c0df6e Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Fri, 20 Sep 2013 16:17:43 -0700 Subject: Upgrade Proguard to 4.10. Downloaded from: http://sourceforge.net/projects/proguard/files/proguard/4.10/ Bug: 8992787 Change-Id: Ia07cc5b3feed443982b7e8f2a1f361479e735b18 --- examples/midlets.pro | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'examples/midlets.pro') diff --git a/examples/midlets.pro b/examples/midlets.pro index bffc38e..1383980 100644 --- a/examples/midlets.pro +++ b/examples/midlets.pro @@ -9,8 +9,8 @@ -injars in.jar -outjars out.jar --libraryjars /usr/local/java/wtk2.1/lib/midpapi20.jar --libraryjars /usr/local/java/wtk2.1/lib/cldcapi11.jar +-libraryjars /usr/local/java/wtk2.5.2/lib/midpapi20.jar +-libraryjars /usr/local/java/wtk2.5.2/lib/cldcapi11.jar # Preverify the code suitably for Java Micro Edition. @@ -34,13 +34,24 @@ # # -dontusemixedcaseclassnames -# Preserve all public midlets. +# Save the obfuscation mapping to a file, so you can de-obfuscate any stack +# traces later on. --keep public class * extends javax.microedition.midlet.MIDlet +-printmapping out.map + +# You can keep a fixed source file attribute and all line number tables to +# get stack traces with line numbers. + +#-renamesourcefileattribute SourceFile +#-keepattributes SourceFile,LineNumberTable -# Print out a list of what we're preserving. +# You can print out the seeds that are matching the keep options below. --printseeds +#-printseeds out.seeds + +# Preserve all public midlets. + +-keep public class * extends javax.microedition.midlet.MIDlet # Preserve all native method names and the names of their classes. -- cgit v1.2.3