It's like I've been saying for years: discrimination is illegal and immoral even when it's aimed at the majority.
Besides, I still say that the hiring imbalances in Silicon Valley are more a product of the pool of candidates for those types of jobs than any sort of discriminatory hiring practices. It's hardly Google's fault if most folks with degrees in computer science and experience to go along with them have similar skintones and anatomies.