Hello dyy,

Thank you for your reply.  It's entirely possible that my understanding
incomplete and that you do not need to change anything.  Please let me ask
a couple of questions:

On Wed, Jul 17, 2019 at 9:17 AM <[email protected]> wrote:

> Now Function chain is Weex.apiA -> JavaScriptCore.BSD.apiB ->
> JavaScriptCore.so
>

I believe this is the point at which my understanding diverges from what
you have written.  I believe that JavaScriptCore is not BSD licensed, but
rather LGPL licensed (1).  This means that Weex is directly dependent on
LGPL code and thus, indirectly, any source dependent on Weex is dependent
on LGPL.

This would still be OK if, at runtime, another implementation could be used
in place of this LGPL component.  (much like OpenJDK can be used)  My
current understanding is that it cannot be.  I may be misunderstanding.


> So there is no webkit license and Webkit *.h in weex's repo now
>

Acknowledged.


>
> you can checkout the source code from here
> https://weex.apache.org/download/download.html#_0-26-0 <
> https://weex.apache.org/download/download.html#_0-26-0>
> javaScriptCore's api directory is
> weex_core/Source/include/JavaScriptCore/API
>
> Weex's logic that use JavaScriptCore's api is here
> weex_core/Source/js_runtime
>

I didn't go through all the code, but I looked at some of it.  It's quite
lovely.  You make me miss programming C++ : o)


> FYI, JavaScriptCore itself is under dual License too, at least Weex
> include files under BSD License from JavaScriptCore
>

The source I'm referring to says otherwise[1], but you may have a better
source.

Best,
Myrle

[1] "WebKit is available under a BSD-form license[11] with the exception of
the WebCore and JavaScriptCore components, which are available under the
GNU Lesser General Public License. As of March 7, 2013, WebKit is a
trademark of Apple, registered with the U.S. Patent and Trademark
Office.[12] "  https://en.wikipedia.org/wiki/WebKit

Reply via email to