Use system asm instead of embedded copy

Gbp-Pq: Name 0002-Use-system-asm-instead-of-embedded-copy.patch
This commit is contained in:
Sebastian Ramacher 2017-06-14 20:22:27 +02:00 committed by Lu zhiping
parent 02fe17243c
commit c9b1ab093f
1 changed files with 8 additions and 6 deletions

View File

@ -21,17 +21,15 @@
<target name="compile" depends="init"
description="compile the source " >
<javac srcdir="${src_asm}" destdir="${build}" debug="yes"
bootclasspath="${bootclasspath}"
source="${java_version_asm}" target="${java_version_asm}">
<compilerarg value="-XDignore.symbol.file"/>
<compilerarg value="-Xlint:-deprecation"/>
</javac>
<javac srcdir="${src}${src_awt}" destdir="${build}" debug="yes"
bootclasspath="${bootclasspath}"
source="${java_version_bdj}" target="${java_version_bdj}">
<compilerarg value="-XDignore.symbol.file"/>
<compilerarg value="-Xlint:-deprecation"/>
<classpath>
<pathelement path="/usr/share/java/asm.jar" />
<pathelement path="/usr/share/java/asm-commons.jar" />
</classpath>
</javac>
</target>
<target name="dist" depends="compile"
@ -39,6 +37,10 @@
<jar jarfile="${dist}/libbluray-${version}.jar" basedir="${build}">
<exclude name="java/awt/**" />
<exclude name="sun/**" />
<manifest>
<attribute name="Class-Path" value="/usr/share/java/asm.jar" />
<attribute name="Class-Path" value="/usr/share/java/asm-commons.jar" />
</manifest>
</jar>
<jar jarfile="${dist}/libbluray-awt-${version}.jar" basedir="${build}">
<include name="java/awt/**" />