comm-confvars.sh
author Philipp Kewisch <mozilla@kewis.ch>
Sat, 14 Oct 2017 15:33:20 +0200
changeset 30044 18938fc0dd706992c6fd9fec8baddee302b2cd45
parent 29194 9050482bf46474d89299f971fca31537e816f4f5
child 30112 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1408662 - Move date/time/timezone related functions into calDateTimeUtils.jsm - automatic changes. r=MakeMyDay MozReview-Commit-ID: CbFO8nxatLy

#!/bin/sh

if [[ "$MOZ_BUILD_APP" == *comm* ]]
then
  # 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
else
  # 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
fi