comm-confvars.sh
author Philipp Kewisch <mozilla@kewis.ch>
Thu, 22 Feb 2018 07:47:47 +0100
changeset 30546 4151d5bee5b7d4a491556ea4e3ed57f36fb4ed62
parent 30112 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1440490 - Move l10n related functions into calL10NUtils.jsm - part 4 - Migrate getLtnString. r=MakeMyDay MozReview-Commit-ID: DRN181PLsSh

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