summaryrefslogtreecommitdiffstats
path: root/make/build-newt.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/build-newt.xml')
-rw-r--r--make/build-newt.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index 1b59433d7..7b9a51863 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -237,7 +237,7 @@
</javac>
</target>
- <target name="java.compile.android" if="isAndroid">
+ <target name="java.compile.android" if="android-jars.available">
<javac destdir="${classes}"
excludes="${java.excludes.all}"
fork="yes"
@@ -814,7 +814,7 @@
</jar>
</target>
- <target name="build-jars-android" depends="setup-manifestfile" if="isAndroid">
+ <target name="build-jars-android" depends="setup-manifestfile" if="android-jars.available">
<jar manifest="${build.newt}/manifest.mf" destfile="${newt-driver-android.jar}" filesonly="true">
<fileset dir="${classes}"
includes="${java.part.driver.android}"/>