OSSystems / meta-browser

OpenEmbedded/Yocto BSP layer for Web Browsers
MIT License
184 stars 191 forks source link

chromium: update to 109.0.5414.74 #688

Closed rwmacleod closed 1 year ago

rwmacleod commented 1 year ago

Disable qt config since it seems to be a work in progress.

Change chromium-gn.inc to deal with: 07f51c6723906 [PA] Introduce use_partition_alloc_as_malloc (2 of N) This is one in the series of CLs that aims at replacing use_allocator and use_partition_alloc_as_malloc with use_partition_alloc_as_malloc. use_allocator == "partition" <=> use_partition_alloc_as_malloc == true use_allocator == "none" <=> use_partition_alloc_as_malloc == false and add enable_backup_ref_ptr_support=false to silence the check added here: 49aa6cc5fa202 allocator.gni: Assert that BRP relies on PA-E Also changed use_allocator and added enable_backup_ref_ptr_support=false for armv6 but it hasn't been tested.

Drop last part of patch: 0020-Fix-tab-crashes-on-musl.patch since commit: df99866b5421c [Linux sandbox] Move various sched_* syscalls into base policy moved the code into: $ rg -C 3 "__NR_sched_getaffinity" sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc 228- 229- // The scheduling syscalls are used in threading libraries and also heavily in 230- // abseil. See for example https://crbug.com/1370394. 231: if (sysno == NR_sched_getaffinity || sysno == NR_sched_getparam || 232- sysno == NR_sched_getscheduler || sysno == NR_sched_setscheduler) { 233- return RestrictSchedTarget(current_pid, sysno); 234- } Note that the policy has changed so there may be a runtime impact but restricting the usage seems safe.

Drop 0019-adjust-thread-stack-sizes.patch 36644a0b6c6ee base: deal with small pthread stack defaults c388bdbe2c88a shutdown: don't use a bespoke size for the shutdown thread stack This last commit switches to using the default thread stack size.

Adjust fix-narrowing-cast.patch 44835da632de1 base: remove GetFileSystemType since one file was removed by the change above.

Add 0015-drop-gsimple-template-names.patch to enable building with clang12 where the -gsimple-template-names option doesn't exist. This can be a significant space savings: https://chromium-review.googlesource.com/c/chromium/src/+/3988987 so the option should be enabled as soon a clang12 support is dropped.

and finally rebase patches in a single bound using super-devtool now with SRC_URI:append support!

License changes:

Added licenses:

Removed licenses:

Updated licenses:

Test-built:

** Please note that Chromium requires clang version to be >= 12. For that, when on dunfell branch, use the latest meta-clang/clang12 branch.

Drop two upstreamed patches. 0014-grit-util-py-remove-deprecated-mode-for-open.patch 0015-Avoid-inadvertently-adding-a-wayland-dependency.patch

Rebase and fix musl patches with devtool and fix-up two patches as described below. Update and adjust: 0009-provide-res_ninit-and-nclose-APIs-on-non-glibc-linux.patch since commit: 3eef9d7a3ecc6 Move HostResolverSystemTask (formerly ProcTask) to new file moved code around.

Signed-off-by: Randy MacLeod Randy.MacLeod@windriver.com

rwmacleod commented 1 year ago

I fixed up 3 more patch header problems that @rakuco pointed out and force pushed. I still need to add a comment for: 0010-Revert-ios-Fix-breakpoint-in-Swift-files.patch

rwmacleod commented 1 year ago

@otavio @rakuco @kraj or anyone, any other concerns to address or is this mergeable?

rakuco commented 1 year ago

@otavio @rakuco @kraj or anyone, any other concerns to address or is this mergable?

There's still one comment that needs to be addressed in 0009-nomerge-attribute-on-declaration-is-only-available-s.patch. Once that's done, I think we're good to go.

kraj commented 1 year ago

@otavio @rakuco @kraj or anyone, any other concerns to address or is this mergable?

lgtm thanks for good work.