From The Recorder:

SAN JOSE — Google agreed to run Samsung’s legal defense and shoulder the costs of patent litigation with Apple over some features of the Android operating system, according to emails shown in court Tuesday.