Skip to content

Commit 6c03a3e

Browse files
authored
Merge pull request #520 from teeminus/update
2 parents e1e3f95 + 861e13a commit 6c03a3e

15 files changed

+180
-364
lines changed

.github/actions/stage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function run() {
5555
}
5656
try {
5757
await artifact.uploadArtifact(finalArtifactName, packageList,
58-
'C:\\ungoogled-chromium-windows\\build', {retentionDays: 1, compressionLevel: 0});
58+
'C:\\ungoogled-chromium-windows\\build', {retentionDays: 3, compressionLevel: 0});
5959
break;
6060
} catch (e) {
6161
console.error(`Upload artifact failed: ${e}`);

domain_substitution.list

Lines changed: 132 additions & 65 deletions
Large diffs are not rendered by default.

downloads.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
# `http://prereleases.llvm.org/win-snapshots/LLVM-9.8.7-r123456-win64.exe`
2222
# (link derived from [LLVM Snapshot Builds](http://llvm.org/builds/))
2323
[llvm]
24-
version = 21.1.4
24+
version = 21.1.6
2525
#Uncomment when pre-release version is used.
2626
#url = https://prereleases.llvm.org/win-snapshots/LLVM-%(version)s-win64.exe
2727
#Uncomment the below instead when a new enough stable version of LLVM comes around
2828
url = https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/LLVM-%(version)s-win64.exe
2929
download_filename = LLVM-%(version)s-win64.exe
30-
sha512 = c4240038cba73083f6b33deb6bbe0a581f72c6179ab878f27dbff927ee7334564890054ad5759be41e961f09fead296cfa944777f8fdfe3653ad919710091bee
30+
sha512 = 0e58fa8296abb716f4ca37cb9cd7ef044693a879f589d596685663b061ae17cafa8dd2baffed282a5ee740f56b79eb0ef8cfbe5e8fd49cf7d636657071f23b89
3131
extractor = 7z
3232
output_path = third_party/llvm-build/Release+Asserts
3333

patches/ungoogled-chromium/windows/windows-compile-mini-installer.patch

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

44
--- a/chrome/installer/mini_installer/BUILD.gn
55
+++ b/chrome/installer/mini_installer/BUILD.gn
6-
@@ -192,7 +192,6 @@ action("mini_installer_archive") {
6+
@@ -191,7 +191,6 @@ action("mini_installer_archive") {
77
"//chrome:chrome_dll",
88
"//chrome/browser/extensions/default_extensions",
99
"//chrome/chrome_elf",

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

66
config("clang_revision") {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
]
1212
sources = [
1313
"chrome_content_client.cc",
14-
@@ -372,7 +371,6 @@ static_library("common_lib") {
14+
@@ -370,7 +369,6 @@ static_library("common_lib") {
1515
"conflicts/remote_module_watcher_win.cc",
1616
"conflicts/remote_module_watcher_win.h",
1717
]

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-
@@ -80,32 +80,6 @@ if (is_win && enable_resource_allowlist_
5+
@@ -79,32 +79,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-
@@ -143,17 +117,9 @@ if (!is_android && !is_mac) {
38+
@@ -142,17 +116,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-without-safebrowsing.patch

Lines changed: 21 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-
@@ -5181,7 +5181,6 @@ std::wstring ChromeContentBrowserClient:
20+
@@ -5111,7 +5111,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-
@@ -5277,7 +5276,6 @@ bool ChromeContentBrowserClient::PreSpaw
28+
@@ -5207,7 +5206,6 @@ bool ChromeContentBrowserClient::PreSpaw
2929
case sandbox::mojom::Sandbox::kPrintBackend:
3030
#endif
3131
case sandbox::mojom::Sandbox::kPrintCompositor:
@@ -64,6 +64,25 @@
6464
std::wstring cred_provider_gaia_id;
6565
std::wstring cred_provider_email;
6666

67+
--- a/chrome/browser/ui/safety_hub/abusive_notification_permissions_manager.cc
68+
+++ b/chrome/browser/ui/safety_hub/abusive_notification_permissions_manager.cc
69+
@@ -113,15 +113,7 @@ bool HasShowOriginalSuspiciousNotificati
70+
base::Value stored_value(hcsm->GetWebsiteSetting(
71+
url, url, ContentSettingsType::SUSPICIOUS_NOTIFICATION_SHOW_ORIGINAL));
72+
73+
- if (stored_value.is_none()) {
74+
- return false;
75+
- }
76+
- DCHECK(stored_value.is_dict());
77+
- DCHECK(stored_value.GetDict().contains(
78+
- safe_browsing::kSuspiciousNotificationShowOriginalKey));
79+
- return stored_value.GetDict()
80+
- .FindBool(safe_browsing::kSuspiciousNotificationShowOriginalKey)
81+
- .value_or(false);
82+
+ return false;
83+
}
84+
85+
// Return true if the url should be considered for suspicious content
6786
--- a/components/safe_browsing/buildflags.gni
6887
+++ b/components/safe_browsing/buildflags.gni
6988
@@ -20,6 +20,7 @@ declare_args() {

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-
@@ -506,7 +506,7 @@
31+
@@ -509,7 +509,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-
@@ -543,7 +543,7 @@
40+
@@ -546,7 +546,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-licenses-gn-path.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/tools/licenses/licenses.py
22
+++ b/tools/licenses/licenses.py
3-
@@ -824,7 +824,7 @@ def _GnBinary():
3+
@@ -855,7 +855,7 @@ def _GnBinary():
44
elif sys.platform == 'darwin':
55
subdir = 'mac'
66
elif sys.platform == 'win32':

0 commit comments

Comments
 (0)