mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
run xptgen from build script, use env vars from xptgen to get mozilla objdir/srcdir paths
This commit is contained in:
parent
f4a130cf8f
commit
43fabdf2af
@ -1,2 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
../../mozilla-trunk/obj/firefox/dist/bin/xpidl -m typelib -I ../../mozilla-trunk/mozilla/xpcom/base/ -o nsIBookmarksSyncService nsIBookmarksSyncService.idl
|
|
||||||
|
if [[ ! -d $MOZOBJDIR ]]; then
|
||||||
|
echo "MOZOBJDIR environment variable must point to a Mozilla build obj tree (with xptgen)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [[ ! -d $MOZSRCDIR ]]; then
|
||||||
|
echo "MOZSRCDIR environment variable must point to a Mozilla source tree"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
$MOZOBJDIR/dist/bin/xpidl -m typelib -I $MOZSRCDIR/xpcom/base/ -o nsIBookmarksSyncService nsIBookmarksSyncService.idl
|
||||||
|
Loading…
Reference in New Issue
Block a user