COMPILING "BLINK"

1,173 views
Skip to first unread message

CODER

unread,
Mar 18, 2014, 7:35:19 AM3/18/14
to chromi...@chromium.org
hI,
Somewhere i read "Blink, developed as part of the same Chromium project not designed to be used as a shared library" ,    
Can some one share information is true if not can provide steps  to build the library

Thiago Farina

unread,
Mar 18, 2014, 8:57:23 AM3/18/14
to venka...@gmail.com, Chromium-dev
On Tue, Mar 18, 2014 at 8:35 AM, CODER <venka...@gmail.com> wrote:
hI,
Somewhere i read "Blink, developed as part of the same Chromium project not designed to be used as a shared library" ,
Where did you read that? Could you post a link to it here?
 
Can some one share information is true if not can provide steps  to build the library

You first checkout the code with `fetch blink --nosvn=true`;

Then the instructions for building will depend on which platform you are building at:

If you were on Linux and had setup everything right, it would be a matter of running just `ninja -C out/Debug blink_tests`

Hope that helps,

Regards,

--
Thiago Farina

Matt Giuca

unread,
Mar 19, 2014, 12:11:30 AM3/19/14
to Thiago Farina, venka...@gmail.com, Chromium-dev
Hi,

What you may have heard is that Blink is not designed to be used separately to Chromium in other projects. Rather, it is more appropriate to use the "content" module of Chromium, as that is intended to be plugged into other applications besides the full Chromium browser.


As you can see from the diagram here, WebKit (now Blink) is one component of the "content" module.

(For example the "content_shell" is a demo app that uses content, and you can see that it is a very minimal web browser using the Blink rendering engine.)

I think if you are trying to embed Blink in a separate application, you should be using content and not Blink directly.


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Reply all
Reply to author
Forward
0 new messages