Changes between Version 134 and Version 135 of AndroidPort
- Timestamp:
- Jan 20, 2012, 3:37:13 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v134 v135 194 194 $ mv SDL-1.3.0-6172/ ~/android/0ad/jni/SDL 195 195 }}} 196 Then download the game source code into the `jni/src` directory under the project directory, e.g.:197 198 196 === Building the application === 199 The native library (i.e. the actual game) is built using the standard Premake build system as follows.197 The native library (i.e. the actual game) is built using the standard Premake build system as follows. 200 198 201 199 First install a standalone toolchain: … … 204 202 $ ~/android/android-ndk-r7-crystax-4/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$HOME/android/toolchain 205 203 }}} 206 207 208 204 Set up external libraries with the new toolchain somehow, or do an ugly hack that will at least let it start compiling enough for now: 209 205 … … 212 208 $ ln -s /usr/include/iconv.h ~/android/toolchain/sysroot/usr/include/ 213 209 }}} 214 215 216 210 Download the game from SVN to any location, as normal. 217 211 … … 219 213 $ svn co http://svn.wildfiregames.com/public/ps/trunk/ ~/android/0ad/jni/src 220 214 }}} 221 222 223 215 Build the game as normal, but with: 224 216 225 217 {{{ 226 $ cd ~/android/0ad/ build/workspaces218 $ cd ~/android/0ad/jni/src/build/workspaces 227 219 $ HOSTTYPE=arm 228 220 $ ./update-workspaces.sh --gles