comm-confvars.sh
author Jorg K <jorgk@jorgk.com>
Tue, 04 Dec 2018 18:38:23 +0100
changeset 31966 e4d520b5dc17e8a0e3ba4d760556b1ba4aad4842
parent 30112 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Backed out changeset a6e340fe4c07 and 7fe1827e6b39 (bug 1482040) for causing address book and auto-complete slowness (bug 1511885). a=backout Backed out changeset a6e340fe4c07 (bug 1482040) Backed out changeset 7fe1827e6b39 (bug 1482040)

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