update to 144.0.7559.59 #26

Open
oertel wants to merge 2 commits from chromium/chromium:main into leap-16.1
16 changed files with 9202 additions and 8803 deletions

View File

@@ -1,8 +1,8 @@
Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
Index: chromium-144.0.7524.0/build/config/compiler/BUILD.gn
===================================================================
--- chromium-142.0.7444.3.orig/build/config/compiler/BUILD.gn
+++ chromium-142.0.7444.3/build/config/compiler/BUILD.gn
@@ -345,9 +345,7 @@ config("compiler") {
--- chromium-144.0.7524.0.orig/build/config/compiler/BUILD.gn
+++ chromium-144.0.7524.0/build/config/compiler/BUILD.gn
@@ -357,9 +357,7 @@ config("compiler") {
configs += [
# See the definitions below.
@@ -12,7 +12,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
":compiler_codegen",
":compiler_deterministic",
":clang_warning_suppression",
@@ -657,61 +655,6 @@ config("compiler") {
@@ -669,61 +667,6 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
@@ -74,7 +74,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
# C11/C++11 compiler flags setup.
# ---------------------------
if (is_linux || is_chromeos || is_android || current_os == "aix") {
@@ -1683,43 +1626,6 @@ config("compiler_deterministic") {
@@ -1671,43 +1614,6 @@ config("compiler_deterministic") {
}
}
@@ -118,7 +118,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
# Tells the compiler not to use absolute paths when passing the default
# paths to the tools it invokes. We don't want this because we don't
# really need it and it can mess up the RBE cache entries.
@@ -1746,88 +1652,6 @@ config("compiler_deterministic") {
@@ -1740,88 +1646,6 @@ config("compiler_deterministic") {
}
}
@@ -207,7 +207,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
# Controls the usage of a warning suppression mapping (WSM) file to suppress
# warnings based on the path of the file they come from. It's controlled by the
# `clang_warning_suppression_file` gn argument , which points to a text file
@@ -2318,10 +2142,6 @@ config("chromium_code") {
@@ -2338,10 +2162,6 @@ config("chromium_code") {
}
} else {
cflags = [ "-Wall" ]
@@ -218,14 +218,14 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
# In Chromium code, we define __STDC_foo_MACROS in order to get the
# C99 macros on Mac and Linux.
@@ -2330,24 +2150,6 @@ config("chromium_code") {
@@ -2350,24 +2170,6 @@ config("chromium_code") {
"__STDC_FORMAT_MACROS",
]
- if (!is_debug && !using_sanitizer && current_cpu != "s390x" &&
- current_cpu != "s390" && current_cpu != "ppc64" &&
- current_cpu != "mips" && current_cpu != "mips64" &&
- current_cpu != "riscv64" && current_cpu != "loong64") {
- current_cpu != "ppc64" && current_cpu != "mips" &&
- current_cpu != "mips64" && current_cpu != "riscv64" &&
- current_cpu != "loong64") {
- # Non-chromium code is not guaranteed to compile cleanly with
- # _FORTIFY_SOURCE. Also, fortified build may fail when optimizations are
- # disabled, so only do that for Release build.
@@ -243,7 +243,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
if (is_apple) {
cflags_objc = [ "-Wimplicit-retain-self" ]
cflags_objcc = [ "-Wimplicit-retain-self" ]
@@ -2775,7 +2577,8 @@ config("default_stack_frames") {
@@ -2795,7 +2597,8 @@ config("default_stack_frames") {
# [0]: https://pinpoint-dot-chromeperf.appspot.com/job/147634a8be0000
# [1]: https://pinpoint-dot-chromeperf.appspot.com/job/132bc772be0000
# [2]: https://crrev.com/c/5447532
@@ -253,7 +253,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
if (is_win) {
# clang-cl's /O2 corresponds to clang's -O3, and really want -O2 for
# consistency with the other platforms.
@@ -2824,7 +2627,8 @@ config("optimize") {
@@ -2844,7 +2647,8 @@ config("optimize") {
}
# Turn off optimizations.
@@ -263,7 +263,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
if (is_win) {
cflags = [
"/Od", # Disable optimization.
@@ -2859,7 +2663,8 @@ config("no_optimize") {
@@ -2879,7 +2683,8 @@ config("no_optimize") {
# Turns up the optimization level. Used to explicitly enable -O2 instead of
# -Os for select targets on platforms that use optimize_for_size. No-op
# elsewhere.
@@ -273,7 +273,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
ldflags = common_optimize_on_ldflags
if (is_win) {
# Favor speed over size, /O2 must be before the common flags.
@@ -2880,7 +2685,8 @@ config("optimize_max") {
@@ -2900,7 +2705,8 @@ config("optimize_max") {
#
# TODO(crbug.com/41259697) - rework how all of these configs are related
# so that we don't need this disclaimer.
@@ -283,7 +283,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
ldflags = common_optimize_on_ldflags
if (is_win) {
# Favor speed over size, /O2 must be before the common flags.
@@ -2897,7 +2703,8 @@ config("optimize_speed") {
@@ -2917,7 +2723,8 @@ config("optimize_speed") {
rustflags = [ "-Copt-level=3" ]
}
@@ -293,7 +293,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
cflags = [ "-O1" ] + common_optimize_on_cflags
rustflags = [ "-Copt-level=1" ]
ldflags = common_optimize_on_ldflags
@@ -3024,7 +2831,8 @@ config("win_pdbaltpath") {
@@ -3044,7 +2851,8 @@ config("win_pdbaltpath") {
}
# Full symbols.
@@ -303,7 +303,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
rustflags = []
configs = []
if (is_win) {
@@ -3189,7 +2997,8 @@ config("symbols") {
@@ -3209,7 +3017,8 @@ config("symbols") {
# Minimal symbols.
# This config guarantees to hold symbol for stack trace which are shown to user
# when crash happens in unittests running on buildbot.
@@ -313,7 +313,7 @@ Index: chromium-142.0.7444.3/build/config/compiler/BUILD.gn
rustflags = []
if (is_win) {
# Functions, files, and line tables only.
@@ -3265,7 +3074,8 @@ config("minimal_symbols") {
@@ -3285,7 +3094,8 @@ config("minimal_symbols") {
# This configuration contains function names only. That is, the compiler is
# told to not generate debug information and the linker then just puts function
# names in the final debug information.

View File

@@ -8,14 +8,16 @@ we'd expect libclang to be in the same directory as bindgen. That
fix should probably go upstream.
--- a/build/rust/rust_bindgen.gni
+++ b/build/rust/rust_bindgen.gni
@@ -18,7 +18,7 @@ if (host_os == "win") {
Index: chromium-144.0.7524.0/build/rust/rust_bindgen.gni
===================================================================
--- chromium-144.0.7524.0.orig/build/rust/rust_bindgen.gni
+++ chromium-144.0.7524.0/build/rust/rust_bindgen.gni
@@ -19,7 +19,7 @@ if (host_os == "win") {
# On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in
# ../lib.
-_libclang_path = rust_bindgen_root
+_libclang_path = clang_base_path
if (host_os == "win") {
_libclang_path += "/bin"
} else {
if (!use_chromium_rust_toolchain &&
(current_cpu == "ppc64" || current_cpu == "s390x")) {
_libclang_path = rust_sysroot_absolute + "/lib64"

View File

@@ -1,8 +1,9 @@
diff -up chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me chromium-127.0.6533.72/build/rust/rust_bindgen.gni
--- chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me 2024-07-25 16:11:18.754551595 +0200
+++ chromium-127.0.6533.72/build/rust/rust_bindgen.gni 2024-07-25 16:11:33.997837660 +0200
@@ -23,7 +23,7 @@
if (host_os == "win") {
Index: chromium-144.0.7524.0/build/rust/rust_bindgen.gni
===================================================================
--- chromium-144.0.7524.0.orig/build/rust/rust_bindgen.gni
+++ chromium-144.0.7524.0/build/rust/rust_bindgen.gni
@@ -26,7 +26,7 @@ if (!use_chromium_rust_toolchain &&
} else if (host_os == "win") {
_libclang_path += "/bin"
} else {
- _libclang_path += "/lib"
@@ -10,7 +11,7 @@ diff -up chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me chromium-127.0.65
}
# Template to build Rust/C bindings with bindgen.
@@ -111,6 +111,13 @@
@@ -129,6 +129,13 @@ template("rust_bindgen") {
deps += [ ":${_rust_bindgen_generator_name}_static_fns" ]
}
@@ -24,10 +25,12 @@ diff -up chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me chromium-127.0.65
if (defined(cpp) && cpp) {
# This cfg is used to control the bindings public export.
rustflags = [
--- chromium-132.0.6811.2/build/rust/rust_bindgen_generator.gni 2024/11/07 11:34:54 1.1
+++ chromium-132.0.6811.2/build/rust/rust_bindgen_generator.gni 2024/11/07 11:35:41
@@ -22,7 +22,7 @@
if (host_os == "win") {
Index: chromium-144.0.7524.0/build/rust/rust_bindgen_generator.gni
===================================================================
--- chromium-144.0.7524.0.orig/build/rust/rust_bindgen_generator.gni
+++ chromium-144.0.7524.0/build/rust/rust_bindgen_generator.gni
@@ -33,7 +33,7 @@ if (!use_chromium_rust_toolchain &&
} else if (host_os == "win") {
_libclang_path += "/bin"
} else {
- _libclang_path += "/lib"
@@ -35,7 +38,7 @@ diff -up chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me chromium-127.0.65
}
# Template to build Rust/C bindings with bindgen.
@@ -266,6 +266,8 @@
@@ -269,6 +269,8 @@ template("rust_bindgen_generator") {
# causes bindgen not to emit function bindings. Override it.
if (!is_win) {
args += [ "-fvisibility=default" ]
@@ -44,13 +47,3 @@ diff -up chromium-127.0.6533.72/build/rust/rust_bindgen.gni.me chromium-127.0.65
}
if (is_win) {
--- chromium-132.0.6811.2/build/config/gcc/BUILD.gn 2024/11/07 14:13:22 1.1
+++ chromium-132.0.6811.2/build/config/gcc/BUILD.gn 2024/11/07 14:13:45
@@ -32,7 +32,6 @@
# See http://gcc.gnu.org/wiki/Visibility
config("symbol_visibility_hidden") {
cflags = [ "-fvisibility=hidden" ]
- rustflags = [ "-Zdefault-visibility=hidden" ]
# Visibility attribute is not supported on AIX.
if (current_os != "aix") {

View File

@@ -1,17 +0,0 @@
Index: chromium-142.0.7444.3/build/rust/allocator/lib.rs
===================================================================
--- chromium-142.0.7444.3.orig/build/rust/allocator/lib.rs
+++ chromium-142.0.7444.3/build/rust/allocator/lib.rs
@@ -96,6 +96,12 @@ mod both_allocators {
0
}
+ // TODO(crbug.com/422538133) Remove after rolling past
+ // https://github.com/rust-lang/rust/pull/141061
+ #[unsafe(no_mangle)]
+ #[linkage = "weak"]
+ static __rust_no_alloc_shim_is_unstable: u8 = 0;
+
// Mangle the symbol name as rustc expects.
#[rustc_std_internal_symbol]
#[allow(non_upper_case_globals)]

View File

@@ -1,15 +0,0 @@
--- chromium-142.0.7444.34/build/rust/allocator/lib.rs 2025/10/22 22:02:11 1.1
+++ chromium-142.0.7444.34/build/rust/allocator/lib.rs 2025/10/22 22:02:46
@@ -102,6 +102,12 @@
#[linkage = "weak"]
static __rust_no_alloc_shim_is_unstable: u8 = 0;
+ // TODO(crbug.com/440481922): Remove this after rolling past https://github.com/rust-lang/rust/pull/143387
+ #[rustc_std_internal_symbol]
+ #[allow(non_upper_case_globals)]
+ #[linkage = "weak"]
+ static __rust_alloc_error_handler_should_panic: u8 = 0;
+
// Mangle the symbol name as rustc expects.
#[rustc_std_internal_symbol]
#[allow(non_upper_case_globals)]

Binary file not shown.

View File

@@ -0,0 +1,53 @@
--- chromium-144.0.7534.0/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc 2025/11/25 11:00:53 1.1
+++ chromium-144.0.7534.0/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc 2025/11/25 11:01:09
@@ -617,6 +617,10 @@
}
static bool ShouldAllowExternalLoad(const KURL& url) {
+ if (RuntimeEnabledFeatures::XMLNoExternalEntitiesEnabled()) {
+ return false;
+ }
+
String url_string = url.GetString();
// libxml should not be configured with catalogs enabled, so it
@@ -756,18 +760,7 @@
InitializeLibXMLIfNecessary();
xmlParserCtxtPtr parser =
xmlCreatePushParserCtxt(handlers, nullptr, nullptr, 0, nullptr);
-
- int32_t options = XML_PARSE_HUGE | XML_PARSE_NOENT;
-
- // See https://crbug.com/455813733: We choose to prevent network loads of
- // external entities and DTDs here, but not in xmlReadMemory of
- // XmlDocPtrForString and in XSLTStyleSheet::Parse in order not to overlap
- // with XSLT deprecation.
- if (RuntimeEnabledFeatures::XMLNoExternalEntitiesEnabled()) {
- options |= XML_PARSE_NO_XXE;
- }
-
- xmlCtxtUseOptions(parser, options);
+ xmlCtxtUseOptions(parser, XML_PARSE_HUGE | XML_PARSE_NOENT);
parser->_private = user_data;
return base::AdoptRef(new XMLParserContext(parser));
}
@@ -793,17 +786,8 @@
// XML_PARSE_NODICT: default dictionary option.
// XML_PARSE_NOENT: force entities substitutions.
// XML_PARSE_HUGE: don't impose arbitrary limits on document size.
- int32_t options = XML_PARSE_NODICT | XML_PARSE_NOENT | XML_PARSE_HUGE;
-
- // See https://crbug.com/455813733: We choose to prevent network loads of
- // external entities and DTDs here, but not in xmlReadMemory of
- // XmlDocPtrForString and in XSLTStyleSheet::Parse in order not to overlap
- // with XSLT deprecation.
- if (RuntimeEnabledFeatures::XMLNoExternalEntitiesEnabled()) {
- options |= XML_PARSE_NO_XXE;
- }
-
- xmlCtxtUseOptions(parser, options);
+ xmlCtxtUseOptions(parser,
+ XML_PARSE_NODICT | XML_PARSE_NOENT | XML_PARSE_HUGE);
parser->_private = user_data;

View File

@@ -0,0 +1,40 @@
--- chromium-144.0.7524.0/ui/gfx/paint_vector_icon.cc 2025/11/18 14:33:28 1.1
+++ chromium-144.0.7524.0/ui/gfx/paint_vector_icon.cc 2025/11/18 14:35:00
@@ -235,7 +235,7 @@
break;
case H_LINE_TO: {
- const SkPoint last_point = path.getLastPt().value_or({0, 0});
+ const SkPoint last_point = path.getLastPt().value_or(SkPoint{0, 0});
path.lineTo(arg(0), last_point.fY);
break;
}
@@ -245,7 +246,7 @@
break;
case V_LINE_TO: {
- const SkPoint last_point = path.getLastPt().value_or({0, 0});
+ const SkPoint last_point = path.getLastPt().value_or(SkPoint{0, 0});
path.lineTo(last_point.fX, arg(0));
break;
}
@@ -273,7 +275,7 @@
// details.
// Note that |x1| and |y1| will correspond to the sole control point if
// calculating a quadratic curve.
- const SkPoint last_point = path.getLastPt().value_or({0, 0});
+ const SkPoint last_point = path.getLastPt().value_or(SkPoint{0, 0});
SkScalar delta_x = 0;
SkScalar delta_y = 0;
if (IsCommandTypeCurve(previous_command_type)) {
--- chromium-144.0.7524.0/components/autofill/core/browser/payments/full_card_request.cc 2025/11/21 14:06:04 1.1
+++ chromium-144.0.7524.0/components/autofill/core/browser/payments/full_card_request.cc 2025/11/21 14:06:36
@@ -124,7 +124,7 @@
request_->card = std::move(card);
request_->last_committed_primary_main_frame_origin =
last_committed_primary_main_frame_origin;
- request_->context_token = std::move(context_token).value_or({});
+ request_->context_token = std::move(context_token).value_or(std::string{});
request_->selected_challenge_option = std::move(selected_challenge_option);
should_unmask_card_ = request_->card.masked() ||

View File

@@ -0,0 +1,11 @@
--- chromium-144.0.7524.0/build/rust/std/BUILD.gn 2025/11/17 13:27:46 1.1
+++ chromium-144.0.7524.0/build/rust/std/BUILD.gn 2025/11/17 13:27:58
@@ -58,7 +58,7 @@
if (rustc_nightly_capability) {
stdlib_files += [ "adler2" ]
} else {
- stdlib_files += [ "adler" ]
+ stdlib_files += [ "adler2" ]
}
}

Binary file not shown.

View File

@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Wed Jan 14 11:31:48 CET 2026 - Ruediger Oertel <ro@suse.de>
- Chromium 144.0.7559.59 (boo#1256614)
* CVE-2026-0899: Out of bounds memory access in V8
* CVE-2026-0900: Inappropriate implementation in V8
* CVE-2026-0901: Inappropriate implementation in Blink
* CVE-2026-0902: Inappropriate implementation in V8
* CVE-2026-0903: Insufficient validation of untrusted input in Downloads
* CVE-2026-0904: Incorrect security UI in Digital Credentials
* CVE-2026-0905: Insufficient policy enforcement in Network
* CVE-2026-0906: Incorrect security UI
* CVE-2026-0907: Incorrect security UI in Split View
* CVE-2026-0908: Use after free in ANGLE
- added patches:
* chromium-144-rust-adler2.patch
(with system rust-1.86, we still have adler2)
* chromium-144-revert_gfx_value_or.patch
(looks like third_party/skia is outdated)
* chromium-144-revert-libxml-2.13.patch
(conditionally applied if libxml < 2.13)
- modified patches:
* chromium-125-compiler.patch
* chromium-127-bindgen.patch
* chromium-127-rust-clanglib.patch
(rust nightly features are now guarded, drop hunk)
* gcc-enable-lto.patch
* ppc-fedora-0001-sandbox-linux-Update-syscall-helpers-lists-for-ppc64.patch
* ppc-fedora-0002-regenerate-xnn-buildgn.patch
(regenerated)
- dropped patches:
* ppc-fedora-fix-clang-selection.patch (upstream)
* chromium-140-keep-__rust_no_alloc_shim_is_unstable.patch
* chromium-142-rust-revert_should_panic.patch
- keeplibs:
added third_party/perfetto/protos/third_party/pprof (pulled in)
- gn buildflags:
* drop duplicate "use_sysroot=false"
* add "chrome_pgo_phase=0" as in debian and fedora
- use noopenh264 where available
-------------------------------------------------------------------
Tue Jan 6 20:19:27 UTC 2026 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -59,6 +59,7 @@
%bcond_without qt6
%bcond_with system_ffmpeg
%endif
%bcond_without noopenh264
%define ffmpeg_version 59
%bcond_with system_zstd
%define node_ver 22
@@ -96,6 +97,11 @@
%else
%bcond_with libxml2_2_12
%endif
%if %{pkg_vcmp libxml2-devel >= 2.13}
%bcond_without libxml2_2_13
%else
%bcond_with libxml2_2_13
%endif
%if %{pkg_vcmp gtk4-devel >= 4.19}
%bcond_without gtk4_4_19
%else
@@ -118,7 +124,7 @@
%global official_build 1
Name: chromium%{n_suffix}
Version: 143.0.7499.192
Version: 144.0.7559.59
Release: 0
Summary: Google's open source browser project
License: BSD-3-Clause AND LGPL-2.1-or-later
@@ -167,15 +173,14 @@ Patch371: chromium-133-bring_back_and_disable_allowlist.patch
Patch373: chromium-134-type-mismatch-error.patch
Patch375: chromium-131-fix-qt-ui.pach
Patch377: chromium-139-deterministic.patch
Patch379: chromium-140-keep-__rust_no_alloc_shim_is_unstable.patch
Patch380: chromium-141-use_libcxx_modules.patch
Patch381: chromium-141-csss_style_sheet.patch
Patch382: chromium-141-no_cxx_modules.patch
Patch383: chromium-142-rust-revert_should_panic.patch
Patch385: chromium-142-rust_no_sanitize.patch
Patch386: chromium-143-libpng-unbundle.patch
Patch387: chromium-143-cookie_string_view.patch
Patch389: chromium-143-revert_rust_is_multiple_of.patch
Patch390: chromium-144-revert_gfx_value_or.patch
# conditionally applied patches ppc64le only
Patch401: ppc-fedora-add-ppc64-architecture-string.patch
Patch402: ppc-fedora-0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
@@ -216,7 +221,6 @@ Patch436: ppc-fedora-skia-vsx-instructions.patch
Patch437: ppc-fedora-0001-Implement-support-for-ppc64-on-Linux.patch
Patch438: ppc-fedora-0001-Implement-support-for-PPC64-on-Linux.patch
Patch439: ppc-fedora-0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
Patch440: ppc-fedora-fix-clang-selection.patch
Patch442: ppc-fedora-fix-rust-linking.patch
Patch443: ppc-fedora-fix-breakpad-compile.patch
Patch444: ppc-fedora-fix-partition-alloc-compile.patch
@@ -239,8 +243,12 @@ Patch460: ppc-debian-0003-third_party-ffmpeg-Add-ppc64-generated-config.pa
# conditionally applied patches
# patch where libxml < 2.12
Patch1010: chromium-124-system-libxml.patch
# patch where rust <= 1.85
# patch where libxml < 2.13
Patch1011: chromium-144-revert-libxml-2.13.patch
# patch where rust = 1.85
Patch1030: chromium-134-revert-rust-adler2.patch
# patch where rust = 1.86
Patch1031: chromium-144-rust-adler2.patch
# gtk4 is too old
Patch1040: gtk-414.patch
Patch1041: gtk-414-2.patch
@@ -410,6 +418,9 @@ BuildRequires: pkgconfig(freetype2)
%if %{with system_zlib}
BuildRequires: pkgconfig(zlib)
%endif
%if %{with noopenh264}
BuildRequires: pkgconfig(openh264)
%endif
%if %{with gtk4}
BuildRequires: pkgconfig(atk-bridge-2.0)
BuildRequires: pkgconfig(gtk4)
@@ -499,10 +510,18 @@ WebDriver is an open source tool for automated testing of webapps across many br
%patch -p1 -P 1010
%endif
%if %{without libxml2_2_13}
%patch -p1 -P 1011
%endif
%if "%{?rust_version}" == "1.85"
%patch -p1 -P 1030
%endif
%if "%{?rust_version}" == "1.86"
%patch -p1 -P 1031
%endif
%if %{without gtk4_4_19}
%patch -p1 -R -P 1041
%patch -p1 -R -P 1040
@@ -723,6 +742,7 @@ keeplibs=(
third_party/pdfium/third_party/libtiff
third_party/perfetto
third_party/perfetto/protos/third_party/chromium
third_party/perfetto/protos/third_party/pprof
third_party/perfetto/protos/third_party/simpleperf
third_party/pffft
third_party/ply
@@ -989,6 +1009,9 @@ gn_system_libraries+=( zstd )
%if %{with system_zlib}
gn_system_libraries+=( zlib )
%endif
%if %{with noopenh264}
gn_system_libraries+=( openh264 )
%endif
build/linux/unbundle/replace_gn_files.py --system-libraries ${gn_system_libraries[@]}
@@ -1042,12 +1065,16 @@ myconf_gn+=" use_partition_alloc=true"
myconf_gn+=" disable_fieldtrial_testing_config=true"
myconf_gn+=" use_unofficial_version_number=false"
myconf_gn+=" use_vaapi=true"
myconf_gn+=" use_sysroot=false"
myconf_gn+=" treat_warnings_as_errors=false"
myconf_gn+=" enable_widevine=true"
myconf_gn+=" use_dbus=true"
%if %{with noopenh264}
myconf_gn+=" media_use_openh264=true"
myconf_gn+=" rtc_use_h264=true"
%else
myconf_gn+=" media_use_openh264=false"
myconf_gn+=" rtc_use_h264=false"
%endif
myconf_gn+=" use_v8_context_snapshot=true"
myconf_gn+=" v8_use_external_startup_data=true"
myconf_gn+=" rust_sysroot_absolute=\"%{_prefix}\""
@@ -1115,6 +1142,7 @@ myconf_gn+=" google_api_key=\"${google_api_key}\""
if [ "$clang_version" -lt 20 ] ; then
myconf_gn+=" clang_warning_suppression_file=\"\""
fi
myconf_gn+=" chrome_pgo_phase=0"
# GN does not support passing cflags:
# https://bugs.chromium.org/p/chromium/issues/detail?id=642016

View File

@@ -1,7 +1,7 @@
Index: chromium-120.0.6099.18/build/config/BUILDCONFIG.gn
Index: chromium-144.0.7524.0/build/config/BUILDCONFIG.gn
===================================================================
--- chromium-120.0.6099.18.orig/build/config/BUILDCONFIG.gn
+++ chromium-120.0.6099.18/build/config/BUILDCONFIG.gn
--- chromium-144.0.7524.0.orig/build/config/BUILDCONFIG.gn
+++ chromium-144.0.7524.0/build/config/BUILDCONFIG.gn
@@ -135,6 +135,8 @@ declare_args() {
# set "is_official_build" to true for any build intended to ship to end-users.
is_official_build = false
@@ -10,8 +10,8 @@ Index: chromium-120.0.6099.18/build/config/BUILDCONFIG.gn
+
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" ||
(current_cpu != "s390x" && current_cpu != "s390" &&
@@ -389,6 +389,12 @@
(current_cpu != "mips" && current_cpu != "mips64")
@@ -370,6 +372,12 @@ default_compiler_configs = [
"//build/config:feature_flags",
]
@@ -24,11 +24,11 @@ Index: chromium-120.0.6099.18/build/config/BUILDCONFIG.gn
if (is_win) {
default_compiler_configs += [
"//build/config/win:default_cfg_compiler",
Index: chromium-120.0.6099.18/build/config/compiler/BUILD.gn
Index: chromium-144.0.7524.0/build/config/compiler/BUILD.gn
===================================================================
--- chromium-120.0.6099.18.orig/build/config/compiler/BUILD.gn
+++ chromium-120.0.6099.18/build/config/compiler/BUILD.gn
@@ -2672,6 +2672,10 @@
--- chromium-144.0.7524.0.orig/build/config/compiler/BUILD.gn
+++ chromium-144.0.7524.0/build/config/compiler/BUILD.gn
@@ -2750,6 +2750,10 @@ if (is_win) {
}
}
@@ -39,11 +39,11 @@ Index: chromium-120.0.6099.18/build/config/compiler/BUILD.gn
config("default_stack_frames") {
if (!is_win) {
if (enable_frame_pointers) {
Index: chromium-120.0.6099.18/sandbox/linux/BUILD.gn
Index: chromium-144.0.7524.0/sandbox/linux/BUILD.gn
===================================================================
--- chromium-120.0.6099.18.orig/sandbox/linux/BUILD.gn
+++ chromium-120.0.6099.18/sandbox/linux/BUILD.gn
@@ -253,6 +253,9 @@ component("seccomp_bpf") {
--- chromium-144.0.7524.0.orig/sandbox/linux/BUILD.gn
+++ chromium-144.0.7524.0/sandbox/linux/BUILD.gn
@@ -255,6 +255,9 @@ component("seccomp_bpf") {
"//base",
"//sandbox:sandbox_buildflags",
]
@@ -53,11 +53,11 @@ Index: chromium-120.0.6099.18/sandbox/linux/BUILD.gn
if (is_android) {
sources += [
Index: chromium-120.0.6099.18/base/BUILD.gn
Index: chromium-144.0.7524.0/base/BUILD.gn
===================================================================
--- chromium-120.0.6099.18.orig/base/BUILD.gn
+++ chromium-120.0.6099.18/base/BUILD.gn
@@ -3749,6 +3749,10 @@
--- chromium-144.0.7524.0.orig/base/BUILD.gn
+++ chromium-144.0.7524.0/base/BUILD.gn
@@ -3748,6 +3748,10 @@ test("base_unittests") {
sources += [ "immediate_crash_unittest.cc" ]
}

View File

@@ -58,7 +58,7 @@ Index: chromium-136.0.7103.48/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
!defined(PTRACE_GET_THREAD_AREA)
// Also include asm/ptrace-abi.h since ptrace.h in older libc (for instance
// the one in Ubuntu 16.04 LTS) is missing PTRACE_GET_THREAD_AREA.
@@ -50,6 +50,11 @@
@@ -52,6 +52,11 @@
#include <asm/ptrace-abi.h>
#endif
@@ -68,8 +68,8 @@ Index: chromium-136.0.7103.48/sandbox/linux/seccomp-bpf-helpers/syscall_paramete
+#endif
+
#if BUILDFLAG(IS_ANDROID)
#include "base/android/background_thread_pool_field_trial.h"
#if !defined(F_DUPFD_CLOEXEC)
@@ -107,6 +112,15 @@
#endif
}
@@ -631,5 +631,3 @@ Index: chromium-136.0.7103.48/sandbox/linux/services/syscall_wrappers.cc
// CONFIG_CLONE_BACKWARDS defined.
return syscall(__NR_clone, flags, child_stack, ptid, tls, ctid);
#endif
--- syscall_parameters_restrictions.cc 2025/10/01 15:32:29 1.1
+++ syscall_parameters_restrictions.cc 2025/10/01 15:32:47

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +0,0 @@
--- chromium-143.0.7499.17/build/config/BUILDCONFIG.gn 2025/11/10 11:36:45 1.1
+++ chromium-143.0.7499.17/build/config/BUILDCONFIG.gn 2025/11/10 11:37:11
@@ -138,7 +138,6 @@
# Set to true when compiling with the Clang compiler.
is_clang = current_os != "linux" ||
(current_cpu != "s390x" && current_cpu != "s390" &&
- current_cpu != "ppc64" && current_cpu != "ppc" &&
current_cpu != "mips" && current_cpu != "mips64")
# Allows the path to a custom target toolchain to be injected as a single