comm-confvars.sh
author Tom Prince <mozilla@hocat.ca>
Wed, 03 Jan 2018 16:40:38 -0700
changeset 29890 678d7a3b822aa27c2d7371b7b9596e89fb753cda
parent 29194 9050482bf46474d89299f971fca31537e816f4f5
child 30112 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1423801: Use comm-central sccache buckets; r?Fallen MozReview-Commit-ID: Hiuze3ySTh9

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