Changes between Version 134 and Version 135 of AndroidPort


Ignore:
Timestamp:
Jan 20, 2012, 3:37:13 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v134 v135  
    194194$ mv SDL-1.3.0-6172/ ~/android/0ad/jni/SDL
    195195}}}
    196 Then download the game source code into the `jni/src` directory under the project directory, e.g.:
    197 
    198196=== Building the application ===
    199 The native library (i.e. the actual game) is built using the standard Premake build system as follows. 
     197The native library (i.e. the actual game) is built using the standard Premake build system as follows.
    200198
    201199First install a standalone toolchain:
     
    204202$ ~/android/android-ndk-r7-crystax-4/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$HOME/android/toolchain
    205203}}}
    206 
    207 
    208204Set up external libraries with the new toolchain somehow, or do an ugly hack that will at least let it start compiling enough for now:
    209205
     
    212208$ ln -s /usr/include/iconv.h ~/android/toolchain/sysroot/usr/include/
    213209}}}
    214 
    215 
    216210Download the game from SVN to any location, as normal.
    217211
     
    219213$ svn co http://svn.wildfiregames.com/public/ps/trunk/ ~/android/0ad/jni/src
    220214}}}
    221 
    222 
    223215Build the game as normal, but with:
    224216
    225217{{{
    226 $ cd ~/android/0ad/build/workspaces
     218$ cd ~/android/0ad/jni/src/build/workspaces
    227219$ HOSTTYPE=arm
    228220$ ./update-workspaces.sh --gles