From 2827b0397bd0cbc17dc78fb98685c851afabd18a Mon Sep 17 00:00:00 2001 From: paweldomas <pawel.domas@jitsi.org> Date: Tue, 20 Jan 2015 13:15:10 +0100 Subject: [PATCH] Excludes CryptoBenchmark from 'compile' target. --- build.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index c8c2ce44..a3795d03 100644 --- a/build.xml +++ b/build.xml @@ -63,6 +63,8 @@ target="1.6"> <src path="${src}"/> <exclude name="org/jitsi/impl/neomedia/codec/audio/speex/Java*"/> + <exclude + name="org/jitsi/impl/neomedia/transform/srtp/CryptoBenchmark.java"/> </javac> </target> <target name="compile-test" depends="compile"> @@ -89,7 +91,22 @@ file="${src}/org/jitsi/impl/neomedia/codec/EncodingConfigurationImpl.java" token="public static final boolean G729 = true" value="public static final boolean G729 = false"/> - </target> + </target> + <!-- Use this target to build with CryptoBenchmark.java --> + <target name="compile-with-benchmark"> + <mkdir dir="${dest}" /> + <javac + classpathref="compile.class.path" + debug="true" + destdir="${dest}" + fork="true" + optimize="true" + source="1.6" + target="1.6"> + <src path="${src}"/> + <exclude name="org/jitsi/impl/neomedia/codec/audio/speex/Java*"/> + </javac> + </target> <target name="jar" depends="compile"> <jar -- GitLab