Changes between Version 102 and Version 103 of AndroidPort
- Timestamp:
- Jan 11, 2012, 3:20:17 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v102 v103 196 196 $ nano -w ~/android/0ad/jni/Application.mk 197 197 }}} 198 Insert these t wolines in the file, substituting the part after the `:=` on the first line with the full path of your project directory:198 Insert these three lines in the file, substituting the part after the `:=` on the first line with the full path of your project directory: 199 199 200 200 {{{ 201 201 APP_PROJECT_PATH := /home/youruser/android/0ad 202 APP_STL := stlport_static 202 APP_STL := gnustl_static 203 APP_CPPFLAGS += -fexceptions 204 203 205 }}} 204 206 Then save the file and exit the text editor. … … 236 238 Then save the file and exit the text editor. 237 239 238 Now we must build !SpiderMonkey. Change directory to the !SpiderMonkeysource code directory, e.g.:240 Now we must build !SpiderMonkey. Change directory to the !SpiderMonkey source code directory, e.g.: 239 241 240 242 {{{ 241 243 $ cd ~/android/0ad/jni/lib/js 242 244 }}} 243 Then execute the following commands to compile !SpiderMonkeyas a static library:245 Then execute the following commands to compile !SpiderMonkey as a static library: 244 246 245 247 {{{ … … 247 249 $ make 248 250 }}} 249 250 251 251 . 252 253 254 252 255 253 == Building the application ==