LiquidPlayer / LiquidCore

Node.js virtual machine for Android and iOS
MIT License
1.01k stars 127 forks source link

Android V8 lib (v0.7.x) is larger than Node + liquidcore libs (v0.6.x) #196

Open andreas-borglin opened 3 years ago

andreas-borglin commented 3 years ago

We are using liquidcore for access to the V8 APIs only, and tried upgrading from 0.6.2 to 0.7.10 using the recommended approach as per https://github.com/LiquidPlayer/LiquidCore/wiki/LiquidCore-as-a-Raw-JavaScript-engine-for-Android-(v.-0.7.0-) as we don't need Node.

However, the native libs in the apk end up being larger than the previous libs which was Node + liquidcore. This seems strange so I wonder if this is a bug? See screenshots below from apk analyzer.

Single V8 lib, 0.7.10

Screenshot 2020-10-19 at 11 19 21

Node + liquidcore libs, 0.6.2

Screenshot 2020-10-19 at 11 19 47