comm-confvars.sh
author Richard Marti <richard.marti@gmail.com>
Sat, 22 Sep 2018 12:37:48 +0200
changeset 30756 eb028fd3dc3e4a84f705d73422842fbe80c11389
parent 28781 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1493386 - Port bug 1493315 to TB: Build config for dedicated profiles and downgrade protection. r=rjl

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