summaryrefslogtreecommitdiffstats
path: root/recipes-wam/cef
AgeCommit message (Collapse)AuthorFilesLines
2024-07-01Move html5 demo into sublayerJan-Simon Moeller47-7196/+0
The HTML5 demo needs additional fixes. Move it into a sublayer and activate with agl-demo-html5. Bug-AGL: SPEC-5188 Change-Id: I2f1a07dcfbcaf7e09d4d0d3aec1aa8f096336287 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30042 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> ci-image-boot-test: Jenkins Job builder account
2024-02-07cef: use vpython3 for commands called by gclientquillback_16.93.0quillback/16.93.016.93.0Roger Zanoni1-3/+3
The probable cause for SPEC-5062 is that chromium's go routines that create virtualenvs expect vpython environment variables to be present, so the creation fails and the scripts could be trying to use the build host python binary. This can cause issues on some places, for example in the codecs lookup that raises an exception when an codec isn't found: https://github.com/pypa/pip/pull/6311/files The exception raised on SPEC-5062 logs is "unknown encoding: utf-16le", because the sysroot pip version expects "utf-16-le" instead. Bug-AGL: SPEC-5062 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I16e817140bf819712a5fbe1b006156db608d43b2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29659 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-12-13cef: add dependency on expat-nativeDenys Dmytriyenko1-1/+1
Corrects this build error: | ../../../chromium-118.0.5993.80/third_party/wayland/src/src/scanner.c:51:10: fatal error: 'expat.h' file not found | #include <expat.h> | ^~~~~~~~~ Bug-AGL: SPEC-4976 Change-Id: Ib689f615a9e790aacdcc0b0bc11e1b106127650c Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29519 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-11-30CEF and icu: fix CEF dependencies and icu packageJan-Simon Moeller1-3/+3
This patchset fixes the html5 app build in CI by adding missing dependenies to CEF but also to extend the icu package with .dat file generation which was turned off upstream in YP poky git 754866f32bfc1e3986199b353f037536f326ae77 . https://git.yoctoproject.org/poky/commit/meta/recipes-support/icu?id=754866f32bfc1e3986199b353f037536f326ae77 Did break node here due to the missing .dat file. v2: add ca-certificates-native and export path to it Bug-AGL: SPEC-4980 Bug-AGL: SPEC-4994 Change-Id: Iec50431c1ee5417653e307dd34cd05b7d7bfa0ff Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29486 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-11-24[cef] Fix cef build for renesasRoger Zanoni1-10/+9
The logic to check if the current toolchain was target or host was wrong and a linker error(for libvk_swiftshader.so) started to happen after 29449 and 29419: aarch64-agl-linux-ld.lld: error: .../clang/14.0.6/lib/linux/libclang_rt.builtins-x86_64.a(clear_cache.c.o) is incompatible with elf64-littleaarch64 The fix makes use of the chromium gn variable created for checking if the current toolchain is a target build. Bug-AGL: SPEC-4976 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ibd6c6ab9c85951a2b8933c7c1c7107c3f94b59ec Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29420 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-23Make CEF the default and deprecate chromiumJan-Simon Moeller1-1/+4
We complete the migration to CEF (Chromium Embedded Framework) by making CEF the default and deprecating the outdated chromium recipe. Bug-AGL: SPEC-4975 Change-Id: I59e3cdedda46ad74947a7b7e8d51dea70ecbd033 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29449 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-11-23[cef] Stop using cros-toolchainRoger Zanoni3-57/+226
Previous cef and chromium recipes were using chromium's chrome os toolchain as it was the closest to what were needed to build chromium for target devices. However it contains additional settings and logic that may conflict with the cef recipe's compiler settings and change executable paths, so this fix changes to a custom toolchain that can be set according to AGL needs and preserve paths set in the recipe. Bug-AGL: SPEC-4976 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Idcb7f6232b8d9989be5daa7ed83930a8b9f02df3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29419 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-11-16[cef][wam] Make the recipe work with official chromium release tarballsRoger Zanoni49-3599/+3478
This change drops the chromium mirror repository that was being used for milestone 108 in favor of using the official release tarballs from https://commondatastorage.googleapis.com/chromium-browser-official in an effort to make it easier to upgrade the current chromium milestones (also to improve download and build times). Also, the current milestone is being upgraded from 108 to 118. Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Iba4a94ef762d278864114c02bb9e36a308ff5a7a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29417 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-11[cef] Add the xz dependency needed by gclientRoger Zanoni1-1/+1
Bug-AGL: SPEC-4900 Change-Id: Ia3648c9351257f368745c6d0c80f22fb42b861fb Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29184 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-14[cef] Bump chromium to the latest M108 revisionRoger Zanoni1-1/+1
Bug-AGL: SPEC-4885 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Id445f394a7979c705c5c344ce1f429afb19722d5
2023-08-10[cef] Use bundled libwayland instead of the system libRoger Zanoni1-2/+2
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 <rzanoni@igalia.com> Change-Id: I7cb22fcfb1943d6765599544069a379088053a2c
2023-07-18[wam][cef] Add the CEF recipeRoger Zanoni21-0/+7146
This change makes it possible to build applications that depend on libcef, and also adds a few changes picked from our previous implementation that enables the applications to communicate with the agl-compositor. Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I215138b8f5d63da84ada2f8c006f4025f0b3fafb