Skip to content
Snippets Groups Projects
Commit 14ab4450 authored by Bhargav Gurappadi's avatar Bhargav Gurappadi
Browse files

Explicitly define XULRUNNER_DIRECTORY when using local xulrunner

Change-Id: I20338a6046930f9ba37d300bb49bbe9b5fcdb2b2
parent 7234f7b6
No related branches found
No related tags found
No related merge requests found
......@@ -260,9 +260,18 @@ else
esac
fi
if [ `uname` == 'Darwin' ]; then
XULRUNNER_DIRECTORY="$(gettop)/xulrunner-sdk-mac"
else
XULRUNNER_DIRECTORY="$(gettop)/xulrunner-sdk-linux"
fi
# Use a local Xulrunner SDK copy instead of downloading
if [[ -d gaia/xulrunner-sdk-26/.git ]]; then
if [[ -d ${XULRUNNER_DIRECTORY}/.git ]]; then
export USE_LOCAL_XULRUNNER_SDK=1
export XULRUNNER_DIRECTORY
else
unset XULRUNNER_DIRECTORY
fi
# Don't build sources.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment