comm-confvars.sh
author Thomas Duellmann <bugzilla2007@duellmann24.net>
Sun, 18 Feb 2018 06:07:00 +0100
changeset 31283 9872aea0db403365a32f69ec096e5be5d8cbb8c0
parent 30948 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1428631 - View state machinery for cmd_toggleAttachmentPane, now incl. minimize/restore (strings only). r=aceman, ui-r=Paenglab

#!/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