Search code examples
javascriptandroidv8embedded-v8j2v8

Does J2V8 uses android system V8 or compiles and provides own one?


I'd like to use android system V8 to run JS and i'd like to avoid cross-compiling V8 and providing it as .so in my app to reduce apk size. Does J2V8 use system one or compiles and provides own?


Solution

  • It compiles and embeds v8 in .so for both arm and x86. aar takes about 7.5 Mb (which is not suitable for me).