Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Commit

Permalink
Bug 1446809 - Remove some b2g leftover in the build r=glandium
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: EAXd3JmiL2Z
  • Loading branch information
sylvestre committed Mar 20, 2018
1 parent 0e71e34 commit 7ccfeb7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
4 changes: 2 additions & 2 deletions build/docs/mozinfo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ buildapp
The path to the XUL application being built.

For desktop Firefox, this is ``browser``. For Fennec, it's
``mobile/android``. For B2G, it's ``b2g``.
``mobile/android``.

crashreporter
Whether the crash reporter is enabled for this build.
Expand Down Expand Up @@ -114,7 +114,7 @@ nightly_build

os
The operating system the build is produced for. Values for tier-1
supported platforms are ``linux``, ``win``, ``mac``, ``b2g``, and
supported platforms are ``linux``, ``win``, ``mac``, and
``android``. For other platforms, the value is the lowercase version
of the ``OS_TARGET`` variable from ``config.status``.

Expand Down
21 changes: 6 additions & 15 deletions build/unix/mozconfig.linux
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,12 @@ fi

TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}

# some b2g desktop builds still happen on i686 machines, and the tooltool
# toolchain is x86_64 only.
# We also deal with valgrind builds here, they don't use tooltool manifests at
# all yet.
if [ -z "$no_tooltool" ]
then
CC="$TOOLTOOL_DIR/gcc/bin/gcc"
CXX="$TOOLTOOL_DIR/gcc/bin/g++"
# We deal with valgrind builds here
CC="$TOOLTOOL_DIR/gcc/bin/gcc"
CXX="$TOOLTOOL_DIR/gcc/bin/g++"

# We want to make sure we use binutils and other binaries in the tooltool
# package.
mk_add_options "export PATH=$TOOLTOOL_DIR/gcc/bin:$PATH"
else
CC="/tools/gcc-4.7.3-0moz1/bin/gcc"
CXX="/tools/gcc-4.7.3-0moz1/bin/g++"
fi
# We want to make sure we use binutils and other binaries in the tooltool
# package.
mk_add_options "export PATH=$TOOLTOOL_DIR/gcc/bin:$PATH"

. "$topsrcdir/build/unix/mozconfig.stdcxx"
2 changes: 1 addition & 1 deletion toolkit/nss.configure
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# ==============================================================
@depends(build_project, '--help')
def dbm_default(build_project, _):
return build_project not in ('mobile/android', 'b2g', 'b2g/graphene')
return build_project != 'mobile/android'

option('--enable-dbm', default=dbm_default, help='Enable building DBM')

Expand Down
3 changes: 1 addition & 2 deletions toolkit/toolkit.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ if CONFIG['MOZ_SANDBOX']:
DIRS += ['/security/sandbox']

DIRS += [
# Depends on NSS and NSPR, and must be built after sandbox or else B2G emulator
# builds fail.
# Depends on NSS and NSPR
'/security/certverifier',
# Depends on certverifier
'/security/apps',
Expand Down

0 comments on commit 7ccfeb7

Please sign in to comment.