[Buildroot] Chromium

Joseph Kogut joseph.kogut at gmail.com
Wed Apr 25 01:51:52 UTC 2018


Michał,

On Tue, Apr 24, 2018 at 5:01 AM, Michał Kalbarczyk
<michal at gamecodehq.com> wrote:
> Thanks for the reply,
>
> How should I start?

The manual is as good a place as any. Chapter 17 details adding new
packages to Buildroot:
https://buildroot.org/downloads/manual/manual.html#adding-packages

You'll need to figure out what toolchain requirements Chromium has, as
well as build dependencies.

Chromium has quite a few compile-time options, and quite a few
dependencies for "desktop Linux" (GN arg 'is_desktop_linux'),
including dbus, glib2, gio, gtk2/3, X11, cups, and more.

It might not be a bad idea to start with a ChromeOS build (GN arg
target_os="chromeos") to disable a lot of these optional dependencies.

A feature complete package may also allow the user to select the
features they want from Kconfig, which would select the dependencies
for a given feature when enabled. See the the Buildroot packages
'mesa3d' and 'x11r7' for examples.

To see the available build options for Chromium, run:
    gn args --list out/Default

This will give you an idea of what can be toggled, and what's
necessary for the build.

Best,
Joseph


More information about the buildroot mailing list