aboutsummaryrefslogtreecommitdiffstats
path: root/make/lib
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-07 04:29:31 +0100
committerSven Gothel <[email protected]>2012-03-07 04:29:31 +0100
commit85d3068b842af1aa50295a652e037ecb2510d765 (patch)
treef27a3b6235803b135f769d5c8b2929510748d50a /make/lib
parent238a669b5163e76d79dcf298b3c63381821e01ba (diff)
gluegen-cpptasks-android-armv7: Add 'gluegen.cpptasks.detect.os.custom' target which makes it self-contained
build script and jenkins-node startup-script solely use env-vars. Remove env. TARGET_ARCH, which was same as TARGET_TRIPPLE.
Diffstat (limited to 'make/lib')
-rw-r--r--make/lib/gluegen-cpptasks-android-armv7.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/make/lib/gluegen-cpptasks-android-armv7.xml b/make/lib/gluegen-cpptasks-android-armv7.xml
index 5004273..13ff70e 100644
--- a/make/lib/gluegen-cpptasks-android-armv7.xml
+++ b/make/lib/gluegen-cpptasks-android-armv7.xml
@@ -15,6 +15,19 @@
<project name="GlueGen-cpptasks-android-armv7" basedir="." >
+<!-- Set OS and ARCH for crosscompilation compiler configuration -->
+<target name="gluegen.cpptasks.detect.os.custom">
+ <property name="gluegen.cpptasks.detected.os" value="true" />
+ <property name="isUnix" value="true" />
+ <property name="isAndroid" value="true" />
+ <property name="isAndroidARMv7" value="true" />
+ <property name="jvmDataModel.arg" value="-Djnlp.no.jvm.data.model.set=true" />
+ <property name="isCrosscompilation" value="true" />
+ <property name="android.abi" value="armeabi-v7a" />
+
+ <echo message="gluegen.cpptasks.detect.os.custom: GLUEGEN_CPPTASKS_FILE 'gluegen-cpptasks-android-armv7' done"/>
+</target>
+
<import file="../gluegen-cpptasks-base.xml" optional="false" />
<target name="gluegen.cpptasks.configure.compiler" depends="setup.java.home.dir,declare.linux.android">