Strip down chromium

190 views
Skip to first unread message

Knepf

unread,
May 4, 2012, 5:22:48 AM5/4/12
to Chromium-discuss
hi!
i'm interested on stripping down chromium and porting it to a embedded
system.
the embedded system is running on a linux derivate and i have no X11,
GTK or QT. i just want to use the render-engine of chromium and i want
to copy the rendered bitmap(s) into framebuffer(s) or render directly
into the frame buffer(s).handling of key and touch is available.
has somebody already tried this or does somebody know any projects
which have done such things?

br
knepf

Simon Hong

unread,
May 4, 2012, 5:58:29 AM5/4/12
to kne...@googlemail.com, Chromium-discuss

Hi,

I did  similar work on dfb.
Rendered bitmap from browser process is drawn on dfb in the another process.
Chromium is run on Xvfb.
Xvfb emulates real X server.
2012. 5. 4. 오후 6:22에 "Knepf" <kne...@googlemail.com>님이 작성:

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

Robert Auzinger

unread,
May 8, 2012, 8:32:37 AM5/8/12
to Simon Hong, Chromium-discuss
hi simon!
if you just simulate the XServer still the X11 and GTK components of chromium are used, right?
i don't think i will have this possibility on my embedded system and look for a way to run chromium content with a minimum amount of additional components.the reason fot that is also to reduce the memory footprint.
i started downstripping simple by deactivating the TOOLKIT_GTK and USE_X11 defines in build_config.h, but i'm asking myself if this is the right way to start.

br
knepf

2012/5/4 Simon Hong <simon....@gmail.com>

Anish Patankar

unread,
May 8, 2012, 11:33:09 AM5/8/12
to Chromium-discuss
Aura is already enabled in Chrome OS. It does not use Gtk at all.
What is the state of Aura in Chrome browser on Linux? Does USE_AURA
automatically disable TOOLKIT_GTK?
Of course, even with Aura, X is still required.
-anish

Simon Hong

unread,
May 8, 2012, 4:14:14 PM5/8/12
to Robert Auzinger, Chromium-discuss
HI,

On Tue, May 8, 2012 at 9:32 PM, Robert Auzinger <kne...@googlemail.com> wrote:
hi simon!
if you just simulate the XServer still the X11 and GTK components of chromium are used, right?
Yes, right. I didn't remove any GTK or X11 defines. Chrome just works on Xvfb but not visible to me.
i don't think i will have this possibility on my embedded system and look for a way to run chromium content with a minimum amount of additional components.the reason fot that is also to reduce the memory footprint.
i started downstripping simple by deactivating the TOOLKIT_GTK and USE_X11 defines in build_config.h, but i'm asking myself if this is the right way to start.
I think getting away TOOLKIT_GTK and USE_X11 from chromium is difficult.
Because of that, I used xvfb. :)

br
knepf


2012/5/4 Simon Hong <simon....@gmail.com>

Hi,

I did  similar work on dfb.
Rendered bitmap from browser process is drawn on dfb in the another process.
Chromium is run on Xvfb.
Xvfb emulates real X server.
2012. 5. 4. 오후 6:22에 "Knepf" <kne...@googlemail.com>님이 작성:


>
> hi!
> i'm interested on stripping down chromium and porting it to a embedded
> system.
> the embedded system is running on a linux derivate and i have no X11,
> GTK or QT. i just want to use the render-engine of chromium and i want
> to copy the rendered bitmap(s) into framebuffer(s) or render directly
> into the frame buffer(s).handling of key and touch is available.
> has somebody already tried this or does somebody know any projects
> which have done such things?
>
> br
> knepf
>
> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
>    http://groups.google.com/a/chromium.org/group/chromium-discuss





--
======================================
Simon Hong
"Secret of success is consistency to purpose"

Simon Hong

unread,
May 8, 2012, 4:16:14 PM5/8/12
to anis...@gmail.com, Chromium-discuss
On Wed, May 9, 2012 at 12:33 AM, Anish Patankar <anis...@gmail.com> wrote:
Aura is already enabled in Chrome OS. It does not use Gtk at all.
I think it's right. 
What is the state of Aura in Chrome browser on Linux? Does USE_AURA
automatically disable TOOLKIT_GTK?
I think so. Aura is replacement of gtk. 
Of course, even with Aura, X is still required.
Yes, Aura is using X. 



--
Reply all
Reply to author
Forward
0 new messages