1require chromium-gn.inc
2
3REQUIRED_DISTRO_FEATURES = "wayland"
4
5DEPENDS += "\
6        at-spi2-atk \
7        virtual/egl \
8        wayland \
9        wayland-native \
10"
11
12GN_ARGS += "\
13        ${PACKAGECONFIG_CONFARGS} \
14        use_ozone=true \
15        ozone_auto_platforms=false \
16        ozone_platform_headless=true \
17        ozone_platform_wayland=true \
18        ozone_platform_x11=false \
19        system_wayland_scanner_path="${STAGING_BINDIR_NATIVE}/wayland-scanner" \
20        use_system_wayland_scanner=true \
21        use_xkbcommon=true \
22        use_system_minigbm=true \
23        use_system_libdrm=true \
24        use_gtk=false \
25"
26
27# The chromium binary must always be started with those arguments.
28CHROMIUM_EXTRA_ARGS:append = " --ozone-platform=wayland"
29