aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-28 19:14:57 -0700
committersg215889 <[email protected]>2009-07-28 19:14:57 -0700
commit6db7512b4dc3c97e31937e3bd226b2b33cc53268 (patch)
treecf4c26a6fc94996e18232b1d4b772d5960a8d238
parent4b5e1a0f826597d8cdcf81865194ee8d67511b70 (diff)
NativeWindow: noNativeAWT if nodesktop
-rw-r--r--make/build-nativewindow.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index 7dae934e4..8a903eb0c 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -76,6 +76,13 @@
</and>
</condition>
+ <condition property="setup.noNativeAWT">
+ <or>
+ <isset property="setup.noAWT"/>
+ <isset property="setup.nodesktop"/>
+ </or>
+ </condition>
+
<condition property="setup.noall">
<isset property="setup.noAWT"/>
</condition>
@@ -85,6 +92,7 @@
<echo message="setup.nodesktop: ${setup.nodesktop}" />
<echo message="setup.noall: ${setup.noall}" />
<echo message="setup.noAWT: ${setup.noAWT}" />
+ <echo message="setup.noNativeAWT: ${setup.noNativeAWT}" />
<echo message="javac.bootclasspath-cdc.jar: ${javac.bootclasspath-cdc.jar}" />
<!-- partitioning -->
@@ -709,7 +717,7 @@
</sequential>
</macrodef>
- <target name="c.fixup.jawt.version.macosx" if="isOSX" unless="setup.noAWT">
+ <target name="c.fixup.jawt.version.macosx" if="isOSX" unless="setup.noNativeAWT">
<!-- Edit the link to the JAWT version in the resulting jnilib
file; this isn't strictly needed but seems to allow the
universal binaries to work on 10.3 machines as well, which
@@ -730,7 +738,7 @@
linker.cfg.id="${linker.cfg.id.base}"/>
</target>
- <target name="c.build.nativewindow.awt" unless="setup.noAWT">
+ <target name="c.build.nativewindow.awt" unless="setup.noNativeAWT">
<c.build c.compiler.src.files="c.src.files.awt"
c.compiler.use-jawt="true"
output.lib.name="nativewindow_awt"