diff options
author | Sven Gothel <[email protected]> | 2012-04-03 18:37:24 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-03 18:37:24 +0200 |
commit | 48581e36773e58e20a3e780caf5b1c29b4805285 (patch) | |
tree | fd20cae46ad8ed8bf6831275606361b02e1bc605 /make/build-jogl.xml | |
parent | 6f62bd9d1048455599ac0eb2387e29d54d3096dd (diff) |
Ant Build: Split 2nd pass in android and non-android builds. The former uses the Android API JAR for android specifics.
Diffstat (limited to 'make/build-jogl.xml')
-rw-r--r-- | make/build-jogl.xml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml index ace272b74..68888c830 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -1043,7 +1043,7 @@ </javac> </target> - <target name="java.compile.secondpass.javase"> + <target name="java.compile.secondpass.javase" unless="isAndroid"> <!-- Perform the second pass Java compile; everything except portion of fixed function emulation depending on generated code. --> <javac destdir="${classes}" excludes="com/jogamp/opengl/util/glsl/fixedfunc/FixedFuncUtil.java,${java.excludes.all}" @@ -1061,7 +1061,26 @@ </javac> </target> - <target name="java.compile.secondpass" depends="java.generate.composable.pipeline, java.compile.secondpass.javase" /> + <target name="java.compile.secondpass.android" if="isAndroid"> + <!-- Perform the second pass Java compile; everything except portion of fixed function emulation depending on generated code. --> + <javac destdir="${classes}" + excludes="com/jogamp/opengl/util/glsl/fixedfunc/FixedFuncUtil.java,${java.excludes.all}" + fork="yes" + includeAntRuntime="false" + memoryMaximumSize="${javac.memorymax}" + encoding="UTF-8" + source="${target.sourcelevel}" + target="${target.targetlevel}" + bootclasspath="${target.rt.jar}" + debug="${javacdebug}" debuglevel="${javacdebuglevel}"> + <classpath refid="android_nativewindow_gluegen.classpath"/> + <src path="${src.java}" /> + <src path="${src.generated.java}" /> + </javac> + </target> + + <!-- Perform the second pass Java compile; everything except portion of fixed function emulation depending on generated code. --> + <target name="java.compile.secondpass" depends="java.generate.composable.pipeline, java.compile.secondpass.javase, java.compile.secondpass.android" /> <target name="java.compile.thirdpass.javase"> <!-- Perform the third pass Java compile; everything including fixed function emulation. --> |