Skip to content

Commit 8e0f5d7

Browse files
authored
Merge pull request #482 from teeminus/update
2 parents b10f0f0 + 012014f commit 8e0f5d7

12 files changed

+301
-457
lines changed

build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ def main():
277277
windows_flags = windows_flags.replace('x64', 'x86')
278278
elif args.arm:
279279
windows_flags = windows_flags.replace('x64', 'arm64')
280+
if args.tarball:
281+
windows_flags += '\nchrome_pgo_phase=0\n'
280282
gn_flags += windows_flags
281283
(source_tree / 'out/Default/args.gn').write_text(gn_flags, encoding=ENCODING)
282284

domain_substitution.list

Lines changed: 227 additions & 107 deletions
Large diffs are not rendered by default.

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-
@@ -1683,8 +1683,7 @@ config("compiler_deterministic") {
3+
@@ -1704,8 +1704,7 @@ config("compiler_deterministic") {
44
}
55

66
config("clang_revision") {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
]
1212
sources = [
1313
"all_messages.h",
14-
@@ -374,7 +373,6 @@ static_library("common_lib") {
14+
@@ -375,7 +374,6 @@ static_library("common_lib") {
1515
"conflicts/remote_module_watcher_win.cc",
1616
"conflicts/remote_module_watcher_win.h",
1717
]
@@ -77,7 +77,7 @@
7777
base::expected<base::HeapArray<FactoryAndClsid>, HRESULT>
7878
--- a/chrome/windows_services/elevated_tracing_service/BUILD.gn
7979
+++ b/chrome/windows_services/elevated_tracing_service/BUILD.gn
80-
@@ -94,7 +94,6 @@ source_set("service_lib") {
80+
@@ -95,7 +95,6 @@ source_set("service_lib") {
8181
]
8282
deps = [
8383
":lib",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
--- a/chrome/BUILD.gn
44
+++ b/chrome/BUILD.gn
5-
@@ -81,32 +81,6 @@ if (is_win && enable_resource_allowlist_
5+
@@ -80,32 +80,6 @@ if (is_win && enable_resource_allowlist_
66
_chrome_resource_allowlist = "$target_gen_dir/chrome_resource_allowlist.txt"
77
}
88

@@ -35,7 +35,7 @@
3535
# This does not currently work. See crbug.com/1311822.
3636
# This target exists above chrome and it's main components in the dependency
3737
# tree as a central place to put assert_no_deps annotations. Since this depends
38-
@@ -144,17 +118,9 @@ if (!is_android && !is_mac) {
38+
@@ -143,17 +117,9 @@ if (!is_android && !is_mac) {
3939
# Windows-only deps are OK because chrome_initial uses initialexe/chrome as
4040
# the output name for that platform.
4141
# See crbug.com/1146571.

patches/ungoogled-chromium/windows/windows-fix-building-gn.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
--- a/tools/gn/build/gen.py
3939
+++ b/tools/gn/build/gen.py
40-
@@ -587,6 +587,7 @@ def WriteGNNinja(path, platform, host, o
40+
@@ -588,6 +588,7 @@ def WriteGNNinja(path, platform, host, o
4141
'/D_SCL_SECURE_NO_DEPRECATE',
4242
'/D_UNICODE',
4343
'/D_WIN32_WINNT=0x0A00',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/build/config/clang/BUILD.gn
22
+++ b/build/config/clang/BUILD.gn
3-
@@ -287,8 +287,6 @@ clang_lib("compiler_builtins") {
3+
@@ -289,8 +289,6 @@ clang_lib("compiler_builtins") {
44
} else {
55
assert(false, "unsupported target_platform=$target_platform")
66
}

patches/ungoogled-chromium/windows/windows-fix-building-without-safebrowsing.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"//build:branding_buildflags",
1818
--- a/chrome/browser/chrome_content_browser_client.cc
1919
+++ b/chrome/browser/chrome_content_browser_client.cc
20-
@@ -5009,7 +5009,6 @@ std::wstring ChromeContentBrowserClient:
20+
@@ -5131,7 +5131,6 @@ std::wstring ChromeContentBrowserClient:
2121
#endif
2222
case sandbox::mojom::Sandbox::kPrintCompositor:
2323
case sandbox::mojom::Sandbox::kAudio:
2424
- case sandbox::mojom::Sandbox::kScreenAI:
2525
case sandbox::mojom::Sandbox::kSpeechRecognition:
2626
case sandbox::mojom::Sandbox::kPdfConversion:
2727
case sandbox::mojom::Sandbox::kService:
28-
@@ -5106,7 +5105,6 @@ bool ChromeContentBrowserClient::PreSpaw
28+
@@ -5228,7 +5227,6 @@ bool ChromeContentBrowserClient::PreSpaw
2929
case sandbox::mojom::Sandbox::kPrintBackend:
3030
#endif
3131
case sandbox::mojom::Sandbox::kPrintCompositor:

patches/ungoogled-chromium/windows/windows-fix-command-ids.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// Move window to other user commands
2929
#define IDC_VISIT_DESKTOP_OF_LRU_USER_2 34080
3030
#define IDC_VISIT_DESKTOP_OF_LRU_USER_3 34081
31-
@@ -497,7 +497,7 @@
31+
@@ -498,7 +498,7 @@
3232
#define IDC_MEDIA_ROUTER_TOGGLE_MEDIA_REMOTING 51208
3333

3434
// Context menu items for media toolbar button
@@ -37,7 +37,7 @@
3737
#define IDC_MEDIA_TOOLBAR_CONTEXT_REPORT_CAST_ISSUE 51209
3838
#endif
3939
#define IDC_MEDIA_TOOLBAR_CONTEXT_SHOW_OTHER_SESSIONS 51210
40-
@@ -534,7 +534,7 @@
40+
@@ -535,7 +535,7 @@
4141
#define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS 52411
4242
#define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE_ONCE 52412
4343

patches/ungoogled-chromium/windows/windows-fix-remove-unused-preferences-fields.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
22
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
3-
@@ -1813,9 +1813,6 @@ const PolicyToPreferenceMapEntry kSimple
3+
@@ -1822,9 +1822,6 @@ const PolicyToPreferenceMapEntry kSimple
44
{ key::kRendererAppContainerEnabled,
55
prefs::kRendererAppContainerEnabled,
66
base::Value::Type::BOOLEAN },

0 commit comments

Comments
 (0)