Bug 1126607, part 2: Integrate the imported code into moz.build, r=glandium.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
no_tooltool=1
. $topsrcdir/build/unix/mozconfig.linux
export MOZILLA_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
export CFLAGS="-gdwarf-2 -Wno-sign-compare"
export CXXFLAGS="-gdwarf-2"
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
ac_add_options --enable-debug-symbols="-gdwarf-2"
mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_options --with-ccache
ac_add_options --enable-application=im
ac_add_options --enable-extensions=purple
ac_add_options --enable-update-channel=release
ac_add_options --enable-update-packaging
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-official-branding
ac_add_options --with-l10n-base=..