[TIMOB-19793] Android: Update makefiles and build.xml to build against latest LTS of V8 library
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | High |
| Status | Closed |
| Resolution | Done |
| Resolution Date | 2016-08-04T03:20:16.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 5.4.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Christopher Williams |
| Assignee | Christopher Williams |
| Created | 2015-10-26T14:47:29.000+0000 |
| Updated | 2016-08-04T03:20:16.000+0000 |
Description
We'll need to update some build files to target the new V8 library once it's ready. Specifically:
Point to the new version number here: https://github.com/appcelerator/titanium_mobile/blob/master/android/build/libv8.properties
Update the makefiles to handle the new libs (which are built into separate static libraries, not a single libv8.a):
- https://github.com/appcelerator/titanium_mobile/blob/master/android/runtime/v8/Application.mk
- https://github.com/appcelerator/titanium_mobile/tree/master/android/runtime/v8/src/ndk-modules/libv8
- https://github.com/appcelerator/titanium_mobile/blob/master/android/runtime/v8/src/native/Android.mk
- https://github.com/appcelerator/titanium_mobile/blob/master/android/runtime/v8/src/native/common.mk
Possibly update the ant build.xml to grab the built library:
https://github.com/appcelerator/titanium_mobile/blob/master/android/build/common.xml#L694
Pushed a v8-update branch to titanium_mobile which uses the 4.8.154 build of v8 to build against. Obviously the V8 APIs have changed dramatically, so there's plenty of work to do in TIMOB-19795 https://github.com/appcelerator/titanium_mobile/tree/v8-update