Re: [webkit-dev] JavaScriptCore on Android

2011-07-07 Thread Julien Chaffraix
Hi,

This mailing list is for WebKit development not WebKit general
questions, use webkit-help for your next enquiries.

 I am trying to use JavaScriptCore in my Android application.

First, understand that the Android bindings in WebKit have been
removed (that includes JSC), thus I would advise asking the question
on an Android specific mailing list as people here obviously don't do
Android development (apart from some people).

 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.

I would double check that the symbols are present in your static
library before looking any further as it could be the root cause. If
that does not work, look for some help on the Android.mk side.

Hope it helps,
Julien
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] JavaScriptCore on Android

2011-07-04 Thread Ericsen Cioffi
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
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev