external/qemu 0.8.2
Initial Contribution
Handle -qemu option correctly.
Code drop from //branches/cupcake/...@124589
Merge commit 'remotes/korg/cupcake'

Conflicts:
	android_main.c
auto import from //branches/cupcake/...@125939
Merge branch 'cupcake'
auto import from //branches/cupcake/...@126645
Merge branch 'cupcake'
auto import from //branches/cupcake/...@127101
Merge branch 'cupcake'
auto import from //branches/cupcake/...@127436
Merge branch 'cupcake'
auto import from //branches/cupcake/...@130745
auto import from //branches/cupcake/...@131421
Fixing emulator crash on Win32.

This fixes a crash when starting the emulator on Win32 after it has
been built using 'make_windows_sdk.sh' and when the ANDROID_PRODUCT_OUT
variable is not defined.

The bug is discussed at
http://code.google.com/p/android/issues/detail?id=1999

and the fix is proposed by David Turner at
http://groups.google.com/group/android-platform/browse_thread/thread/91b12cc73aae98ae

This patch just includes the proposed fix. I have confirmed it fixes
the problem for me. The same code built as a Linux emulator also
continues to work. I have been unable to test on Darwin as I don't have
a handy OS X machine.
auto import from //depot/cupcake/@137055
auto import from //depot/cupcake/@132589
auto import from //depot/cupcake/@135843
auto import from //depot/cupcake/@135843