diff options
author | Ying Wang <wangying@google.com> | 2012-02-27 10:21:35 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2012-02-27 11:54:51 -0800 |
commit | cfead78069f3dc32998dc118ee08cab3867acea2 (patch) | |
tree | 9600f15eed62fa9ba63ce5894d1f09fe686d5997 /examples/midlets.pro | |
parent | 10aa7224f49abe49d123bde5d34346202d49aaca (diff) | |
download | external_proguard-cfead78069f3dc32998dc118ee08cab3867acea2.tar.gz external_proguard-cfead78069f3dc32998dc118ee08cab3867acea2.tar.bz2 external_proguard-cfead78069f3dc32998dc118ee08cab3867acea2.zip |
Upgrade from Progaurd 4.4 to 4.7.
Change-Id: Ie185d0be411a80cc6a330cafa8547252a7dc1d9c
You can find the changelog here
http://proguard.sourceforge.net/#downloads.html
Diffstat (limited to 'examples/midlets.pro')
-rw-r--r-- | examples/midlets.pro | 23 |
1 files changed, 17 insertions, 6 deletions
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. |