Build emulator.