8
static void _f_do_barnacle_install_properties(GObjectClass *gobject_class) { GParamSpec *pspec; /* Party code attribute */ pspec = g_param_spec_uint64 (F_DO_BARNACLE_CODE, "Barnacle code.", "Barnacle code", 0, G_MAXUINT64, G_MAXUINT64 /* default value */, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_PRIVATE); g_object_class_install_property (gobject_class, F_DO_BARNACLE_PROP_CODE, Jacobo Aragunde Pérez blogs.igalia.com/jaragunde Chromium on embedded Linux platforms: common pitfalls

GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

static void_f_do_barnacle_install_properties(GObjectClass

*gobject_class){

GParamSpec *pspec;

/* Party code attribute */ pspec = g_param_spec_uint64

(F_DO_BARNACLE_CODE, "Barnacle code.", "Barnacle code",

0, G_MAXUINT64,

G_MAXUINT64 /* default value */,

G_PARAM_READABLE | G_PARAM_WRITABLE |

G_PARAM_PRIVATE);

g_object_class_install_property (gobject_class,

F_DO_BARNACLE_PROP_CODE,

Jacobo Aragunde Pérezblogs.igalia.com/jaragunde

Chromium on embedded Linux platforms: common pitfalls

Page 2: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

Exhibit 1 & 2

Page 3: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

Exhibit 3

Page 4: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

Wayland

● Lightweight → very popular on embedded● Not officially supported yet!● Two existing implementations:

● by Intel → development stopped● by Igalia/Renesas → ongoing and aligned with ToT

Page 5: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

Toolchain

● Friction among:● Chromium toolchain● Host system toolchain ● Cross-compilation toolchain● Yocto/OpenEmbedded or Buildroot toolchains● BSP-provided toolchain

Page 6: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

Build system, environment

● depot_tools are not there!● Get GN built● Yocto/OpenEmbedded, Buildroot configuration● Program interaction with GN● Toolchain configuration

Page 7: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

Other

● Graphics drivers● Device-specific optimization● Downstream patches● Keep up with upstream changes

Page 8: GParamSpec *pspec; platforms: common pitfalls › jaragunde › files › 2017 › 09 › ... · 2017-09-14 · Host system toolchain Cross-compilation toolchain ... OUR SOLAR SYSTEM

Thank you!

© 2017 Igalia, S.L.