diff options
author | Brint E. Kriebel <bekit@cyngn.com> | 2014-09-29 17:19:43 -0700 |
---|---|---|
committer | Brint E. Kriebel <bekit@cyngn.com> | 2014-09-29 17:19:43 -0700 |
commit | b64a23b7cc2761f03879ceb6b030ae80171f11e2 (patch) | |
tree | 86ba49fd1b7275a7e293c3c3bc44e6317bebf67f /examples/ant/applets.xml | |
parent | fe926bab25e3af81265d4e0bbb79bcdb41b10635 (diff) | |
parent | 9961286c06c25cd03464d3e2b00bd9b9dedf96ba (diff) | |
download | android_external_proguard-b64a23b7cc2761f03879ceb6b030ae80171f11e2.tar.gz android_external_proguard-b64a23b7cc2761f03879ceb6b030ae80171f11e2.tar.bz2 android_external_proguard-b64a23b7cc2761f03879ceb6b030ae80171f11e2.zip |
Merge remote-tracking branch 'aosp/l-preview' into cm-11.0cm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56stable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0cm-11.0
Diffstat (limited to 'examples/ant/applets.xml')
-rw-r--r-- | examples/ant/applets.xml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/examples/ant/applets.xml b/examples/ant/applets.xml index a55b1c3..4d0cb38 100644 --- a/examples/ant/applets.xml +++ b/examples/ant/applets.xml @@ -7,7 +7,9 @@ <taskdef resource="proguard/ant/task.properties" classpath="lib/proguard.jar" /> - <proguard printseeds="on"> + <proguard printseeds="on" + printmapping="out.map" + renamesourcefileattribute="SourceFile"> <!-- Specify the input jars, output jars, and library jars. --> @@ -16,14 +18,19 @@ <libraryjar file="${java.home}/lib/rt.jar" /> - <!-- Preserve all public applets. --> - - <keep access="public" extends="java.applet.Applet" /> + <!-- Optionally preserve line numbers in the obfuscated stack traces. + <keepattribute name="LineNumberTable"> + <keepattribute name="SourceFile"> + --> <!-- Preserve all annotations. --> <keepattribute name="*Annotation*" /> + <!-- Preserve all public applets. --> + + <keep access="public" extends="java.applet.Applet" /> + <!-- Preserve all native method names and the names of their classes. --> <keepclasseswithmembernames> |