Yes of course Arsenal would look at the financial impact of the transfer in its entirety, fee, add-on, wages etc.
But if Gyokeres has agreed to give up £2m p/y over the term of his contract, then that would suggest that personal terms have already been agreed, how else could he agree to forfeit...