aboutsummaryrefslogtreecommitdiffstats
path: root/examples/applets.pro
diff options
context:
space:
mode:
authorBrint E. Kriebel <bekit@cyngn.com>2014-09-29 17:19:43 -0700
committerBrint E. Kriebel <bekit@cyngn.com>2014-09-29 17:19:43 -0700
commitb64a23b7cc2761f03879ceb6b030ae80171f11e2 (patch)
tree86ba49fd1b7275a7e293c3c3bc44e6317bebf67f /examples/applets.pro
parentfe926bab25e3af81265d4e0bbb79bcdb41b10635 (diff)
parent9961286c06c25cd03464d3e2b00bd9b9dedf96ba (diff)
downloadandroid_external_proguard-stable/cm-11.0.tar.gz
android_external_proguard-stable/cm-11.0.tar.bz2
android_external_proguard-stable/cm-11.0.zip
Diffstat (limited to 'examples/applets.pro')
-rw-r--r--examples/applets.pro21
1 files changed, 15 insertions, 6 deletions
diff --git a/examples/applets.pro b/examples/applets.pro
index ee90db0..c5affc1 100644
--- a/examples/applets.pro
+++ b/examples/applets.pro
@@ -11,18 +11,27 @@
-libraryjars <java.home>/lib/rt.jar
-# Preserve all public applets.
-
--keep public class * extends java.applet.Applet
+# Save the obfuscation mapping to a file, so you can de-obfuscate any stack
+# traces later on. Keep a fixed source file attribute and all line number
+# tables to get line numbers in the stack traces.
+# You can comment this out if you're not interested in stack traces.
-# Print out a list of what we're preserving.
-
--printseeds
+-printmapping out.map
+-renamesourcefileattribute SourceFile
+-keepattributes SourceFile,LineNumberTable
# Preserve all annotations.
-keepattributes *Annotation*
+# You can print out the seeds that are matching the keep options below.
+
+#-printseeds out.seeds
+
+# Preserve all public applets.
+
+-keep public class * extends java.applet.Applet
+
# Preserve all native method names and the names of their classes.
-keepclasseswithmembernames class * {