1require chromium-gn.inc
2
3REQUIRED_DISTRO_FEATURES = "x11"
4
5DEPENDS += "\
6        libx11 \
7        libxcomposite \
8        libxcursor \
9        libxdamage \
10        libxext \
11        libxfixes \
12        libxi \
13        libxrandr \
14        libxrender \
15        libxscrnsaver \
16        libxtst \
17"
18
19# Loaded at runtime.
20# https://source.chromium.org/chromium/chromium/src/+/main:ui/gfx/x/xlib_support.cc
21RDEPENDS:${PN} += "libx11-xcb"
22
23# Ozone is default path on Linux since M95.
24# Disable all backends except x11 to ensure this is
25# x11 only recipe.
26GN_ARGS += "\
27        ozone_auto_platforms=false \
28        ozone_platform_x11=true \
29"
30
31# Compatibility glue while we have both chromium-x11 and
32# chromium-wayland recipes, and the former used to be called just
33# "chromium".
34PROVIDES = "chromium"
35