xbmc/xbmc — pull request #1236 by theuni (2012-08-03 07:02:54+00:00)
Title: Android Port

Here it is.

I condensed it down as much as possible, so hopefully it's possible to follow the commits individually. But it's a big one, so there are bound to be a few facepalms. Coming from my repo rather than Android/XBMC because GitHub wouldn't let me initiate a PR from there.

This is 1 of 2. The other (next) PR brings in the AE optims that were created in the Android tree. I split them out so that they can be reviewed and applied separately, as some of it applies to all platforms.

Android and Linux builds are verified working. The only big TODO left as far as code cleanup goes is the EGL change; it's a big one. Though because there aren't many other users of that code, it's possible that we could merge it in as-is and clean up for other platforms. EGL windowing needs a refactor, so really the only question is: do we do it before Android hits or after.

There are a few other cosmetic cleanups needed after merge:

- \_\_ANDROID\_\_ and ANDROID defines need to move to TARGET_ANDROID.
- XBMCApp class and files need to be renamed to ANDROIDApp or so.

I'm really hoping to have this in for the August window, though it took longer than I'd hoped to get it ready. I'd suggest that if it doesn't require too much work to fix up any borkage on other platforms, we get this in even if it needs some more polish, since rebasing again for Sept window would just break more stuff and cause further delays.