summaryrefslogtreecommitdiff
blob: eb9e6fc24af29ea7589e127a0f65e38d182215fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
diff -Naur a/build.xml b/build.xml
--- a/build.xml	2014-02-18 23:32:25.440819710 +0100
+++ b/build.xml	2014-02-18 23:33:26.308555686 +0100
@@ -57,10 +57,6 @@
 
   <property name="version" value="0.9.7"/>
 
-  <!-- Define additional tasks -->
-  <taskdef name="proguard" classname="proguard.ant.ProGuardTask"
-           classpath="${lib}/proguard3.2.jar" />
-
   <target name="init" description="Initialise ant" depends="clean">
     <tstamp>
       <format property="NOW" pattern="dd/MM/yyyy HH:mm" locale="en"/>
@@ -138,19 +134,6 @@
   <target name="compress" depends="package"
           description="Package obfuscated JSpeex library" >
     <mkdir dir="${log}"/>
-    <proguard>
--libraryjars ${java.home}/lib/rt.jar
--injars      ${dist}/jspeex.jar
--outjar      ${dist}/jspeex-obf.jar
--renamesourcefileattribute SourceFile
--keepattributes InnerClasses,SourceFile
--printmapping ${log}/jspeex-obf.map
--overloadaggressively
-
--keep public class * {
-    public protected *;
-}
-    </proguard>
   </target>
 
   <target name="compress-dec-nb" depends="compile-nb"
@@ -161,18 +144,6 @@
         <attribute name="Main-Class" value="JSpeexDec"/>
       </manifest>
     </jar>
-    <proguard>
--libraryjars ${java.home}/lib/rt.jar
--injars      ${dist}/jspeex-dec-nb.jar
--outjar      ${dist}/jspeex-dec-nb-obf.jar
--printmapping ${log}/jspeex-dec-nb-obf.map
--overloadaggressively
--defaultpackage ''
-
--keep public class JSpeexDec {
-    public static void main(java.lang.String[]);
-}
-    </proguard>
   </target>
 
   <!-- ******************************************************************** -->