Skip to content

Commit ebc7f32

Browse files
Narpat MaliRaphael Kubo da Costa
authored andcommitted
chromium: add use_system_libffi=true
As explained in: 2f5fe79 Chromium doesn't allow building with system libwayland anymore, and needs (a static version of) libffi to build its own libwayland. Therefore, libffi_%.bbappend was added to make libffi_pic.a (static library) available while building chromium-ozone-wayland. This libffi_%.bbappend is causing yocto-check-layer to give compliance error for meta-chromium layer. By adding "use_system_libffi=true" to GN_ARGS in chromium-ozone-wayland recipe and removing the libffi_%.bbappend, we can make chromium-ozone-wayland to build with libffi.so (shared library). With these changes, we can avoid using libffi_pic.a (static library) for chromium-ozone-wayland build and also resolve yocto-check-layer compliance error for meta-chromium layer. Fixes: #714 Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
1 parent e8a756b commit ebc7f32

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_112.0.5615.165.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ GN_ARGS += "\
2121
use_xkbcommon=true \
2222
use_system_minigbm=true \
2323
use_system_libdrm=true \
24+
use_system_libffi=true \
2425
use_gtk=false \
2526
"
2627

meta-chromium/recipes-browser/chromium/libffi_%.bbappend

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)