by DannyBee · 13y ago · 0 comments
Just so i'm clear, your suggestion would be to use a completely hacked up libc, running on a platform not made for it, using shared memory and IPC hacks as well, for an app made to run as part of a TV 24/7?
I'm not sure i'd agree with your engineering choices. :)
"They really wanted to be able to run Chrome, before Chrome had been ported to bionic/Android..."
It's weird that you assume this is the issue, and then explain why it probably wasn't.
I can assure the the platform was not built on glibc solely because of the need to run chrome :)
The reasons GTV was such a "messed up platform" are entirely mundane (IMHO).
When last I did this I was able to build Chrome for Ubuntu ARM and copy over Ubuntu's libc and the runtime linker. I didn't have to even rebuild them, so I wouldn't say it was a "completely hacked up libc". It obviously wasn't ideal either, but it's similar to using chroot (only without calling chroot).
GTV forked Android in a binary incompatible way ensuring that no NDK apps can run on it. An entire forked platform!
I'd rather everything ran natively with no trickery, but if I couldn't have that then I'd definitely prefer to have one hacked up app than to ship an entire incompatible platform!
> It's weird that you assume this is the issue, and then explain why it probably wasn't.
Oh, whoops. I don't know why GTV is the way it is, but I assumed it was to support Chrome. Sorry if I'm mistaken; I have no inside knowledge on it. I'm assuming that Chromecast is also a Chimera OS and I'm curious if Google plan to ship it long-term since I don't see Android and Chrome converging technically. I do feel like Android is a better "fit" for something like the Chromecast, though.
What were those reasons?