[webkit-dev] JavaScriptCore on Android
Ericsen Cioffi
escioffi at gmail.com
Mon Jul 4 08:24:46 PDT 2011
Hi,
I am trying to use JavaScriptCore in my Android application.
I build JavaScriptCore as a static library and I developed a JNI layer to
access JSC methods.
All my classes compile fine, but at the end of the build process (i guess in
the linker action) i got some errors like "undefined reference
to JSStringCreateWithUTF8CString".
I was not able to correctly link my code with the JavaScriptCore static
library.
As far as I know I only need to specify LOCAL_STATIC_LIBRARIES := libjs in
my Android.mk file. Is that correctly?
Besides that I´ve already tried to specify link flags through
the LOCAL_LDFLAGS and LOCAL_CPPFLAGS variables in my Android.mk file.
How can I use JavaScriptCore as a static library in my Android application?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110704/1d14e740/attachment.html>
More information about the webkit-dev
mailing list