comm-confvars.sh
author Jorg K <jorgk@jorgk.com>
Wed, 15 Aug 2018 23:36:04 +0200
branchBETA_60_CONTINUATION
changeset 31575 c10b63c87e07bf853a83ade07098c2e55f1ebcb9
parent 30112 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
No bug - Pin mozilla-esr60 version for release and set version to 60.0b11. a=jorgk

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