One way to express this meaning is (那)要看。。。(na4) yao4 kan4...
Well, that depends on you! 那要看你 na4 yao4 kan4 ni3
That depends on whether he agrees or not
那要看他同不同意na4 yao4 kan4 ta1 tong2 bu4 tong2yi4
Another way is by using 取決於qu3jue2yu2, but this is slightly more formal:
Whether you'll succeed or not depends on your willpower 你會不會成功取決於你的毅力ni3 hui4bu2hui4 cheng2gong1 qu3jue2yu2 ni3de0 yi4li4