Litigation costs would be part of the settlement ie the loser pays.
I am no attorney, but my guess is each party will be responsible for their respected litigation costs.
And yes while TPL has the threat of treble damages to hold over the Js heads, the Js have the threat of Obviousness held above our heads..
jmo