Extending the x86emu device

Once we have done all the changes for the source code configuration, we can start to extend the x86emu device to support Houdini now. What are the changes that we have to make? Since I have done all the changes before I explained them here, let's use a tool to compare the difference between the source code in Chapter 4, Customizing the Android Emulator and this chapter's code.

Changes to support Houdini

As we can see in the preceding screenshot, we added a system folder and we modified four Makefiles. We can ignore the x86emu_x86_64.mk Makefile, since we won't discuss 64-bit builds in this book. The changes to x86emu_x86_64.mk are similar to those for x86emu_x86.mk, so we save ourselves the effort of discussing similar things twice. It won't be a significant effort for you to enable a 64-bit build for x86emu by yourself. The other two files, .cproject and .project, are generated due to Eclipse integration and we can ignore them too. Let's look at BoardConfig.mk, x86emu_x86.mk, and device.mk one by one.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.202.103