summaryrefslogtreecommitdiffstats
path: root/examples/midlets.pro
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2013-09-20 16:17:43 -0700
committerYing Wang <wangying@google.com>2013-09-20 16:32:42 -0700
commitb9cc48a43ed984587c939d02fba5316bf5c0df6e (patch)
tree7d42e31a97264803b1147ef6001e8a5e6968a122 /examples/midlets.pro
parent54f59ac04f3e21d5aecdd46bb1e7f4577924ab92 (diff)
downloadexternal_proguard-b9cc48a43ed984587c939d02fba5316bf5c0df6e.tar.gz
external_proguard-b9cc48a43ed984587c939d02fba5316bf5c0df6e.tar.bz2
external_proguard-b9cc48a43ed984587c939d02fba5316bf5c0df6e.zip
Upgrade Proguard to 4.10.
Downloaded from: http://sourceforge.net/projects/proguard/files/proguard/4.10/ Bug: 8992787 Change-Id: Ia07cc5b3feed443982b7e8f2a1f361479e735b18
Diffstat (limited to 'examples/midlets.pro')
-rw-r--r--examples/midlets.pro23
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.