comm-confvars.sh
author Steven MacLeod <steven@smacleod.ca>
Wed, 09 May 2018 13:56:23 -0400
changeset 32076 a9fc16e8d99b21aaf8078bc2e7b706439c2d4568
parent 30948 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1460372 - Update .arcconfig to make history mutable. r=Fallen Reviewers: Fallen Reviewed By: Fallen Bug #: 1460372 Differential Revision: https://phabricator.services.mozilla.com/D1252

#!/bin/sh

case "$MOZ_BUILD_APP" in
  *comm*)
    # we are building with comm/ as the subdirectory
    # $srcdir is the mozilla repo, comm is in the subdir
    moztopsrcdir=$srcdir
    commtopsrcdir=$srcdir/comm

    mozreltopsrcdir=.
    commreltopsrcdir=comm

    commtopobjdir=$_objdir/comm
    ;;
  *)
    # we are building with mozilla/ as the subdirectory
    # $srcdir is still the mozilla repo, so use the parent for comm
    moztopsrcdir=$srcdir
    commtopsrcdir=$srcdir/..

    mozreltopsrcdir=mozilla
    commreltopsrcdir=.

    commtopobjdir=$_objdir
    ;;
esac