New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-23310]: Upgrade v8 to 5.0.71.33 #7987
Conversation
…latest LTS of V8 library - Move to using new static libs from v8 builds. Produces 4 libs not one. - For now use local build of V8: 4.8.271.17
…e into timob-23310
@sgtcoolguy @hieupham007 I know this is not ready yet but just want to ask, will there be support for other ABIs? http://developer.android.com/ndk/guides/abis.html Eg. x86_64 ? Related links: http://stackoverflow.com/questions/36616521/compile-module-for-64-bits-android-devices-with-titanium-appcelerator |
I don't see why we couldn't. Right now I just built V8 with ARM and ia32(x86) versions. But I think it supports a number of others. See https://android.googlesource.com/platform/external/v8/+/master/Android.mk They list these arch: arm mips x86 arm64 mips64 x86_64 And here: https://android.googlesource.com/platform/external/v8/+/master/Makefile.android Basically I think it's more a matter of just generating the v8 libraries for each of those targets we want to support. That would go in appcelerator/v8_titanium repo. |
Looking at the various targets, I think it's also a matter of which Android platform (APILevel) we compile against. I believe we default to building against 9, but a command line arg in the build script for v8_titanium controls that. I'll try and build for all 6 of those... |
That would be awesome! |
Note that Trying this out currently with NDK r11c and Titanium master I see this on startup of the app (during the splash screen):
Looks like because I had to change our STL from libstlport_shared to libc++_shared, we're not properly using the new shared library and must have some code hard-coded to use libstlport_shared. Note that I needed to swap to using libc++_shared to get us compiled with new V8, since it looks like stlport_shared doesn't have all the features V8 uses anymore. I chose that library because of https://android.googlesource.com/platform/external/v8/+/master/Android.libv8.mk |
Note that right now even this version of V8 is behind. Once we get this merged we should regularly update. Right now Android stable version is: 5.1.281.57 - see https://omahaproxy.appspot.com |
OK, just pushed the latest that works locally. icons builds fine against Android NDK r11c, and I can run a simple default Titanium app with it (classic two-tab). I can also confirm the new engine fixes TIMOB-23476. Ready for Review! |
Wait a second... This PR is off of Hieu's branch? OK, so my new commits aren't here. Ugh. I'm going to open the real PR |
JIRA: https://jira.appcelerator.org/browse/TIMOB-23310
DO NOT MERGE YET