Bug 1085620

Add support for emulator-kk opt build.

This PR also setup generic emulator build support.
try 2 hours (double this number)