Update package version to 148.0.7778.167
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: chromium
|
name: chromium
|
||||||
description: A safe, fast and stable open-source browser project
|
description: A safe, fast and stable open-source browser project
|
||||||
version: 147.0.7727.137
|
version: 148.0.7778.167
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://www.chromium.org/Home/
|
url: https://www.chromium.org/Home/
|
||||||
license: BSD-3-License
|
license: BSD-3-License
|
||||||
@@ -43,14 +43,12 @@ optional_depends:
|
|||||||
make_depends:
|
make_depends:
|
||||||
- clang
|
- clang
|
||||||
- compiler-rt
|
- compiler-rt
|
||||||
- gperf
|
|
||||||
- gn
|
- gn
|
||||||
- gperf
|
- gperf
|
||||||
- jre
|
- jre
|
||||||
- lld
|
- lld
|
||||||
- ninja
|
- ninja
|
||||||
- nodejs
|
- nodejs
|
||||||
- npm
|
|
||||||
- pipewire
|
- pipewire
|
||||||
- python3
|
- python3
|
||||||
- qt6-base
|
- qt6-base
|
||||||
@@ -61,4 +59,4 @@ downloads:
|
|||||||
- url: https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/download/${BPM_PKG_VERSION}/chromium-${BPM_PKG_VERSION}-linux.tar.xz
|
- url: https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/download/${BPM_PKG_VERSION}/chromium-${BPM_PKG_VERSION}-linux.tar.xz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: f4081241493dfc4f7cb5a06f7a5061ce1a90329c91fc18688b50982141736fc8
|
checksum: 130d90cd6b804fbf389f373af7084bbd7eaffcf8b4e06239e5c24a5f82f74a2c
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
--- a/build/config/compiler/BUILD.gn 2026-03-09 19:52:01.000000000 +0000
|
--- a/build/config/compiler/BUILD.gn
|
||||||
+++ b/build/config/compiler/BUILD.gn 2026-03-10 22:29:51.892264280 +0000
|
+++ b/build/config/compiler/BUILD.gn
|
||||||
@@ -1855,18 +1855,6 @@ config("sanitize_c_array_bounds") {
|
@@ -1903,20 +1903,4 @@ config("sanitize_c_array_bounds") {
|
||||||
cflags = [
|
config("sanitize_c_array_bounds") {
|
||||||
"-fsanitize=array-bounds",
|
if (!is_ubsan && is_clang && !(is_asan && target_cpu == "x86")) {
|
||||||
"-fsanitize-trap=array-bounds",
|
- cflags = [
|
||||||
|
- "-fsanitize=array-bounds",
|
||||||
|
- "-fsanitize-trap=array-bounds",
|
||||||
-
|
-
|
||||||
- # Some code users feature detection to determine if UBSAN (or any
|
- # Some code users feature detection to determine if UBSAN (or any
|
||||||
- # sanitizer) is enabled, they then do expensive debug like operations. We
|
- # sanitizer) is enabled, they then do expensive debug like operations. We
|
||||||
@@ -16,6 +18,6 @@
|
|||||||
- # since we know that the array bounds sanitizing will catch any out-of-
|
- # since we know that the array bounds sanitizing will catch any out-of-
|
||||||
- # bounds accesses.
|
- # bounds accesses.
|
||||||
- "-Wno-unsafe-buffer-usage-in-static-sized-array",
|
- "-Wno-unsafe-buffer-usage-in-static-sized-array",
|
||||||
]
|
- ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
--- b/build/config/BUILDCONFIG.gn
|
||||||
|
+++ a/build/config/BUILDCONFIG.gn
|
||||||
|
@@ -362,7 +362,6 @@
|
||||||
|
"//build/config/compiler:no_unresolved_symbols",
|
||||||
|
"//build/config/compiler:runtime_library",
|
||||||
|
"//build/config/compiler:sanitize_c_array_bounds",
|
||||||
|
- "//build/config/compiler:sanitize_return",
|
||||||
|
"//build/config/compiler:thin_archive",
|
||||||
|
"//build/config/compiler:thinlto_optimize_default",
|
||||||
|
"//build/config/compiler:tot_warnings",
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
--- b/build/config/compiler/BUILD.gn
|
||||||
|
+++ a/build/config/compiler/BUILD.gn
|
||||||
|
@@ -1920,24 +1920,6 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-# Enable UBSan subset to ensure we always hit `return` statement in non-void
|
||||||
|
-# functions (https://crbug.com/489565636). This is equivalent to inserting
|
||||||
|
-# `NOTREACHED()` at the end of such functions.
|
||||||
|
-config("sanitize_return") {
|
||||||
|
- if (!is_ubsan && is_clang) {
|
||||||
|
- cflags = [
|
||||||
|
- "-fsanitize=return",
|
||||||
|
- "-fsanitize-trap=return",
|
||||||
|
-
|
||||||
|
- # Some code users feature detection to determine if UBSAN (or any
|
||||||
|
- # sanitizer) is enabled, they then do expensive debug like operations. We
|
||||||
|
- # want to suppress this behaviour since we want to keep performance costs
|
||||||
|
- # as low as possible while having these checks.
|
||||||
|
- "-fsanitize-ignore-for-ubsan-feature=return",
|
||||||
|
- ]
|
||||||
|
- }
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
config("rustc_revision") {
|
||||||
|
if (rustc_revision != "") {
|
||||||
|
# Similar to the `clang_revision` config, this is here so that all `.rs`
|
||||||
@@ -34,20 +34,32 @@ prepare() {
|
|||||||
|
|
||||||
patch -Np1 -i "$BPM_WORKDIR"/dont_require_profiler_builtins.rlib.patch
|
patch -Np1 -i "$BPM_WORKDIR"/dont_require_profiler_builtins.rlib.patch
|
||||||
|
|
||||||
|
# Causes a build failure with our clang version
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/chromium-148-revert-clang-fsanitize-return-flag-1.patch
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/chromium-148-revert-clang-fsanitize-return-flag-2.patch
|
||||||
|
|
||||||
# Allow building against system libraries in official builds
|
# Allow building against system libraries in official builds
|
||||||
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py
|
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py
|
||||||
|
|
||||||
# Link to system tools required by the build
|
# Link to system tools required by the build
|
||||||
mkdir -p third_party/node/linux/node-linux-x64/bin third_party/jdk/current/bin
|
mkdir -p third_party/node/linux/node-linux-x64/bin \
|
||||||
|
third_party/rust-toolchain/bin \
|
||||||
|
third_party/jdk/current/bin
|
||||||
|
|
||||||
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/
|
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/
|
||||||
|
ln -s /usr/bin/rustc third_party/rust-toolchain/bin/
|
||||||
ln -s /usr/bin/java third_party/jdk/current/bin/
|
ln -s /usr/bin/java third_party/jdk/current/bin/
|
||||||
|
|
||||||
|
# Use system gperf binary
|
||||||
|
rm -f third_party/gperf/cipd/bin/gperf
|
||||||
|
ln -s /usr/bin/gperf third_party/gperf/cipd/bin/
|
||||||
|
|
||||||
local _system_libs=(
|
local _system_libs=(
|
||||||
brotli
|
brotli
|
||||||
flac
|
flac
|
||||||
fontconfig
|
fontconfig
|
||||||
freetype
|
freetype
|
||||||
harfbuzz-ng
|
harfbuzz
|
||||||
libjpeg
|
libjpeg
|
||||||
libwebp
|
libwebp
|
||||||
libxml
|
libxml
|
||||||
|
|||||||
Reference in New Issue
Block a user