Bug 1085620

Add support for emulator-kk opt build.

This PR also setup generic emulator build support.
pretty sure not used here