Electronic Arts closed the deal to buy mobile game developer Glu Mobile for $2.1 billion, or $12.50 per share.