Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 30 lines (20 sloc) 0.805 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/bin/bash -x
#

# Almost worked...
#HGREV=21e90d198613

source scripts/env

cd $COUCH_ANDROID_HOME
mkdir -p build/deps/mozilla-current
cd build/deps/mozilla-current

HGREV=bb9089ae2322

[[ -f $HGREV.tar.bz2 ]] || wget http://hg.mozilla.org/mozilla-central/archive/$HGREV.tar.bz2

[[ -L mozilla-central ]] && rm mozilla-central
[[ -d mozilla-central-$HGREV ]] && rm -rf mozilla-central-$HGREV
tar -jxf $HGREV.tar.bz2
ln -s mozilla-central-$HGREV mozilla-central

cd mozilla-central

# Use of __android_log_print and __android_log_write requires liblog.so from our
# toolchain. However, llog also has a dependency on libstdc++.so which our toolchain
# DOES NOT have so we need to substitute for something less Androidy (apologies).
patch -p1 < $COUCH_ANDROID_HOME/patches/mozilla-central.patch

exit 0
Something went wrong with that request. Please try again.