depending on, contingent upon

listen to the pronunciation of depending on, contingent upon
Английский Язык - Английский Язык
hinging on

This type of construction is sometimes possible, hinging on the circumstances involved.