comm-confvars.sh
author Tom Prince <mozilla@hocat.ca>
Fri, 27 Apr 2018 16:10:06 -0600
changeset 60500 e887e6b063d9be20485b17cdb16d32387ec3df30
parent 58272 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1421062: Use `nightly-desktop` as cron task name; r=me The taskcluster scopes are designed with a cron task name prefix of `nightly-` so use that.

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