Update package version to 149.0.7827.155
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
--- a/build/config/compiler/BUILD.gn
|
||||
+++ b/build/config/compiler/BUILD.gn
|
||||
@@ -1903,20 +1903,4 @@ config("sanitize_c_array_bounds") {
|
||||
config("sanitize_c_array_bounds") {
|
||||
if (!is_ubsan && is_clang && !(is_asan && target_cpu == "x86")) {
|
||||
- cflags = [
|
||||
- "-fsanitize=array-bounds",
|
||||
- "-fsanitize-trap=array-bounds",
|
||||
-
|
||||
- # 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=array-bounds",
|
||||
-
|
||||
- # Because we've enabled array-bounds sanitizing we also want to suppress
|
||||
- # the related warning about "unsafe-buffer-usage-in-static-sized-array",
|
||||
- # since we know that the array bounds sanitizing will catch any out-of-
|
||||
- # bounds accesses.
|
||||
- "-Wno-unsafe-buffer-usage-in-static-sized-array",
|
||||
- ]
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
--- 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",
|
||||
@@ -1,27 +0,0 @@
|
||||
--- 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`
|
||||
@@ -0,0 +1,30 @@
|
||||
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
||||
index f977c9fed76e6f50c50351ca22128e8c8c8897b1..81460f3591b734f3354a6f9ac7bb0990e5b28889 100644
|
||||
--- a/build/config/compiler/BUILD.gn
|
||||
+++ b/build/config/compiler/BUILD.gn
|
||||
@@ -589,7 +589,7 @@ config("compiler") {
|
||||
# Flags for diagnostics.
|
||||
cflags += [ "-fcolor-diagnostics" ]
|
||||
if (!is_win) {
|
||||
- cflags += [ "-fdiagnostics-show-inlining-chain" ]
|
||||
+ cflags += [ ]
|
||||
} else {
|
||||
# Combine after https://github.com/llvm/llvm-project/pull/192241
|
||||
cflags += [ "/clang:-fdiagnostics-show-inlining-chain" ]
|
||||
@@ -1911,7 +1911,7 @@ config("clang_warning_suppression") {
|
||||
# See also: https://crbug.com/40891132#comment10
|
||||
ubsan_hardening("c_array_bounds") {
|
||||
sanitizer = "array-bounds"
|
||||
- condition = !(is_asan && target_cpu == "x86")
|
||||
+ condition = false
|
||||
|
||||
# Because we've enabled array-bounds sanitizing we also want to suppress
|
||||
# the related warning about "unsafe-buffer-usage-in-static-sized-array",
|
||||
@@ -1925,6 +1925,7 @@ ubsan_hardening("c_array_bounds") {
|
||||
# `NOTREACHED()` at the end of such functions.
|
||||
ubsan_hardening("return") {
|
||||
sanitizer = "return"
|
||||
+ condition = false
|
||||
}
|
||||
|
||||
config("rustc_revision") {
|
||||
@@ -0,0 +1,27 @@
|
||||
From cb758be9a99d13cfa903432fae0864a1656e2c49 Mon Sep 17 00:00:00 2001
|
||||
From: LN Liberda <[email protected]>
|
||||
Date: Thu, 7 May 2026 09:45:32 +0200
|
||||
Subject: [PATCH] unbundle/minizip: Ignore Unicode Path Extra Field
|
||||
|
||||
The fields come from chromium's patches on minizip
|
||||
---
|
||||
third_party/zlib/google/zip_reader.cc | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc
|
||||
index 002a1e3ed01d3..88f075ec7739a 100644
|
||||
--- a/third_party/zlib/google/zip_reader.cc
|
||||
+++ b/third_party/zlib/google/zip_reader.cc
|
||||
@@ -307,12 +307,6 @@ bool ZipReader::OpenEntry() {
|
||||
DCHECK(path_in_zip[info.size_filename] == '\0');
|
||||
entry_.path_in_original_encoding = path_in_zip.data();
|
||||
|
||||
- if (info.size_utf8_filename > 0) {
|
||||
- // Use the Info-ZIP Unicode Path Extra Field if present.
|
||||
- DCHECK(info.utf8_filename[info.size_utf8_filename] == '\0');
|
||||
- entry_.path_in_original_encoding = info.utf8_filename;
|
||||
- }
|
||||
-
|
||||
// Convert path from original encoding to Unicode.
|
||||
std::u16string path_in_utf16;
|
||||
const char* const encoding = encoding_.empty() ? "UTF-8" : encoding_.c_str();
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc b/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc
|
||||
index 58ab0db508f73dbac36a84cb71ffdad972b3fc3c..b5b97f6c6b22a79fd5e4e53393859a107cc0f399 100644
|
||||
--- a/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc
|
||||
+++ b/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <dlfcn.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
+#include "base/logging.h"
|
||||
#include "base/process/process_metrics.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "build/build_config.h"
|
||||
Reference in New Issue
Block a user