comm-confvars.sh
author aceman <acelists@atlas.sk>
Sat, 03 Feb 2018 12:16:00 +0100
changeset 29243 099a969df7a3833ec89eff5434d18ff7403d92e4
parent 28781 5fad234e2e846377d9361f8ea500556dbf523da8
permissions -rw-r--r--
Bug 1416480 - provide a dummy built_in_addons.json file that toolkit is looking for. r=jorgk 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