简体   繁体   中英

JavaScriptCore Portability

I'm considering embedding JavaScriptCore in an application. I'm curious as to how portable it is? Ideally I'd like it to run on Linux, Windows & OSX as well as Android and iOS. Naturally OSX and iOS shouldn't be a problem, what about the remainder?

It is actually pretty easy to compile... even I have done it, lol. Just check it out via SVN as part of the webkit source code and from there it is just a matter of your options at compile-time that will determine how portable it is... you can make it a standalone binary to run javascript against, or include the headers,etc in your project - for built-in JS magic. One thing, unless you want the whole Webkit source tree, which is enormous, you might want to just download the JavascriptCore part. Up to you.. there is some interesting stuff in the rest of the WK tree, although.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM