comm-confvars.sh
author Philipp Kewisch <mozilla@kewis.ch>
Mon, 26 Feb 2018 21:54:14 +0100
changeset 59354 59ff8e55b1fe390d828b93ac8d8177fa9899b01c
parent 58272 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1283966 - Add uz locale. r=me. DONTBUILD MozReview-Commit-ID: 9nfD8RZjjvB

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