summaryrefslogtreecommitdiffstats
path: root/make/build-jogl.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-25 02:09:03 +0100
committerSven Gothel <[email protected]>2019-12-25 02:09:03 +0100
commitc6ba090a0030c177d7e60f797a3ec25fecfe3546 (patch)
treee0ce2bddc1ff46dd793e8ee26977ede0183634b2 /make/build-jogl.xml
parentb91c680fb93a03720ff9fcb39cf052cfe8d40e76 (diff)
Bug 1417 - Android: Disable native FFmpeg binding for Android
Diffstat (limited to 'make/build-jogl.xml')
-rw-r--r--make/build-jogl.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index ac5c08dfd..84b422368 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -45,6 +45,8 @@
- Some environment defs affecting native compilation (only)
setup.noNativeDesktop - drop native desktop bindings (glx, wgl, ..)
+ setup.addNativeFFmpeg - add binding to FFmpeg
+
setup.addNativeOpenMAX - add experimental binding to Khrono's OpenMAX
setup.addNativeNVidiaCG - add experimental binding to NVidia's Cg language
@@ -1760,11 +1762,7 @@
</sequential>
</macrodef>
- <target name="c.build.jogl.prepare">
- <!-- Generate the waveout Mixer header -->
- <!-- FIXME: this is temporary until we move this to another workspace -->
- <!--javah destdir="${build.jogl}/gensrc/native/jogl" classpath="${javah.classpath}" class="com.jogamp.audio.windows.waveout.Mixer" /-->
-
+ <target name="c.build.jogl.ffmpeg" if="setup.addNativeFFmpeg">
<c.build.ffmpeg version.lav="lavc53_lavf53_lavu51"
output.lib.name="jogl_ffmpegv08"
compiler.cfg.id="${compiler.cfg.id}"
@@ -1787,6 +1785,10 @@
</target>
<target name="c.build.jogl.desktop" unless="setup.noNativeDesktop">
+ <!-- Generate the waveout Mixer header -->
+ <!-- FIXME: this is temporary until we move this to another workspace -->
+ <!--javah destdir="${build.jogl}/gensrc/native/jogl" classpath="${javah.classpath}" class="com.jogamp.audio.windows.waveout.Mixer" /-->
+
<c.build c.compiler.src.files="c.src.files.jogl.desktop"
c.compiler.obj.files="c.obj.files.ffmpeg.inject"
output.lib.name="jogl_desktop"
@@ -1823,7 +1825,7 @@
<antcall target="c.manifest.cg" inheritRefs="true" />
</target>
- <target name="c.build.jogl" depends="c.configure,c.build.jogl.prepare,c.build.jogl.desktop,c.build.jogl.mobile,c.build.jogl.cg">
+ <target name="c.build.jogl" depends="c.configure,c.build.jogl.ffmpeg,c.build.jogl.desktop,c.build.jogl.mobile,c.build.jogl.cg">
<antcall target="c.manifest" inheritRefs="true" />
</target>