Skip to content

ARM support #267

Open
Open
@cztomczak

Description

@cztomczak

Upstream CEF added ARM 32-bit support in September. Upstream Issue #1990 ("Linux: Add ARM build support") provides more details. Below is a short summary:

  • Supported branches are 2840 and later (v54 and later). The corresponding cefpython branches are cefpython54, cefpython55 and later.
  • Currently there is X11 dependency. ARM build tested to run successfully on an ASUS C201 Chromebook running Crouton/Ubuntu Xfce.
  • X11 dependency is to be removed in upstream Issue #1989 ("Linux: Add ozone support as an alternative to X11") and this will allow to run on e.g. Raspberry Pi
  • You can cross-compile on Ubuntu, instructions are provided in the CEF issue linked above
  • ARM64 cross-compile is to be added when Chromium Issue 613452 is resolved

To build CEF for ARM (cross-compile on Ubuntu) there will be modifications required to cefpython's tools/automate.py script:

  • Add --arm-build flag which will call upstream automate-git.py with that flag
  • Add "arm_float_abi=hard" in GN_DEFINES when --arm-build flag is passed

Currently CEF Python has issue231 and issue251 patches that must be applied to CEF for the CEF binaries to work with cefpython. So you should use the tools/automate.py script to build CEF which applies patches automatically. These two patches will be removed when they get merged into upstream, see the NOTES section at the end of Issue #264.

I haven't yet played with ARM. Looks like getting a Chromebook and then using Crouton to install Ubuntu Xfce is the way to go.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions