Skip to content
Snippets Groups Projects
Commit ee461e02 authored by Michael Vines's avatar Michael Vines
Browse files

Download B2G SDK after any tree patching takes place

Change-Id: If4fbdb8ba3ba1d85ef367f84b263763c856d9040
parent 41f4b0ed
No related branches found
No related tags found
No related merge requests found
......@@ -313,18 +313,6 @@ rungdb()
}
# Use a local B2G SDK if possible instead of downloading it
if [[ -d prebuilts/b2g_sdk/$(uname)/.git ]]; then
export USE_LOCAL_XULRUNNER_SDK=1
export XULRUNNER_DIRECTORY="$(gettop)/prebuilts/b2g_sdk/$(uname)"
else
echo =================================================================
echo Notice: Local B2G SDK was not found, fetching it now if necessary
echo =================================================================
make -s -C gaia b2g_sdk
fi
if [[ -z $1 ]]; then
__patch_tree
else
......@@ -336,6 +324,17 @@ else
esac
fi
# Use a local B2G SDK if possible instead of downloading it
if [[ -d prebuilts/b2g_sdk/$(uname)/.git ]]; then
export USE_LOCAL_XULRUNNER_SDK=1
export XULRUNNER_DIRECTORY="$(gettop)/prebuilts/b2g_sdk/$(uname)"
else
echo =================================================================
echo Notice: Local B2G SDK was not found, fetching it now if necessary
echo =================================================================
make -s -C gaia b2g_sdk
fi
# Don't build sources.xml
export DISABLE_SOURCES_XML=true
export LEGACY_USE_JAVA6=true
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