Hire the best person for the job
Google isn't bothered if their company goes to shit and their developers got their jobs because of their gender or ethnicity, instead of talent - Just as long as they have 50% men, 50% women, somewhere between 2-10% of their workforce gay, 2% mexican, etc.
The sad truth of the matter is you could be the best programmer in history, but, "oh, you're a white male. Sorry, we have too many of those so we're giving the position to this Nigerian woman, since we don't have one of those yet."
Sad, but Apple and Google both do this now. They hire based on diversity first. And as a minority i despise this approach because it's fucking stupid and discriminatory.