Moved context build preparation to separate method
Moved context build preparation to separate method

inclement/python-for-android-revamp,inclement/python-for-android-revamp,inclement/python-for-android-revamp,inclement/python-for-android-revamp,inclement/python-for-android-revamp