comm-confvars.sh
author Tom Prince <mozilla@hocat.ca>
Tue, 17 Oct 2017 13:33:35 -0600
changeset 22375 32a18ec6f4de61ece6d3103ce735b4917cbeaa2d
parent 22359 9050482bf46474d89299f971fca31537e816f4f5
child 23153 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1366607: Include toolkit moz.configure in m-c topdir build; r=Fallen MozReview-Commit-ID: 4WoJZTvzy1P

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