2017-02-26 18:45:39 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-01-23 21:30:39 +03:00
|
|
|
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
|
2017-02-26 18:45:39 +03:00
|
|
|
|
2018-01-23 21:30:39 +03:00
|
|
|
mozreltopsrcdir=.
|
|
|
|
commreltopsrcdir=comm
|
2017-10-16 22:50:14 +03:00
|
|
|
|
2018-01-23 21:30:39 +03:00
|
|
|
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/..
|
2017-02-26 18:45:39 +03:00
|
|
|
|
2018-01-23 21:30:39 +03:00
|
|
|
mozreltopsrcdir=mozilla
|
|
|
|
commreltopsrcdir=.
|
2017-10-16 22:50:14 +03:00
|
|
|
|
2018-01-23 21:30:39 +03:00
|
|
|
commtopobjdir=$_objdir
|
|
|
|
;;
|
|
|
|
esac
|