This design has two consequences: (1) Blink cannot run alone, and (2) porting to other platforms happens at a different layer. Instead of adding platform-specific code to Blink, you should use Chromium’s content layer, which provides an implementation of this virtual platform on a wide variety of operating systems including Windows, Linux, Mac OS X, and Android. A separate project called the Chromium Embedded Framework is probably the easiest way to use Chromium (and thus Blink) on your platform.
Thanks Tom for your quick reply.So i feel Blink+Content API should do the trick then ??Just on more doubt , i want to standalone compile only blink. I got the source from:I can see .gyp file. Now how to create build.ninja ?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Sounds like the content API is sort of the WebKit and blink is the WebCore. :)While easier, it is still not guaranteed at all to be a stable API, right?
Thanks everyone for such a quick and useful inputs.Yes, Blink can not be compiled stand alone as i could try and browse the code.1. So next doubt is what are different components blink depends on ? (hopefully not content API)for example Skia is one i can see. Any document or pointer is really appreciated.2. In Content API diagram, i could see chrome browser app directly linked to Webkit. Why so ? Is this going to be moved to content API later ? or i just misunderstood something.
On Mon, Sep 16, 2013 at 9:11 PM, PhistucK <phis...@gmail.com> wrote:
Of course, I just wanted to clarify that both of them are not stable, even though using Content API is easier.
On Mon, Sep 16, 2013 at 6:35 PM, Adam Barth <aba...@chromium.org> wrote:
Sounds like the content API is sort of the WebKit and blink is the WebCore. :)While easier, it is still not guaranteed at all to be a stable API, right?
Neither the Content API nor the Blink API is stable.AdamOn Mon, Sep 16, 2013 at 5:10 AM, KaPiL.rIcKy <kapil...@gmail.com> wrote:
Thanks Tom for your quick reply.So i feel Blink+Content API should do the trick then ??Just on more doubt , i want to standalone compile only blink. I got the source from:I can see .gyp file. Now how to create build.ninja ?It's not really possible to compile a standalone copy of Blink because Blink does not stand alone. In order to run Blink, you'll need an implementation of Blink's virtual platform abstraction. It's certainly possible to implement the virtual platform yourself, but it's much, much easier to reuse the implementation that already exists in Chromium's content layer, especially as we evolve the platform abstraction over time.The instructions for getting the source code are at http://dev.chromium.org/developers/how-tos/get-the-code.AdamTo unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Thanks everyone for such a quick and useful inputs.Yes, Blink can not be compiled stand alone as i could try and browse the code.1. So next doubt is what are different components blink depends on ? (hopefully not content API)for example Skia is one i can see. Any document or pointer is really appreciated.2. In Content API diagram, i could see chrome browser app directly linked to Webkit. Why so ? Is this going to be moved to content API later ? or i just misunderstood something.
>> to Webkit. Why so ? Is this going to be moved to content API later ? or i
>> just misunderstood something.
>
>That said, there are efforts to make a cleaner split of Blink code
> The chrome/ code only calls content/ code, and content/ then calls blink
> code. Of course all the code is linked into a final executable in the end.
into browser/renderer parts, e.g. https://crbug.com/239107 and
https://crbug.com/239181.
As I understand, when the split is done, it's not completely
impossible to have two different executables for browser and renderer
processes respectively, each only linking to the required parts of
Blink.
- Jiang