aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-newt.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-08-19 09:39:25 +0200
committerSven Gothel <[email protected]>2019-08-19 09:39:25 +0200
commit2871688753729ae03ab23bc9043af5012bfee8c6 (patch)
tree2ac60a935ea8368ac57e4cb5f1b2b8052c9ee523 /make/build-newt.xml
parent2ea5948b6133c4dc82533f9ce4a8fd56eb04eda2 (diff)
Bug 1363: Java 11: Complement javah replacement: Add new iOS
Complements patch 63e31d05ad9f1df99663997c2f04ad086f29c8fc
Diffstat (limited to 'make/build-newt.xml')
-rw-r--r--make/build-newt.xml41
1 files changed, 20 insertions, 21 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index 9b0c94ec7..b01249415 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -336,7 +336,7 @@
<include name="jogamp/newt/driver/windows/DisplayDriver.java" />
</javac>
- <!-- create OSX native headers -->
+ <!-- create MacOS native headers -->
<javac srcdir="${src.java}"
destdir="${classes}"
excludes="${java.excludes.all} ${java.part.driver.android}"
@@ -355,6 +355,25 @@
<include name="jogamp/newt/driver/macosx/DisplayDriver.java" />
</javac>
+ <!-- create iOS native headers -->
+ <javac srcdir="${src.java}"
+ destdir="${classes}"
+ excludes="${java.excludes.all} ${java.part.driver.android}"
+ nativeheaderdir="${src.generated.c}/iOS"
+ 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="jogl_nativewindow_gluegen.classpath"/>
+ <include name="jogamp/newt/driver/ios/WindowDriver.java" />
+ <include name="jogamp/newt/driver/ios/ScreenDriver.java" />
+ <include name="jogamp/newt/driver/ios/DisplayDriver.java" />
+ </javac>
+
<!-- create X11 native headers -->
<javac srcdir="${src.java}"
destdir="${classes}"
@@ -924,26 +943,6 @@
</sequential>
</macrodef>
- <!-- Removed: To be edited
- <target name="c.build.newt.prepare">
- <javah destdir="${src.generated.c}/KD" classpath="${javah.classpath}" class="jogamp.newt.driver.kd.WindowDriver" />
-
- <javah destdir="${src.generated.c}/IntelGDL" classpath="${javah.classpath}" class="jogamp.newt.driver.intel.gdl.DisplayDriver, jogamp.newt.driver.intel.gdl.ScreenDriver, jogamp.newt.driver.intel.gdl.WindowDriver" />
-
- <javah destdir="${src.generated.c}/bcm/egl" classpath="${javah.classpath}" class="jogamp.newt.driver.bcm.egl.WindowDriver" />
- <javah destdir="${src.generated.c}/bcm/vc/iv" classpath="${javah.classpath}" class="jogamp.newt.driver.bcm.vc.iv.DisplayDriver, jogamp.newt.driver.bcm.vc.iv.ScreenDriver, jogamp.newt.driver.bcm.vc.iv.WindowDriver" />
-
- <javah destdir="${src.generated.c}/Windows" classpath="${javah.classpath}" class="jogamp.newt.driver.windows.WindowDriver, jogamp.newt.driver.windows.ScreenDriver, jogamp.newt.driver.windows.DisplayDriver" />
- <javah destdir="${src.generated.c}/MacOSX" classpath="${javah.classpath}" class="jogamp.newt.driver.macosx.WindowDriver, jogamp.newt.driver.macosx.ScreenDriver, jogamp.newt.driver.macosx.DisplayDriver" />
- <javah destdir="${src.generated.c}/iOS" classpath="${javah.classpath}" class="jogamp.newt.driver.ios.WindowDriver, jogamp.newt.driver.ios.ScreenDriver, jogamp.newt.driver.ios.DisplayDriver" />
- <javah destdir="${src.generated.c}/X11" classpath="${javah.classpath}" class="jogamp.newt.driver.x11.WindowDriver, jogamp.newt.driver.x11.ScreenDriver, jogamp.newt.driver.x11.RandR11, jogamp.newt.driver.x11.RandR13, jogamp.newt.driver.x11.DisplayDriver" />
- </target>
-
- <target name="c.build.newt.prepare.android" if="isAndroid">
- <javah destdir="${src.generated.c}/Android" classpath="${javah.classpath}:${android.jar}" class="jogamp.newt.driver.android.WindowDriver" />
- </target>
- -->
-
<target name="c.build.newt.windowlib" unless="setup.nonatives">
<c.build c.compiler.src.files="c.src.files.newt"
output.lib.name="newt"