Cleary Gottlieb Steen & Hamilton and Gibson Dunn & Crutcher have won lead roles acting on Google’s $1.1bn (£800m) deal with Taiwanese smartphone maker HTC.