comm-confvars.sh
author Richard Marti <richard.marti@gmail.com>
Sat, 03 Mar 2018 18:21:04 +0100
changeset 31260 fe09f771c2d3bea2c4dd0128f79d6894a7c5657e
parent 30948 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1442906 - Port bug 1426362 to TB: Display status of policy engine in about:support. r=aceman

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