From: Roger Zanoni Date: Wed, 9 Aug 2023 13:26:18 +0000 (+0200) Subject: [cef] Use bundled libwayland instead of the system lib X-Git-Tag: 16.91.1~30 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=214b5d3a3962bf718268063936453fcabd880324 [cef] Use bundled libwayland instead of the system lib For the M108 chromium milestone it would be possible to use the use_system_libwayland and system_wayland_scanner_path gn args to make the cef recipe use system wayland and wayland-native dependencies, but those option got deprecated[1] in newer milestones and chormium defaults to use the bundled wayland. The more maintainable approach is to use the third party dependency instead of patching chromium build system. [1]: https://chromium-review.googlesource.com/c/chromium/src/+/4030440 Bug-AGL: SPEC-4871 Signed-off-by: Roger Zanoni Change-Id: I7cb22fcfb1943d6765599544069a379088053a2c --- diff --git a/recipes-wam/cef/cef_git.bb b/recipes-wam/cef/cef_git.bb index 1d1d83cdb..1a28324a4 100644 --- a/recipes-wam/cef/cef_git.bb +++ b/recipes-wam/cef/cef_git.bb @@ -56,7 +56,7 @@ OUT_PATH = "${B}/out/Release_GN_${GN_TARGET_CPU}" DIST_PATH = "${OUT_PATH}/dist/cef-minimal_${GN_TARGET_CPU}" CEF_DATA_PATH = "${datadir}/cef" -DEPENDS:append = " curl clang-native gperf-native wayland dbus libcxx compiler-rt libxkbcommon nss nss-native atk at-spi2-atk libdrm pango cairo virtual/egl qemu-native pciutils glib-2.0 pkgconfig-native pulseaudio" +DEPENDS:append = " curl clang-native gperf-native dbus libcxx compiler-rt libxkbcommon nss nss-native atk at-spi2-atk libdrm pango cairo virtual/egl qemu-native pciutils glib-2.0 pkgconfig-native pulseaudio" do_sync[depends] += "depot-tools-wam-native:do_populate_sysroot" do_configure[depends] += "depot-tools-wam-native:do_populate_sysroot" @@ -188,7 +188,7 @@ GN_DEFINES:append = " \ ozone_platform_x11=false \ use_system_minigbm=true \ use_system_libdrm=true \ - use_system_libwayland=true \ + use_system_libwayland=false \ " GN_DEFINES:append = " \