comm-confvars.sh
author Tom Prince <mozilla@hocat.ca>
Thu, 21 Jun 2018 12:19:26 -0600
branchBETA_60_CONTINUATION
changeset 31171 5bd3ff66e9cd32493b6a5ec00396e9e978f9681f
parent 30112 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
No bug: Pin mozilla-beta version for release; r=release a=release DONTBUILD

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