Bug 830096 - Add release-l10n to trunk. r=Callek
This commit is contained in:
Родитель
65b0c03881
Коммит
c32beb0cb2
|
@ -0,0 +1,36 @@
|
|||
if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
|
||||
fi;
|
||||
if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
|
||||
fi;
|
||||
ac_add_options --enable-application=suite
|
||||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
||||
ac_add_options --enable-update-packaging
|
||||
ac_add_options --enable-optimize
|
||||
|
||||
|
||||
# Temporary options until bug 794378 is fixed.
|
||||
ac_add_options --enable-gnomevfs
|
||||
ac_add_options --disable-gio
|
||||
|
||||
CC=/tools/gcc-4.5/bin/gcc
|
||||
CXX=/tools/gcc-4.5/bin/g++
|
||||
|
||||
export LDFLAGS="-static-libstdc++"
|
||||
export HOST_LDFLAGS="-static-libstdc++"
|
||||
export CFLAGS="-gdwarf-2"
|
||||
export CXXFLAGS="-gdwarf-2"
|
||||
|
||||
# For NSS symbols
|
||||
export MOZ_DEBUG_SYMBOLS=1
|
||||
ac_add_options --enable-debug-symbols="-gdwarf-2"
|
||||
|
||||
# Needed to enable breakpad in application.ini
|
||||
export MOZILLA_OFFICIAL=1
|
||||
|
||||
# Enable parallel compiling
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j2"
|
||||
|
||||
#Use ccache
|
||||
ac_add_options --with-ccache=/usr/bin/ccache
|
|
@ -0,0 +1,31 @@
|
|||
if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
|
||||
fi;
|
||||
if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
|
||||
fi;
|
||||
ac_add_options --enable-application=suite
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
||||
ac_add_options --enable-update-packaging
|
||||
|
||||
CC=/tools/gcc-4.5/bin/gcc
|
||||
CXX=/tools/gcc-4.5/bin/g++
|
||||
|
||||
export LDFLAGS="-static-libstdc++"
|
||||
export HOST_LDFLAGS="-static-libstdc++"
|
||||
export CFLAGS="-gdwarf-2"
|
||||
export CXXFLAGS="-gdwarf-2"
|
||||
|
||||
# For NSS symbols
|
||||
export MOZ_DEBUG_SYMBOLS=1
|
||||
ac_add_options --enable-debug-symbols="-gdwarf-2"
|
||||
|
||||
# Needed to enable breakpad in application.ini
|
||||
export MOZILLA_OFFICIAL=1
|
||||
|
||||
# Enable parallel compiling
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j2"
|
||||
|
||||
#Use ccache
|
||||
ac_add_options --with-ccache=/usr/bin/ccache
|
|
@ -0,0 +1,42 @@
|
|||
if test -e "$topsrcdir/mozilla/build/macosx/universal/mozconfig"; then
|
||||
# We need some hackery to deal with the mozilla/ build system calling this
|
||||
# mozconfig.
|
||||
oldtopsrcdir=$topsrcdir
|
||||
export topsrcdir=$topsrcdir/mozilla
|
||||
else
|
||||
# Big Hack that unsets CC / CXX so that mozconfig.common doesn't get
|
||||
# mixed up with host/target CPUs when trying to work out how to do the
|
||||
# universal build. When we redo the build system (bug 648979) this will
|
||||
# go away.
|
||||
unset CC
|
||||
unset CXX
|
||||
fi
|
||||
|
||||
. $topsrcdir/build/macosx/universal/mozconfig
|
||||
|
||||
if test -n $oldtopsrcdir; then
|
||||
export topsrcdir=$oldtopsrcdir
|
||||
fi
|
||||
|
||||
if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
|
||||
fi;
|
||||
if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
|
||||
fi;
|
||||
ac_add_options --enable-application=suite
|
||||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
||||
ac_add_options --enable-update-packaging
|
||||
|
||||
export CFLAGS="-gdwarf-2"
|
||||
export CXXFLAGS="-gdwarf-2"
|
||||
|
||||
# For NSS symbols
|
||||
export MOZ_DEBUG_SYMBOLS=1
|
||||
ac_add_options --enable-debug-symbols="-gdwarf-2"
|
||||
|
||||
# Needed to enable breakpad in application.ini
|
||||
export MOZILLA_OFFICIAL=1
|
||||
|
||||
# Enable parallel compiling
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j4"
|
|
@ -0,0 +1,9 @@
|
|||
if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
|
||||
fi;
|
||||
if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
|
||||
fi;
|
||||
ac_add_options --enable-application=suite
|
||||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
||||
ac_add_options --enable-update-packaging
|
|
@ -0,0 +1,18 @@
|
|||
if [ "$MOZ_UPDATE_CHANNEL" == "beta" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
|
||||
fi;
|
||||
if [ "$MOZ_UPDATE_CHANNEL" == "release" ]; then
|
||||
ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
|
||||
fi;
|
||||
ac_add_options --enable-application=suite
|
||||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
|
||||
ac_add_options --enable-update-packaging
|
||||
|
||||
# For NSS symbols
|
||||
export MOZ_DEBUG_SYMBOLS=1
|
||||
|
||||
# Needed to enable breakpad in application.ini
|
||||
export MOZILLA_OFFICIAL=1
|
||||
|
||||
# To enable MSVC 2010 building
|
||||
. $topsrcdir/build/win32/mozconfig.vs2010
|
Загрузка…
Ссылка в новой задаче