Skip to content

Commit 1cf3f83

Browse files
authored
Merge pull request #418 from teeminus/update
2 parents dbf2c71 + b9bcdf6 commit 1cf3f83

15 files changed

+1493
-857
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def main():
257257

258258
# Generate version file
259259
with open(RUST_FLAG_FILE, 'w') as f:
260-
f.write('rustc 1.84.0-nightly (439284741 2024-10-21)')
260+
f.write('rustc 1.85.0-nightly (9e136a30a 2024-12-19)')
261261
f.write('\n')
262262

263263
if not args.ci or not (source_tree / 'out/Default').exists():

domain_substitution.list

Lines changed: 564 additions & 363 deletions
Large diffs are not rendered by default.

downloads.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ strip_leading_dirs=package
104104

105105
# DirectX-Headers
106106
[directx-headers]
107-
version = 9be295b3b81ce1d0ff2b44f18d0eb86ea54c5122
107+
version = d9020edfc69b789653e04fa2d8d10ee3317ffa56
108108
url = https://github.com/microsoft/DirectX-Headers/archive/%(version)s.zip
109109
download_filename = directx-headers-%(version)s.zip
110110
extractor = 7z
@@ -113,13 +113,13 @@ strip_leading_dirs=DirectX-Headers-%(version)s
113113

114114
# Rust
115115
[rust-x64]
116-
version = 2024-10-22
116+
version = 2024-12-20
117117
url = https://static.rust-lang.org/dist/%(version)s/rust-nightly-x86_64-pc-windows-msvc.tar.gz
118118
download_filename = rust-nightly-%(version)s-x86_64-pc-windows-msvc.tar.gz
119119
output_path = third_party/rust-toolchain-x64
120120
strip_leading_dirs=rust-nightly-x86_64-pc-windows-msvc
121121
[rust-x86]
122-
version = 2024-10-22
122+
version = 2024-12-20
123123
url = https://static.rust-lang.org/dist/%(version)s/rust-nightly-i686-pc-windows-msvc.tar.gz
124124
download_filename = rust-nightly-%(version)s-i686-pc-windows-msvc.tar.gz
125125
output_path = third_party/rust-toolchain-x86

patches/inox-patchset/fix-cfi-failures-with-unbundled-libxml.patch

Lines changed: 0 additions & 139 deletions
This file was deleted.

patches/series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
inox-patchset/fix-cfi-failures-with-unbundled-libxml.patch
21
ungoogled-chromium/windows/windows-disable-reorder-fix-linking.patch
32
ungoogled-chromium/windows/windows-disable-win-build-output.patch
43
ungoogled-chromium/windows/windows-disable-rcpy.patch

