diff options
Diffstat (limited to 'www/iridium/files')
11 files changed, 58 insertions, 101 deletions
diff --git a/www/iridium/files/patch-build_linux_strip__binary.gni b/www/iridium/files/patch-build_linux_strip__binary.gni new file mode 100644 index 000000000000..7250ba409106 --- /dev/null +++ b/www/iridium/files/patch-build_linux_strip__binary.gni @@ -0,0 +1,13 @@ +--- build/linux/strip_binary.gni.orig 2025-11-24 05:40:57 UTC ++++ build/linux/strip_binary.gni +@@ -21,8 +21,8 @@ template("strip_binary") { + "testonly", + ]) + action("${target_name}") { +- llvm_strip_binary = "${clang_base_path}/bin/llvm-strip" +- llvm_objcopy_binary = "${clang_base_path}/bin/llvm-objcopy" ++ llvm_strip_binary = "${LOCALBASE}/llvm${MODCLANG_VERSION}/bin/llvm-strip" ++ llvm_objcopy_binary = "${LOCALBASE}/llvm${MODCLANG_VERSION}/bin/llvm-objcopy" + script = "//build/linux/strip_binary.py" + + if (defined(invoker.stripped_binary_output)) { diff --git a/www/iridium/files/patch-build_rust_allocator_lib.rs b/www/iridium/files/patch-build_rust_allocator_lib.rs index e4351db6f315..5683fb4c4512 100644 --- a/www/iridium/files/patch-build_rust_allocator_lib.rs +++ b/www/iridium/files/patch-build_rust_allocator_lib.rs @@ -1,6 +1,6 @@ ---- build/rust/allocator/lib.rs.orig 2025-11-06 10:11:34 UTC +--- build/rust/allocator/lib.rs.orig 2025-11-25 13:37:36 UTC +++ build/rust/allocator/lib.rs -@@ -96,6 +96,12 @@ mod both_allocators { +@@ -96,6 +96,18 @@ mod both_allocators { 0 } @@ -10,6 +10,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)] diff --git a/www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc b/www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc new file mode 100644 index 000000000000..1bbc0697bc56 --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_headless_headless__mode__util.cc @@ -0,0 +1,29 @@ +--- chrome/browser/headless/headless_mode_util.cc.orig 2025-11-17 10:37:57 UTC ++++ chrome/browser/headless/headless_mode_util.cc +@@ -12,7 +12,7 @@ + // New headless mode is available on Linux, Windows and Mac platforms. + // More platforms will be added later, so avoid function level clutter + // by providing stub implementations at the end of the file. +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + + #include "base/base_switches.h" + #include "base/files/file_path.h" +@@ -23,7 +23,7 @@ + #include "chrome/common/chrome_switches.h" + #include "content/public/common/content_switches.h" + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "ui/gl/gl_switches.h" // nogncheck + #include "ui/ozone/public/ozone_switches.h" // nogncheck + #endif // BUILDFLAG(IS_LINUX) +@@ -113,7 +113,7 @@ class HeadlessModeHandleImpl : public HeadlessModeHand + command_line->AppendSwitchPath(switches::kUserDataDir, user_data_dir); + } + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Headless mode on Linux relies on ozone/headless platform. + command_line->AppendSwitchASCII(::switches::kOzonePlatform, + switches::kHeadless); diff --git a/www/iridium/files/patch-chrome_common_chrome__features.cc b/www/iridium/files/patch-chrome_common_chrome__features.cc index dcc0024717e4..71f98153a01e 100644 --- a/www/iridium/files/patch-chrome_common_chrome__features.cc +++ b/www/iridium/files/patch-chrome_common_chrome__features.cc @@ -1,4 +1,4 @@ ---- chrome/common/chrome_features.cc.orig 2025-11-06 10:11:34 UTC +--- chrome/common/chrome_features.cc.orig 2025-11-24 05:40:57 UTC +++ chrome/common/chrome_features.cc @@ -86,7 +86,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims, base::FEA #endif // BUILDFLAG(IS_MAC) @@ -36,7 +36,7 @@ // Controls whether Chrome Apps are supported. See https://crbug.com/1221251. // If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome // Apps will not launch and will be marked in the UI as deprecated. -@@ -627,7 +627,7 @@ BASE_FEATURE(kGlicDisableWarming, base::FEATURE_ENABLE +@@ -625,7 +625,7 @@ BASE_FEATURE(kGlicWarming, base::FEATURE_DISABLED_BY_D // Killswitch that controls whether the guest WebContents visibility state is // set to hidden when the Glic panel is warming. BASE_FEATURE(kGlicGuestContentsVisibilityState, @@ -45,7 +45,7 @@ base::FEATURE_ENABLED_BY_DEFAULT); #else base::FEATURE_DISABLED_BY_DEFAULT); -@@ -1088,7 +1088,7 @@ BASE_FEATURE(kKAnonymityServiceOHTTPRequests, base::FE +@@ -1086,7 +1086,7 @@ BASE_FEATURE(kKAnonymityServiceOHTTPRequests, base::FE // public keys. BASE_FEATURE(kKAnonymityServiceStorage, base::FEATURE_ENABLED_BY_DEFAULT); @@ -54,7 +54,7 @@ BASE_FEATURE(kLinuxLowMemoryMonitor, base::FEATURE_DISABLED_BY_DEFAULT); // Values taken from the low-memory-monitor documentation and also apply to the // portal API: -@@ -1099,7 +1099,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit +@@ -1097,7 +1097,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit &kLinuxLowMemoryMonitor, "critical_level", 255}; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-chrome_common_chrome__features.h b/www/iridium/files/patch-chrome_common_chrome__features.h index 64095c63b067..3729fdf3f457 100644 --- a/www/iridium/files/patch-chrome_common_chrome__features.h +++ b/www/iridium/files/patch-chrome_common_chrome__features.h @@ -1,4 +1,4 @@ ---- chrome/common/chrome_features.h.orig 2025-11-06 10:11:34 UTC +--- chrome/common/chrome_features.h.orig 2025-11-24 05:40:57 UTC +++ chrome/common/chrome_features.h @@ -83,13 +83,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims); #endif // BUILDFLAG(IS_MAC) @@ -25,7 +25,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kShortcutsNotApps); -@@ -808,7 +808,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests); +@@ -806,7 +806,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kKAnonymityServiceStorage); @@ -34,7 +34,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor); COMPONENT_EXPORT(CHROME_FEATURES) extern const base::FeatureParam<int> kLinuxLowMemoryMonitorModerateLevel; -@@ -816,7 +816,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) +@@ -814,7 +814,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) extern const base::FeatureParam<int> kLinuxLowMemoryMonitorCriticalLevel; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) diff --git a/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc b/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc deleted file mode 100644 index 7fd4f237e170..000000000000 --- a/www/iridium/files/patch-chromecast_browser_cast__browser__main__parts.cc +++ /dev/null @@ -1,38 +0,0 @@ ---- chromecast/browser/cast_browser_main_parts.cc.orig 2025-09-11 13:19:19 UTC -+++ chromecast/browser/cast_browser_main_parts.cc -@@ -99,7 +99,7 @@ - #include "ui/ozone/public/ozone_platform.h" - #endif // BUILDFLAG(IS_OZONE) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #include <fontconfig/fontconfig.h> - #include <signal.h> - #include <sys/prctl.h> -@@ -280,7 +280,7 @@ class CastViewsDelegate : public views::ViewsDelegate - - #endif // defined(USE_AURA) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - - base::FilePath GetApplicationFontsDir() { - std::unique_ptr<base::Environment> env(base::Environment::Create()); -@@ -325,7 +325,7 @@ const DefaultCommandLineSwitch kDefaultSwitches[] = { - {switches::kDisableThreadedAnimation, ""}, - #endif // BUILDFLAG(IS_ANDROID) - #endif // BUILDFLAG(IS_CAST_AUDIO_ONLY) --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #if defined(ARCH_CPU_X86_FAMILY) - // This is needed for now to enable the x11 Ozone platform to work with - // current Linux/NVidia OpenGL drivers. -@@ -502,7 +502,7 @@ void CastBrowserMainParts::ToolkitInitialized() { - views_delegate_ = std::make_unique<CastViewsDelegate>(); - #endif // defined(USE_AURA) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - base::FilePath dir_font = GetApplicationFontsDir(); - const FcChar8* dir_font_char8 = - reinterpret_cast<const FcChar8*>(dir_font.value().data()); diff --git a/www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc b/www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc deleted file mode 100644 index f129e0ebb8dd..000000000000 --- a/www/iridium/files/patch-chromecast_browser_cast__content__browser__client.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- chromecast/browser/cast_content_browser_client.cc.orig 2025-10-28 14:29:43 UTC -+++ chromecast/browser/cast_content_browser_client.cc -@@ -432,7 +432,7 @@ void CastContentBrowserClient::AppendExtraCommandLineS - switches::kAudioOutputChannels)); - } - } else if (process_type == switches::kGpuProcess) { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Necessary for accelerated 2d canvas. By default on Linux, Chromium - // assumes GLES2 contexts can be lost to a power-save mode, which breaks GPU - // canvas apps. diff --git a/www/iridium/files/patch-chromecast_cast__core_runtime_browser_runtime__application__service__impl.cc b/www/iridium/files/patch-chromecast_cast__core_runtime_browser_runtime__application__service__impl.cc deleted file mode 100644 index 006b801f3ce3..000000000000 --- a/www/iridium/files/patch-chromecast_cast__core_runtime_browser_runtime__application__service__impl.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- chromecast/cast_core/runtime/browser/runtime_application_service_impl.cc.orig 2025-11-06 10:11:34 UTC -+++ chromecast/cast_core/runtime/browser/runtime_application_service_impl.cc -@@ -364,7 +364,7 @@ CastWebView::Scoped RuntimeApplicationServiceImpl::Cre - params->force_720p_resolution = - GetFlagEntry(feature::kCastCoreForce720p, config_.extra_features(), - /*default_value=*/false); --#if BUILDFLAG(ENABLE_CAST_RECEIVER) && BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(ENABLE_CAST_RECEIVER) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) - // Starboard-based (linux) cast receivers may not render their UI at 720p, so - // we need to scale to the proper resolution. For example, a 4k TV may render - // the window at 1920x1080, so a scaling factor of 1.5 is necessary for a 720p diff --git a/www/iridium/files/patch-chromecast_media_base_default__monotonic__clock.cc b/www/iridium/files/patch-chromecast_media_base_default__monotonic__clock.cc deleted file mode 100644 index 4cc16ecca3ec..000000000000 --- a/www/iridium/files/patch-chromecast_media_base_default__monotonic__clock.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- chromecast/media/base/default_monotonic_clock.cc.orig 2025-05-07 06:48:23 UTC -+++ chromecast/media/base/default_monotonic_clock.cc -@@ -11,7 +11,7 @@ - #include "base/time/time.h" - #include "build/build_config.h" - --#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #include "chromecast/media/base/buildflags.h" - #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || - // BUILDFLAG(IS_CHROMEOS) -@@ -28,7 +28,7 @@ std::unique_ptr<MonotonicClock> MonotonicClock::Create - return std::make_unique<DefaultMonotonicClock>(); - } - --#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - int64_t MonotonicClockNow() { - timespec now = {0, 0}; - #if BUILDFLAG(MEDIA_CLOCK_MONOTONIC_RAW) diff --git a/www/iridium/files/patch-gpu_webgpu_dawn__commit__hash.h b/www/iridium/files/patch-gpu_webgpu_dawn__commit__hash.h deleted file mode 100644 index 71598f534a49..000000000000 --- a/www/iridium/files/patch-gpu_webgpu_dawn__commit__hash.h +++ /dev/null @@ -1,11 +0,0 @@ ---- gpu/webgpu/dawn_commit_hash.h.orig 2025-11-06 10:11:34 UTC -+++ gpu/webgpu/dawn_commit_hash.h -@@ -0,0 +1,8 @@ -+/* Generated by lastchange.py, do not edit.*/ -+ -+#ifndef GPU_WEBGPU_DAWN_COMMIT_HASH_H_ -+#define GPU_WEBGPU_DAWN_COMMIT_HASH_H_ -+ -+#define DAWN_COMMIT_HASH "cee9cb0d67e749bf42f5e90cb3b8a6f525dbb920" -+ -+#endif // GPU_WEBGPU_DAWN_COMMIT_HASH_H_ diff --git a/www/iridium/files/patch-third__party_protobuf_proto__library.gni b/www/iridium/files/patch-third__party_protobuf_proto__library.gni index 8ee27d2cd909..c3be794490f3 100644 --- a/www/iridium/files/patch-third__party_protobuf_proto__library.gni +++ b/www/iridium/files/patch-third__party_protobuf_proto__library.gni @@ -1,4 +1,4 @@ ---- third_party/protobuf/proto_library.gni.orig 2025-09-11 13:19:19 UTC +--- third_party/protobuf/proto_library.gni.orig 2025-11-24 05:40:57 UTC +++ third_party/protobuf/proto_library.gni @@ -260,7 +260,15 @@ _protoc_gen_ts_runtime_deps = [ |
