Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 109 lines (97 sloc) 6.617 kb
32f5dbe @badlogic added beginning of fetch script to be used to get natives from build ser...
badlogic authored
1 <!-- Call this to fetch all the natives from the build server -->
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
2 <project name="fetch-natives" default="all">
32f5dbe @badlogic added beginning of fetch script to be used to get natives from build ser...
badlogic authored
3 <property name="domain" value="http://libgdx.badlogicgames.com/nightlies/dist"/>
1b1cf78 @badlogic added objectal build script
badlogic authored
4 <property name="robovm" value="http://libgdx.badlogicgames.com/robovm/robovm/lib/"/>
e2a8e8f @badlogic added RoboVM backend to the build
badlogic authored
5
6 <target name="fetch-robovm">
7 <mkdir dir="backends/gdx-backend-robovm/libs/"/>
8 <get src="${robovm}/robovm-cacerts-full.jar" dest="backends/gdx-backend-robovm/libs/"/>
9 <get src="${robovm}/robovm-cocoatouch.jar" dest="backends/gdx-backend-robovm/libs/"/>
10 <get src="${robovm}/robovm-objc.jar" dest="backends/gdx-backend-robovm/libs/"/>
11 <get src="${robovm}/robovm-rt.jar" dest="backends/gdx-backend-robovm/libs/"/>
12 </target>
13
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
14 <target name="fetch">
15 <!-- create a temporary directory for all android and ios natives, to be distributed
16 across demos and tests. The xxx-natives.jar files are put into the respective
17 project's libs/ folder -->
18 <mkdir dir="tmp"/>
19 <mkdir dir="tmp/armeabi"/>
20 <mkdir dir="tmp/armeabi-v7a"/>
73ae48b @badlogic fixed up fetch script and setup-ui config
badlogic authored
21 <mkdir dir="tmp/x86"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
22 <mkdir dir="tmp/ios"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
23 <mkdir dir="gdx/libs/armeabi"/>
24 <mkdir dir="gdx/libs/armeabi-v7a"/>
25 <mkdir dir="gdx/libs/x86"/>
26 <mkdir dir="extensions/gdx-bullet/libs/armeabi"/>
27 <mkdir dir="extensions/gdx-bullet/libs/armeabi-v7a"/>
28 <mkdir dir="extensions/gdx-bullet/libs/x86"/>
29 <mkdir dir="extensions/gdx-freetype/libs/armeabi"/>
30 <mkdir dir="extensions/gdx-freetype/libs/armeabi-v7a"/>
31 <mkdir dir="extensions/gdx-freetype/libs/x86"/>
a6c0231 @manuelbua Update fetch.xml
manuelbua authored
32 <mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/armeabi"/>
33 <mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/armeabi-v7a"/>
34 <mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/x86"/>
35
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
36 <!-- core -->
256c279 @badlogic killed more stuff
badlogic authored
37 <mkdir dir="gdx/libs/ios32"/>
2d5dd06 @badlogic upps
badlogic authored
38 <get src="${domain}/gdx-natives.jar" dest="gdx/libs"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
39 <get src="${domain}/armeabi/libgdx.so" dest="tmp/armeabi"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
40 <get src="${domain}/armeabi/libgdx.so" dest="gdx/libs/armeabi"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
41 <get src="${domain}/armeabi-v7a/libgdx.so" dest="tmp/armeabi-v7a"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
42 <get src="${domain}/armeabi-v7a/libgdx.so" dest="gdx/libs/armeabi-v7a"/>
73ae48b @badlogic fixed up fetch script and setup-ui config
badlogic authored
43 <get src="${domain}/x86/libgdx.so" dest="tmp/x86"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
44 <get src="${domain}/x86/libgdx.so" dest="gdx/libs/x86"/>
35f6f88 @badlogic fixed fetch script to pull in ios robovm natives into proper location
badlogic authored
45 <get src="${domain}/ios/libgdx.a" dest="gdx/libs/ios32"/>
e2a8e8f @badlogic added RoboVM backend to the build
badlogic authored
46 <get src="${domain}/ios/libObjectAL.a" dest="gdx/libs/ios32"/>
21b0bd4 @badlogic removed robovm binaries from repo, included in fetch script
badlogic authored
47
48 <!-- robovm snapshot jars for robovm backend -->
e2a8e8f @badlogic added RoboVM backend to the build
badlogic authored
49 <antcall target="fetch-robovm"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
50
a400850 @MobiDevelop Move Box2D to an extension
MobiDevelop authored
51 <!-- box2d natives -->
52 <mkdir dir="extensions/gdx-box2d/gdx-box2d/libs/ios32"/>
53 <get src="${domain}/extensions/gdx-box2d/gdx-box2d-natives.jar" dest="extensions/gdx-box2d/gdx-box2d/libs"/>
54 <get src="${domain}/extensions/gdx-box2d/armeabi/libgdx-box2d.so" dest="tmp/armeabi"/>
55 <get src="${domain}/extensions/gdx-box2d/armeabi/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/armeabi"/>
56 <get src="${domain}/extensions/gdx-box2d/armeabi-v7a/libgdx-box2d.so" dest="tmp/armeabi-v7a"/>
57 <get src="${domain}/extensions/gdx-box2d/armeabi-v7a/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/armeabi-v7a"/>
58 <get src="${domain}/extensions/gdx-box2d/x86/libgdx-box2d.so" dest="tmp/x86"/>
59 <get src="${domain}/extensions/gdx-box2d/x86/libgdx-box2d.so" dest="extensions/gdx-box2d/gdx-box2d/libs/x86"/>
60 <get src="${domain}/extensions/gdx-box2d/ios/libgdx-box2d.a" dest="extensions/gdx-box2d/gdx-box2d/libs/ios32"/>
61
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
62 <!-- bullet natives -->
256c279 @badlogic killed more stuff
badlogic authored
63 <mkdir dir="extensions/gdx-bullet/libs/ios32"/>
32f5dbe @badlogic added beginning of fetch script to be used to get natives from build ser...
badlogic authored
64 <get src="${domain}/extensions/gdx-bullet/gdx-bullet-natives.jar" dest="extensions/gdx-bullet/libs"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
65 <get src="${domain}/extensions/gdx-bullet/armeabi/libgdx-bullet.so" dest="tmp/armeabi"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
66 <get src="${domain}/extensions/gdx-bullet/armeabi/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/armeabi"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
67 <get src="${domain}/extensions/gdx-bullet/armeabi-v7a/libgdx-bullet.so" dest="tmp/armeabi-v7a"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
68 <get src="${domain}/extensions/gdx-bullet/armeabi-v7a/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/armeabi-v7a"/>
73ae48b @badlogic fixed up fetch script and setup-ui config
badlogic authored
69 <get src="${domain}/extensions/gdx-bullet/x86/libgdx-bullet.so" dest="tmp/x86"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
70 <get src="${domain}/extensions/gdx-bullet/x86/libgdx-bullet.so" dest="extensions/gdx-bullet/libs/x86"/>
16d29a0 @badlogic fixed fetch script
badlogic authored
71 <get src="${domain}/extensions/gdx-bullet/ios/libgdx-bullet.a" dest="extensions/gdx-bullet/libs/ios32"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
72
73 <!-- controllers natives, desktop only -->
256c279 @badlogic killed more stuff
badlogic authored
74 <mkdir dir="extensions/gdx-controllers/gdx-controllers-desktop/libs/ios32"/>
32f5dbe @badlogic added beginning of fetch script to be used to get natives from build ser...
badlogic authored
75 <get src="${domain}/extensions/gdx-controllers/gdx-controllers-desktop-natives.jar" dest="extensions/gdx-controllers/gdx-controllers-desktop/libs"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
76
77 <!-- freetype natives -->
256c279 @badlogic killed more stuff
badlogic authored
78 <mkdir dir="extensions/gdx-freetype/libs/ios32"/>
32f5dbe @badlogic added beginning of fetch script to be used to get natives from build ser...
badlogic authored
79 <get src="${domain}/extensions/gdx-freetype/gdx-freetype-natives.jar" dest="extensions/gdx-freetype/libs"/>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
80 <get src="${domain}/extensions/gdx-freetype/armeabi/libgdx-freetype.so" dest="tmp/armeabi"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
81 <get src="${domain}/extensions/gdx-freetype/armeabi/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/armeabi"/>
82 <get src="${domain}/extensions/gdx-freetype/armeabi-v7a/libgdx-freetype.so" dest="tmp/armeabi-v7a"/>
83 <get src="${domain}/extensions/gdx-freetype/armeabi-v7a/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/armeabi-v7a"/>
73ae48b @badlogic fixed up fetch script and setup-ui config
badlogic authored
84 <get src="${domain}/extensions/gdx-freetype/x86/libgdx-freetype.so" dest="tmp/x86"/>
0b8b07f @badlogic fixed fetch.xml
badlogic authored
85 <get src="${domain}/extensions/gdx-freetype/x86/libgdx-freetype.so" dest="extensions/gdx-freetype/libs/x86"/>
6c1f65c @badlogic fixed bullet ios build, need a JNI feature in RoboVM for it to work, fix...
badlogic authored
86 <get src="${domain}/extensions/gdx-freetype/ios/libgdx-freetype.a" dest="extensions/gdx-freetype/libs/ios32"/>
e8c1037 @NathanSweet GLFW backend input refactoring, now works with AWT + OSX.
NathanSweet authored
87
88 <!-- jglfw -->
3b0d9e8 @NathanSweet fetch.xml needed mkdirs, ignore GLFW backend libs.
NathanSweet authored
89 <mkdir dir="backends/gdx-backend-jglfw/libs"/>
e8c1037 @NathanSweet GLFW backend input refactoring, now works with AWT + OSX.
NathanSweet authored
90 <get src="http://libgdx.badlogicgames.com/jglfw/nightlies/dist/jglfw-natives.jar" dest="backends/gdx-backend-jglfw/libs/gdx-backend-jglfw-natives.jar"/>
91 <get src="http://libgdx.badlogicgames.com/jglfw/nightlies/dist/jglfw.jar" dest="backends/gdx-backend-jglfw/libs/"/>
32f5dbe @badlogic added beginning of fetch script to be used to get natives from build ser...
badlogic authored
92 </target>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
93
94 <target name="copy">
95 <!-- copy all extension natives to android tests -->
96 <copy todir="tests/gdx-tests-android/libs/armeabi">
97 <fileset dir="tmp/armeabi"/>
98 </copy>
99 <copy todir="tests/gdx-tests-android/libs/armeabi-v7a">
100 <fileset dir="tmp/armeabi-v7a"/>
101 </copy>
73ae48b @badlogic fixed up fetch script and setup-ui config
badlogic authored
102 <copy todir="tests/gdx-tests-android/libs/x86">
103 <fileset dir="tmp/x86"/>
104 </copy>
199a2b0 @badlogic fixed fetch script, removed old update script, fixed build scripts
badlogic authored
105 </target>
106
107 <target name="all" depends="fetch,copy"/>
a6c0231 @manuelbua Update fetch.xml
manuelbua authored
108 </project>
Something went wrong with that request. Please try again.