Google lays off 10 percent of its workforce