patches/ungoogled-chromium/windows/windows-disable-clang-version-check.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/build/config/compiler/BUILD.gn
22
+++ b/build/config/compiler/BUILD.gn
3-
@@ -1648,8 +1648,7 @@ config("compiler_deterministic") {
3+
@@ -1647,8 +1647,7 @@ config("compiler_deterministic") {
44
}
55

66
config("clang_revision") {

patches/ungoogled-chromium/windows/windows-disable-event-log.patch

Lines changed: 61 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
--- a/chrome/common/BUILD.gn
55
+++ b/chrome/common/BUILD.gn
6-
@@ -129,7 +129,6 @@ source_set("request_code_constants") {
6+
@@ -131,7 +131,6 @@ source_set("request_code_constants") {
77
static_library("common_lib") {
88
visibility = [
99
":*",
1010
- "//chrome/common/win:eventlog_messages",
1111
]
1212
sources = [
1313
"all_messages.h",
14-
@@ -378,7 +377,6 @@ static_library("common_lib") {
14+
@@ -379,7 +378,6 @@ static_library("common_lib") {
1515
"conflicts/remote_module_watcher_win.cc",
1616
"conflicts/remote_module_watcher_win.h",
1717
]
@@ -43,34 +43,69 @@
4343
base::StatisticsRecorder::InitLogOnShutdown();
4444
--- a/chrome/elevation_service/BUILD.gn
4545
+++ b/chrome/elevation_service/BUILD.gn
46-
@@ -53,7 +53,6 @@ executable("elevation_service") {
47-
":version_resources",
46+
@@ -95,7 +95,6 @@ source_set("service_lib") {
47+
deps = [
48+
":lib",
4849
"//base",
49-
"//build/win:default_exe_manifest",
5050
- "//chrome/common/win:eventlog_provider",
5151
"//chrome/install_static:install_static_util",
52-
"//chrome/install_static:primary_module",
53-
"//components/crx_file",
54-
--- a/chrome/elevation_service/elevation_service.cc
55-
+++ b/chrome/elevation_service/elevation_service.cc
52+
]
53+
}
54+
--- a/chrome/elevation_service/elevation_service_delegate.cc
55+
+++ b/chrome/elevation_service/elevation_service_delegate.cc
5656
@@ -12,7 +12,6 @@
57-
#include "base/syslog_logging.h"
58-
#include "base/win/process_startup_helper.h"
59-
#include "base/win/scoped_com_initializer.h"
57+
#include "base/containers/heap_array.h"
58+
#include "base/logging.h"
59+
#include "base/types/expected.h"
6060
-#include "chrome/common/win/eventlog_messages.h"
61-
#include "chrome/elevation_service/service_main.h"
62-
#include "chrome/install_static/install_details.h"
63-
#include "chrome/install_static/product_install_details.h"
64-
@@ -34,12 +33,6 @@ extern "C" int WINAPI wWinMain(HINSTANCE
61+
#include "chrome/elevation_service/elevated_recovery_impl.h"
62+
#include "chrome/elevation_service/elevator.h"
63+
#include "chrome/install_static/install_util.h"
64+
@@ -20,11 +19,11 @@
65+
namespace elevation_service {
6566

66-
install_static::InitializeProductDetailsForPrimaryModule();
67+
uint16_t Delegate::GetLogEventCategory() {
68+
- return ELEVATION_SERVICE_CATEGORY;
69+
+ return 0;
70+
}
6771

68-
- // Enable logging to the Windows Event Log.
69-
- logging::SetEventSource(
70-
- base::WideToUTF8(
71-
- install_static::InstallDetails::Get().install_full_name()),
72-
- ELEVATION_SERVICE_CATEGORY, MSG_ELEVATION_SERVICE_LOG_MESSAGE);
73-
-
74-
// Make sure the process exits cleanly on unexpected errors.
75-
base::EnableTerminationOnHeapCorruption();
76-
base::EnableTerminationOnOutOfMemory();
72+
uint32_t Delegate::GetLogEventMessageId() {
73+
- return MSG_ELEVATION_SERVICE_LOG_MESSAGE;
74+
+ return 0;
75+
}
76+
77+
base::expected<base::HeapArray<FactoryAndClsid>, HRESULT>
78+
--- a/chrome/windows_services/elevated_tracing_service/BUILD.gn
79+
+++ b/chrome/windows_services/elevated_tracing_service/BUILD.gn
80+
@@ -77,7 +77,6 @@ source_set("service_lib") {
81+
]
82+
deps = [
83+
":lib",
84+
- "//chrome/common/win:eventlog_provider",
85+
"//chrome/install_static:install_static_util",
86+
"//services/tracing/public/cpp",
87+
]
88+
--- a/chrome/windows_services/elevated_tracing_service/elevated_tracing_service_delegate.cc
89+
+++ b/chrome/windows_services/elevated_tracing_service/elevated_tracing_service_delegate.cc
90+
@@ -15,7 +15,6 @@
91+
#include "base/task/sequenced_task_runner.h"
92+
#include "base/task/thread_pool.h"
93+
#include "base/task/thread_pool/thread_pool_instance.h"
94+
-#include "chrome/common/win/eventlog_messages.h"
95+
#include "chrome/install_static/install_util.h"
96+
#include "chrome/windows_services/elevated_tracing_service/session_registry.h"
97+
#include "chrome/windows_services/elevated_tracing_service/system_tracing_session.h"
98+
@@ -79,11 +78,11 @@ Delegate::Delegate() = default;
99+
Delegate::~Delegate() = default;
100+
101+
uint16_t Delegate::GetLogEventCategory() {
102+
- return TRACING_SERVICE_CATEGORY;
103+
+ return 0;
104+
}
105+
106+
uint32_t Delegate::GetLogEventMessageId() {
107+
- return MSG_TRACING_SERVICE_LOG_MESSAGE;
108+
+ return 0;
109+
}
110+
111+
base::expected<base::HeapArray<FactoryAndClsid>, HRESULT>

patches/ungoogled-chromium/windows/windows-disable-reorder-fix-linking.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
# each platform lists its own files rather than relying on filtering or
5959
--- a/chrome/test/chromedriver/BUILD.gn
6060
+++ b/chrome/test/chromedriver/BUILD.gn
61-
@@ -480,11 +480,6 @@ python_library("chromedriver_py_tests")
61+
@@ -482,11 +482,6 @@ python_library("chromedriver_py_tests")
6262
if (is_component_build && is_mac) {
6363
data_deps += [ "//chrome:chrome_framework" ]
6464
}
@@ -72,7 +72,7 @@
7272
python_library("chromedriver_py_tests_headless_shell") {
7373
--- a/tools/perf/chrome_telemetry_build/BUILD.gn
7474
+++ b/tools/perf/chrome_telemetry_build/BUILD.gn
75-
@@ -43,10 +43,6 @@ group("telemetry_chrome_test") {
75+
@@ -37,10 +37,6 @@ group("telemetry_chrome_test") {
7676
data_deps += [ "//chrome" ]
7777
}
7878

patches/ungoogled-chromium/windows/windows-fix-building-with-rust.patch

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
--- a/build/config/rust.gni
1313
+++ b/build/config/rust.gni
14-
@@ -59,7 +59,7 @@ declare_args() {
14+
@@ -58,7 +58,7 @@ declare_args() {
1515
# To use a custom toolchain instead, specify an absolute path to the root of
1616
# a Rust sysroot, which will have a 'bin' directory and others. Commonly
1717
# <home dir>/.rustup/toolchains/nightly-<something>-<something>
@@ -20,7 +20,7 @@
2020

2121
# Directory under which to find `bin/bindgen` (a `bin` directory containing
2222
# the bindgen exectuable).
23-
@@ -69,7 +69,7 @@ declare_args() {
23+
@@ -68,7 +68,7 @@ declare_args() {
2424
# set this to the output of `rustc -V`. Changing this string will cause all
2525
# Rust targets to be rebuilt, which allows you to update your toolchain and
2626
# not break incremental builds.
@@ -48,15 +48,18 @@
4848
cargo_pkg_authors = "Microsoft"
4949
cargo_pkg_name = "windows_i686_msvc"
5050
cargo_pkg_description = "Import lib for Windows"
51-
@@ -28,9 +28,9 @@ cargo_crate("lib") {
51+
@@ -28,12 +28,12 @@ cargo_crate("lib") {
5252
executable_configs += [ "//build/config/compiler:no_chromium_code" ]
5353
proc_macro_configs -= [ "//build/config/compiler:chromium_code" ]
5454
proc_macro_configs += [ "//build/config/compiler:no_chromium_code" ]
5555
- build_root = "//third_party/rust/chromium_crates_io/vendor/windows_i686_msvc-0.52.6/build.rs"
5656
- build_sources = [ "//third_party/rust/chromium_crates_io/vendor/windows_i686_msvc-0.52.6/build.rs" ]
57-
- native_libs = [ "//third_party/rust/chromium_crates_io/vendor/windows_i686_msvc-0.52.6/src/../lib/windows.0.52.0.lib" ]
5857
+ build_root = "//third_party/rust/chromium_crates_io/vendor/windows-rs-0.52.0/crates/targets/i686_msvc/build.rs"
5958
+ build_sources = [ "//third_party/rust/chromium_crates_io/vendor/windows-rs-0.52.0/crates/targets/i686_msvc/build.rs" ]
59+
rustflags = [
60+
"--cap-lints=allow", # Suppress all warnings in crates.io crates
61+
]
62+
- native_libs = [ "//third_party/rust/chromium_crates_io/vendor/windows_i686_msvc-0.52.6/src/../lib/windows.0.52.0.lib" ]
6063
+ native_libs = [ "//third_party/rust/chromium_crates_io/vendor/windows-rs-0.52.0/crates/targets/i686_msvc/lib/windows.0.52.0.lib" ]
6164

6265
# Only for usage from third-party crates. Add the crate to
@@ -80,15 +83,18 @@
8083
cargo_pkg_authors = "Microsoft"
8184
cargo_pkg_name = "windows_x86_64_msvc"
8285
cargo_pkg_description = "Import lib for Windows"
83-
@@ -28,9 +28,9 @@ cargo_crate("lib") {
86+
@@ -28,12 +28,12 @@ cargo_crate("lib") {
8487
executable_configs += [ "//build/config/compiler:no_chromium_code" ]
8588
proc_macro_configs -= [ "//build/config/compiler:chromium_code" ]
8689
proc_macro_configs += [ "//build/config/compiler:no_chromium_code" ]
8790
- build_root = "//third_party/rust/chromium_crates_io/vendor/windows_x86_64_msvc-0.52.6/build.rs"
8891
- build_sources = [ "//third_party/rust/chromium_crates_io/vendor/windows_x86_64_msvc-0.52.6/build.rs" ]
89-
- native_libs = [ "//third_party/rust/chromium_crates_io/vendor/windows_x86_64_msvc-0.52.6/src/../lib/windows.0.52.0.lib" ]
9092
+ build_root = "//third_party/rust/chromium_crates_io/vendor/windows-rs-0.52.0/crates/targets/x86_64_msvc/build.rs"
9193
+ build_sources = [ "//third_party/rust/chromium_crates_io/vendor/windows-rs-0.52.0/crates/targets/x86_64_msvc/build.rs" ]
94+
rustflags = [
95+
"--cap-lints=allow", # Suppress all warnings in crates.io crates
96+
]
97+
- native_libs = [ "//third_party/rust/chromium_crates_io/vendor/windows_x86_64_msvc-0.52.6/src/../lib/windows.0.52.0.lib" ]
9298
+ native_libs = [ "//third_party/rust/chromium_crates_io/vendor/windows-rs-0.52.0/crates/targets/x86_64_msvc/lib/windows.0.52.0.lib" ]
9399

94100
# Only for usage from third-party crates. Add the crate to

0 commit comments

Comments
 (0)