Changes between Version 203 and Version 204 of AndroidPort


Ignore:
Timestamp:
Feb 6, 2012, 4:11:21 AM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v203 v204  
    373373Get js-1.8.5.
    374374
    375 Get NSPR.
    376 
    377375First, regenerate configure in the js dir:
    378376
     
    380378cd $moz/js/src && autoconf2.13
    381379}}}
    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
     380Then create a js directory, configure js, and build it:
     381
     382{{{
     383cd $SYSROOT/usr/
    397384mkdir js
    398385cd js
     
    400387  --target=arm-android-eabi \
    401388  --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 \
    404391  --with-endian=little \
    405392  --with-arm-kuser