I would suggest indulgent, however this does not mean that you are acting against your own interests (though it does imply that your interests are not considered), only that you are obliging others.
i am getting a chocolate birthday cake to indulge everyone else even though I wanted vanilla.
Although oblige (To do a service or favour) might work better:
i am getting a chocolate birthday cake to oblige everyone else even though I wanted vanilla.