Changes between Version 203 and Version 204 of AndroidPort
- Timestamp:
- Feb 6, 2012, 4:11:21 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v203 v204 373 373 Get js-1.8.5. 374 374 375 Get NSPR.376 377 375 First, regenerate configure in the js dir: 378 376 … … 380 378 cd $moz/js/src && autoconf2.13 381 379 }}} 382 Then create a nspr directory, configure nspr, and build it: 383 384 {{{ 385 cd $out 386 mkdir nspr 387 cd nspr 388 $moz/nsprpub/configure \ 389 --target=arm-android-eabi \ 390 --with-android-ndk=$NDK 391 make -s 392 }}} 393 Then do the same for JS, telling it where to find the NSPR you just built: 394 395 {{{ 396 cd $out 380 Then create a js directory, configure js, and build it: 381 382 {{{ 383 cd $SYSROOT/usr/ 397 384 mkdir js 398 385 cd js … … 400 387 --target=arm-android-eabi \ 401 388 --with-android-ndk=$NDK \ 402 --with-nspr-cflags=-I$out/nspr/dist/include/nspr\403 --with- nspr-libs='-L$out/nspr/dist/lib -lnspr4 -lplc4 -lplds4'\389 --with-android-sdk=$SDK \ 390 --with-system-nspr \ 404 391 --with-endian=little \ 405 392 --with-arm-kuser