comm-confvars.sh
author Patrick Cloke <clokep@gmail.com>
Mon, 07 May 2018 17:49:55 -0400
changeset 31471 77e12339f59b8855ca31181df5fcd1fa0b81a007
parent 30948 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Added tag RELEASE_BASE_20180507 for changeset d1f2c2d881cb a=releasemerge ba=releasemerge DONTBUILD CLOSED TREE

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