Bug 1085620

Add support for emulator-kk opt build.

This PR also setup generic emulator build support.
Is this used?