mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
13 lines
395 B
Bash
Executable File
13 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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
|