comm-confvars.sh
author Ian Neal <iann_cvs@blueyonder.co.uk>
Thu, 11 Apr 2019 20:30:43 +0200
changeset 32168 5195b13590e8ee21384a663ef37ff404a61901e4
parent 30112 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1541179 - Part 8: Update and tidy suite/app/ build files. r=frg a=frg Port Bug 1380690 Part 1 [Save repo and object dir paths in Mac bundle Info.plist files].

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