Good to see that we're still beating the shit out of the people at the end of the engineer production pipeline for picking engineers from the output stream instead of looking at the earlier stages of the pipeline to figure out why it looks that way. Seriously, Google and Yahoo are not going to be able to force more 13 year old girls to dream of becoming engineers, and even if they do, it'll be 10+ years before we see the results. You can't hire 50% women out of a pool of 20% women without making serious compromises, and you can't turn most recent graduates in other fields into good engineers without massive retraining.
To get an engineering job at a super selective place like Google, you almost certainly need a CS or engineering degree. To be noticed in their truckload of excellent resumes, it helps to have a top school on your resume, or go to a top school that lets you network with other people who might work at highly selective companies. In order to do that, you need to decide well before your 18th birthday that you're serious about this stuff. You need to take the hard math and science classes in high school and you need to do well in them. You need to prep for tests and plan for your future. Google doesn't make that happen when you're 23 years old. You make it happen starting when you're 13-14 years old, 16 at the latest. If you miss that boat, some serious magic is going to have to happen to even get Google to notice your resume. Maybe you're one of a handful of whiz kids who can make a name in a big open source project, but barring that, you're probably out of luck.
If we want women in engineering, try to get girls interested in it in middle school. Slapping Google around for working with what they have isn't going to do the trick.