The "it" in the quote meant, "if you're going to commit a crime, don't tell Google about it. If you tell a big company all about your plans to commit crimes, don't be surprised when the cops come knocking."
Schmidt has a way of saying reasonable things using the most offensive and misinterpreted language ever.