blob: b47260b269d329b98de83c05991cdc5afc94cd58 (
plain)
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
30
31
32
33
34
35
36
37
38
|
#!/bin/bash
set -e
apt-get -q -y --force-yes install openjdk-7-jdk ant mercurial ccache
apt-get -q -y --force-yes build-dep firefox
export PATH=$PATH:$PWD/android-sdk-linux/tools:$PWD/android-sdk-linux/build-tools:$PWD/android-sdk-linux/platform-tools:/usr/local/bin
pushd ./python/compare-locales/
python setup.py build
python setup.py install
install -m 755 scripts/* /usr/local/bin
popd
apt-get -q -y --force-yes install zip unzip yasm
rm -rf obj-android
cp ../../data/buildscripts/mozconfig-common .mozconfig
cat ../../data/buildscripts/mozconfig-android >> .mozconfig
rm extensions/gnu/abouticecat* -rf
export MOZILLA_DIR=$PWD
./mach build
pushd obj-android/mobile/android/locales
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do
LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc
make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc
done
popd
./mach package
pkill adb
|