+
diff --git a/patches/chrome-browser-resources-history-history.ts.patch b/patches/chrome-browser-resources-history-history.ts.patch
index 7a56b90b5de9..429d474e45ec 100644
--- a/patches/chrome-browser-resources-history-history.ts.patch
+++ b/patches/chrome-browser-resources-history-history.ts.patch
@@ -1,12 +1,11 @@
diff --git a/chrome/browser/resources/history/history.ts b/chrome/browser/resources/history/history.ts
-index 70742f191d94b436b8be1d55f4c2549d753d66b7..b0d823b5e5a5dee8529923158d5f77d06f39c1a0 100644
+index 70742f191d94b436b8be1d55f4c2549d753d66b7..4eab517cafeee02e5397bf4abb2c904c3bc33ecd 100644
--- a/chrome/browser/resources/history/history.ts
+++ b/chrome/browser/resources/history/history.ts
-@@ -2,6 +2,8 @@
+@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-+import 'chrome://resources/brave/polymer_overriding.js'
+import './brave_overrides/index.js';
import './app.js';
diff --git a/patches/chrome-browser-resources-password_manager-BUILD.gn.patch b/patches/chrome-browser-resources-password_manager-BUILD.gn.patch
new file mode 100644
index 000000000000..ed1bca533fa2
--- /dev/null
+++ b/patches/chrome-browser-resources-password_manager-BUILD.gn.patch
@@ -0,0 +1,10 @@
+diff --git a/chrome/browser/resources/password_manager/BUILD.gn b/chrome/browser/resources/password_manager/BUILD.gn
+index 677c2e90e2b74fce4098f8ae29dadcdcbe9e312b..6d32518dec00ee96c4cc6d8a4c707eee1b482aeb 100644
+--- a/chrome/browser/resources/password_manager/BUILD.gn
++++ b/chrome/browser/resources/password_manager/BUILD.gn
+@@ -134,4 +134,5 @@ build_webui("build") {
+ "$root_gen_dir/chrome/browser/resources/settings_shared/tsc",
+ root_build_dir) ]
+ }
++ import("//brave/browser/resources/password_manager/sources.gni") non_web_component_files += brave_password_manager_non_web_component_files exclude_ts_preprocess_files = brave_password_manager_ts_local_files preprocess_deps = brave_password_manager_preprocess_extra_deps
+ }
diff --git a/patches/chrome-browser-resources-password_manager-password_manager.ts.patch b/patches/chrome-browser-resources-password_manager-password_manager.ts.patch
new file mode 100644
index 000000000000..de517984919e
--- /dev/null
+++ b/patches/chrome-browser-resources-password_manager-password_manager.ts.patch
@@ -0,0 +1,12 @@
+diff --git a/chrome/browser/resources/password_manager/password_manager.ts b/chrome/browser/resources/password_manager/password_manager.ts
+index 00636b8e4f0aabe012d5c4cd4d18c55b7962334c..125db9abd26c25489bf0f932d58237ca46ae96ef 100644
+--- a/chrome/browser/resources/password_manager/password_manager.ts
++++ b/chrome/browser/resources/password_manager/password_manager.ts
+@@ -2,6 +2,7 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+
++import './brave_overrides/index.js';
+ import './password_manager_app.js';
+
+ export {SettingsPrefsElement} from 'chrome://resources/cr_components/settings_prefs/prefs.js';
diff --git a/patches/chrome-browser-resources-password_manager-shared_style.css.patch b/patches/chrome-browser-resources-password_manager-shared_style.css.patch
new file mode 100644
index 000000000000..6c2f0f3852cf
--- /dev/null
+++ b/patches/chrome-browser-resources-password_manager-shared_style.css.patch
@@ -0,0 +1,12 @@
+diff --git a/chrome/browser/resources/password_manager/shared_style.css b/chrome/browser/resources/password_manager/shared_style.css
+index d150fd2b8f713231a4453b9e760ab80b963ebc40..b4817eba5918a5cab874bc95d76b5a9f8ba7163e 100644
+--- a/chrome/browser/resources/password_manager/shared_style.css
++++ b/chrome/browser/resources/password_manager/shared_style.css
+@@ -6,6 +6,7 @@
+ * #type=style
+ * #import=./shared_vars.css.js
+ * #import=chrome://resources/cr_elements/cr_shared_vars.css.js
++ * #include=br-shared-style
+ * #css_wrapper_metadata_end */
+
+ .card {
diff --git a/patches/chrome-browser-resources-settings-BUILD.gn.patch b/patches/chrome-browser-resources-settings-BUILD.gn.patch
index f9f8d9b6c879..19e1cdb8c77e 100644
--- a/patches/chrome-browser-resources-settings-BUILD.gn.patch
+++ b/patches/chrome-browser-resources-settings-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/resources/settings/BUILD.gn b/chrome/browser/resources/settings/BUILD.gn
-index d86fe848aded1075c0285fa1dadda0aab7af7c23..f59c7339b4a4761e04638bb55e334f00c108ed1e 100644
+index e37a0086c59da1c03f3ad0339add090a597b8ec7..445ba9768978e637627dc93d90871f6ede127eee 100644
--- a/chrome/browser/resources/settings/BUILD.gn
+++ b/chrome/browser/resources/settings/BUILD.gn
-@@ -450,4 +450,5 @@ build_webui("build") {
+@@ -437,4 +437,5 @@ build_webui("build") {
"$root_gen_dir/chrome/browser/resources/settings_shared/tsc",
root_build_dir) ]
}
diff --git a/patches/chrome-browser-resources-settings-people_page-sync_controls.ts.patch b/patches/chrome-browser-resources-settings-people_page-sync_controls.ts.patch
index 37ce3f72ee58..77fe4d47677a 100644
--- a/patches/chrome-browser-resources-settings-people_page-sync_controls.ts.patch
+++ b/patches/chrome-browser-resources-settings-people_page-sync_controls.ts.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/settings/people_page/sync_controls.ts b/chrome/browser/resources/settings/people_page/sync_controls.ts
-index 82390e59a178d861873c2b969bcf2a4d7345df40..c3392ddbe48991405579fd44ad1df0163a8edc0c 100644
+index d9cecedc93ded3eecb1913c81710ed4470b94209..a0bbf205aee9291f6f9b34a451091420b38a1d9a 100644
--- a/chrome/browser/resources/settings/people_page/sync_controls.ts
+++ b/chrome/browser/resources/settings/people_page/sync_controls.ts
@@ -118,7 +118,7 @@ export class SettingsSyncControlsElement extends
diff --git a/patches/chrome-browser-resources-settings-privacy_page-personalization_options.ts.patch b/patches/chrome-browser-resources-settings-privacy_page-personalization_options.ts.patch
index 264a62d1bedc..360885070a24 100644
--- a/patches/chrome-browser-resources-settings-privacy_page-personalization_options.ts.patch
+++ b/patches/chrome-browser-resources-settings-privacy_page-personalization_options.ts.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/settings/privacy_page/personalization_options.ts b/chrome/browser/resources/settings/privacy_page/personalization_options.ts
-index 7be2ad2e49fe5544c8534f3f108f1ec8752e7b5d..60130b6f217597ee3a7cc8608dac63bff82c1ae7 100644
+index 4fd564ebb19be9fdb8f545a21e5fe1492313dc0c..d9572759a91d65a09a93dd43f804c1d01b8f6844 100644
--- a/chrome/browser/resources/settings/privacy_page/personalization_options.ts
+++ b/chrome/browser/resources/settings/privacy_page/personalization_options.ts
@@ -71,7 +71,7 @@ export class SettingsPersonalizationOptionsElement extends
diff --git a/patches/chrome-browser-resources-settings-privacy_page-privacy_page.html.patch b/patches/chrome-browser-resources-settings-privacy_page-privacy_page.html.patch
index 5afbb0a554df..50e5c1551da4 100644
--- a/patches/chrome-browser-resources-settings-privacy_page-privacy_page.html.patch
+++ b/patches/chrome-browser-resources-settings-privacy_page-privacy_page.html.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html
-index 7f6f1a5382aff11bf9f1578890402954a98c4826..aa946bb3fa3f7a96fc99e65958a875e7d607b9b8 100644
+index d1c96ab670f42622b85b0f6aa36091a7cbf968bc..a570cb04efcf88666e9c6e236bda9798fbcade66 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -34,6 +34,7 @@
@@ -10,7 +10,7 @@ index 7f6f1a5382aff11bf9f1578890402954a98c4826..aa946bb3fa3f7a96fc99e65958a875e7
@@ -18,7 +18,7 @@ index 7f6f1a5382aff11bf9f1578890402954a98c4826..aa946bb3fa3f7a96fc99e65958a875e7
diff --git a/patches/chrome-browser-resources-settings-privacy_page-privacy_page.ts.patch b/patches/chrome-browser-resources-settings-privacy_page-privacy_page.ts.patch
index 6d25eb1d903b..5f1fd104dae8 100644
--- a/patches/chrome-browser-resources-settings-privacy_page-privacy_page.ts.patch
+++ b/patches/chrome-browser-resources-settings-privacy_page-privacy_page.ts.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.ts b/chrome/browser/resources/settings/privacy_page/privacy_page.ts
-index ea117e5584e2f8e6d0ca46b63fe1b980e58d8d79..d52020e45a4aa72a230adb5eac34b2533df6bf29 100644
+index 76c7d5d0170355daab2a4546da607bf8201af4eb..f7995ceef9a04b10a02f38af07b530d4b815ed4b 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.ts
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.ts
@@ -18,6 +18,7 @@ import '../settings_page/settings_animated_pages.js';
diff --git a/patches/chrome-browser-resources-settings-route.ts.patch b/patches/chrome-browser-resources-settings-route.ts.patch
index 8715a5e93775..0d794f23fd7f 100644
--- a/patches/chrome-browser-resources-settings-route.ts.patch
+++ b/patches/chrome-browser-resources-settings-route.ts.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/settings/route.ts b/chrome/browser/resources/settings/route.ts
-index bc580a9b37080f6468807dc8b2599881671f8d30..0b2afdacaba6ae413c6746e5b3effcb9c636d198 100644
+index f0b4905379d30a14a937b2212c1d2caa8ef50704..114423bb60359171053c1a94e1bc4660e3bd4ae3 100644
--- a/chrome/browser/resources/settings/route.ts
+++ b/chrome/browser/resources/settings/route.ts
@@ -8,6 +8,7 @@ import {loadTimeData} from 'chrome://resources/js/load_time_data.js';
@@ -10,7 +10,7 @@ index bc580a9b37080f6468807dc8b2599881671f8d30..0b2afdacaba6ae413c6746e5b3effcb9
/**
* Add all of the child routes that originate from the privacy route,
* regardless of whether the privacy section under basic or advanced.
-@@ -288,6 +289,7 @@ function createBrowserSettingsRoutes(): SettingsRoutes {
+@@ -278,6 +279,7 @@ function createBrowserSettingsRoutes(): SettingsRoutes {
}
//
}
diff --git a/patches/chrome-browser-resources-settings-router.ts.patch b/patches/chrome-browser-resources-settings-router.ts.patch
index 23196bdcc8de..60203fc04212 100644
--- a/patches/chrome-browser-resources-settings-router.ts.patch
+++ b/patches/chrome-browser-resources-settings-router.ts.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/resources/settings/router.ts b/chrome/browser/resources/settings/router.ts
-index f8b2a426544a1b985fe2e00735fdd8e66458d3ab..bf1178d021516caad6d36cdd6c968eacb23f311e 100644
+index 18d787f7f1a13b7a903021598c442a5147f19cc1..38d83dde5ee1f7b8f783f34994aaf61fc91400fb 100644
--- a/chrome/browser/resources/settings/router.ts
+++ b/chrome/browser/resources/settings/router.ts
-@@ -105,6 +105,7 @@ export interface SettingsRoutes {
+@@ -101,6 +101,7 @@ export interface SettingsRoutes {
SYNC_ADVANCED: Route;
SYSTEM: Route;
TRIGGERED_RESET_DIALOG: Route;
diff --git a/patches/chrome-browser-resources-settings-settings.ts.patch b/patches/chrome-browser-resources-settings-settings.ts.patch
index 0d997d4ed579..dd617671cbc3 100644
--- a/patches/chrome-browser-resources-settings-settings.ts.patch
+++ b/patches/chrome-browser-resources-settings-settings.ts.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/settings/settings.ts b/chrome/browser/resources/settings/settings.ts
-index 3e1e355377ed6eeaab3315050ac4ff6c4fd20403..612f17c08f48a043786c0936d313dbe55189f5ed 100644
+index d8783de1b83335f8dd295e1f53d3c4752a531a5c..ecb90e239e9727a2c0c3ca8585c4ebfe0ea2ea03 100644
--- a/chrome/browser/resources/settings/settings.ts
+++ b/chrome/browser/resources/settings/settings.ts
@@ -2,6 +2,7 @@
diff --git a/patches/chrome-browser-resources-settings-site_settings-constants.ts.patch b/patches/chrome-browser-resources-settings-site_settings-constants.ts.patch
index 57ece3c71a1d..22a33d6dd5f9 100644
--- a/patches/chrome-browser-resources-settings-site_settings-constants.ts.patch
+++ b/patches/chrome-browser-resources-settings-site_settings-constants.ts.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/resources/settings/site_settings/constants.ts b/chrome/browser/resources/settings/site_settings/constants.ts
-index ef3a8845cf320aafa20be168eca4d0f970199119..52d94449126d28f6aa4be753aa61194bb8419879 100644
+index 42a580a7eed0f49fc7251ef867c721a04a37d0bf..00331b98d9bd28c9ab11373b52edc4bd2a35d742 100644
--- a/chrome/browser/resources/settings/site_settings/constants.ts
+++ b/chrome/browser/resources/settings/site_settings/constants.ts
-@@ -52,6 +52,7 @@ export enum ContentSettingsTypes {
+@@ -53,6 +53,7 @@ export enum ContentSettingsTypes {
// are used everywhere where ContentSettingsTypes is used in JS.
PDF_DOCUMENTS = 'pdfDocuments',
SITE_DATA = 'site-data',
diff --git a/patches/chrome-browser-resources-settings-site_settings_page-site_settings_page.ts.patch b/patches/chrome-browser-resources-settings-site_settings_page-site_settings_page.ts.patch
index 38c9d13725a2..212dc780bb11 100644
--- a/patches/chrome-browser-resources-settings-site_settings_page-site_settings_page.ts.patch
+++ b/patches/chrome-browser-resources-settings-site_settings_page-site_settings_page.ts.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/settings/site_settings_page/site_settings_page.ts b/chrome/browser/resources/settings/site_settings_page/site_settings_page.ts
-index eddbe04e23c927a69a637a7549c87c33cd582b75..daf2ebfb75402ebff103c09201d95ffcc7aa2849 100644
+index e06784e40d55666b75bb3e4207ce55366cb9c84b..415f8966d3175fa012728855719b89d5d831d175 100644
--- a/chrome/browser/resources/settings/site_settings_page/site_settings_page.ts
+++ b/chrome/browser/resources/settings/site_settings_page/site_settings_page.ts
@@ -8,6 +8,7 @@
diff --git a/patches/chrome-browser-resources-signin-profile_customization-profile_customization_app.ts.patch b/patches/chrome-browser-resources-signin-profile_customization-profile_customization_app.ts.patch
index 3b42c22fee53..621bde1d6b24 100644
--- a/patches/chrome-browser-resources-signin-profile_customization-profile_customization_app.ts.patch
+++ b/patches/chrome-browser-resources-signin-profile_customization-profile_customization_app.ts.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/resources/signin/profile_customization/profile_customization_app.ts b/chrome/browser/resources/signin/profile_customization/profile_customization_app.ts
-index 6a2576a30727b155ba6643bc9914cc95dea16f63..a159bc3a9a341b1fd749578fd489315e7bcfc0fb 100644
+index 3546cf3acdb7847c053b01005a1b3f154c441ef4..59983a4b271ff8e6513eb66c070a34f74f825702 100644
--- a/chrome/browser/resources/signin/profile_customization/profile_customization_app.ts
+++ b/chrome/browser/resources/signin/profile_customization/profile_customization_app.ts
@@ -2,6 +2,7 @@
@@ -8,5 +8,5 @@ index 6a2576a30727b155ba6643bc9914cc95dea16f63..a159bc3a9a341b1fd749578fd489315e
+import 'chrome://resources/brave/polymer_overriding.js';
import 'chrome://resources/cr_components/customize_themes/customize_themes.js';
+ import 'chrome://resources/cr_components/theme_color_picker/theme_color_picker.js';
import 'chrome://resources/cr_elements/cr_button/cr_button.js';
- import 'chrome://resources/cr_elements/cr_input/cr_input.js';
diff --git a/patches/chrome-browser-resources-signin-profile_picker-profile_creation_flow-local_profile_customization.html.patch b/patches/chrome-browser-resources-signin-profile_picker-profile_creation_flow-local_profile_customization.html.patch
deleted file mode 100644
index d5dbc8d7b30e..000000000000
--- a/patches/chrome-browser-resources-signin-profile_picker-profile_creation_flow-local_profile_customization.html.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/chrome/browser/resources/signin/profile_picker/profile_creation_flow/local_profile_customization.html b/chrome/browser/resources/signin/profile_picker/profile_creation_flow/local_profile_customization.html
-index a376837bf66ec95609e0e5f3763fdf694d135b04..7b701374696c423df986d5c76428aee65b332354 100644
---- a/chrome/browser/resources/signin/profile_picker/profile_creation_flow/local_profile_customization.html
-+++ b/chrome/browser/resources/signin/profile_picker/profile_creation_flow/local_profile_customization.html
-@@ -169,6 +169,7 @@
- #doneButton {
- width : 32px;
- }
-+ .banner { visibility: hidden; }
-
- @media (forced-colors: none) {
- #backButton {
diff --git a/patches/chrome-browser-resources-signin-profile_picker-profile_picker_main_view.ts.patch b/patches/chrome-browser-resources-signin-profile_picker-profile_picker_main_view.ts.patch
index 554b230e25e5..e774767d8d8e 100644
--- a/patches/chrome-browser-resources-signin-profile_picker-profile_picker_main_view.ts.patch
+++ b/patches/chrome-browser-resources-signin-profile_picker-profile_picker_main_view.ts.patch
@@ -1,12 +1,12 @@
diff --git a/chrome/browser/resources/signin/profile_picker/profile_picker_main_view.ts b/chrome/browser/resources/signin/profile_picker/profile_picker_main_view.ts
-index 0f0d5484537291e379d2ac041b4662df9e7320da..69c51f2e4031000b211473c78282892db23801d9 100644
+index a784f86abf49545002b951a890a4416a6f26b614..fae8a847f091a4a5807833b032aaa5211530431d 100644
--- a/chrome/browser/resources/signin/profile_picker/profile_picker_main_view.ts
+++ b/chrome/browser/resources/signin/profile_picker/profile_picker_main_view.ts
-@@ -95,6 +95,7 @@ export class ProfilePickerMainViewElement extends
+@@ -101,6 +101,7 @@ export class ProfilePickerMainViewElement extends
if (!isProfileCreationAllowed()) {
this.$.addProfile.style.display = 'none';
}
+ this.$.addProfile.style.borderRadius = '8px';
this.addEventListener('view-enter-finish', this.onViewEnterFinish_);
- }
+
diff --git a/patches/chrome-browser-safe_browsing-download_protection-check_client_download_request_base.cc.patch b/patches/chrome-browser-safe_browsing-download_protection-check_client_download_request_base.cc.patch
index 5e6e99fa2e25..8342cdd6f2f3 100644
--- a/patches/chrome-browser-safe_browsing-download_protection-check_client_download_request_base.cc.patch
+++ b/patches/chrome-browser-safe_browsing-download_protection-check_client_download_request_base.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc b/chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc
-index b2dfcf36935bf11bb0eaf8b4f00588a37fee488a..fc3b731acb03b7fc07f74f2dbd2956e7d7deafb2 100644
+index bc867180d9429702b7613a3c2f7789949c936ea1..0e418fcf8b5782f81733f89b8433fe47815b2068 100644
--- a/chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc
+++ b/chrome/browser/safe_browsing/download_protection/check_client_download_request_base.cc
-@@ -296,6 +296,7 @@ void CheckClientDownloadRequestBase::OnRequestBuilt(
+@@ -290,6 +290,7 @@ void CheckClientDownloadRequestBase::OnRequestBuilt(
std::unique_ptr request) {
client_download_request_ = std::move(request);
SanitizeRequest();
diff --git a/patches/chrome-browser-signin-account_consistency_mode_manager.cc.patch b/patches/chrome-browser-signin-account_consistency_mode_manager.cc.patch
index 6ff57a09c668..5456954e19d2 100644
--- a/patches/chrome-browser-signin-account_consistency_mode_manager.cc.patch
+++ b/patches/chrome-browser-signin-account_consistency_mode_manager.cc.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/signin/account_consistency_mode_manager.cc b/chrome/browser/signin/account_consistency_mode_manager.cc
-index a7853cc014069560f3f21077243599d32364a4e5..5fd431fd299fbf8f8ab86c590854885c6f325f05 100644
+index c495783de021a0984e30edaef6227cdcbf783839..2704a2d7b09f5b2f6845deb080fc014f2c0df2ab 100644
--- a/chrome/browser/signin/account_consistency_mode_manager.cc
+++ b/chrome/browser/signin/account_consistency_mode_manager.cc
@@ -185,6 +185,7 @@ AccountConsistencyModeManager::ComputeAccountConsistencyMethod(
diff --git a/patches/chrome-browser-sync-sync_service_factory.cc.patch b/patches/chrome-browser-sync-sync_service_factory.cc.patch
index 88e52212a4cf..dc293121fb5b 100644
--- a/patches/chrome-browser-sync-sync_service_factory.cc.patch
+++ b/patches/chrome-browser-sync-sync_service_factory.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/sync/sync_service_factory.cc b/chrome/browser/sync/sync_service_factory.cc
-index 4d6fd63391bfdc8410a99c28e1c5fe752750ebb7..1ff9a9c392a16596645ae8007a95fe8c3fef28aa 100644
+index b86e3e287da427eb01465fba438e5c54a0e49799..5444ccfdc3c8e9f72cb88ef735f326c83ecf8608 100644
--- a/chrome/browser/sync/sync_service_factory.cc
+++ b/chrome/browser/sync/sync_service_factory.cc
-@@ -165,7 +165,7 @@ std::unique_ptr BuildSyncService(
+@@ -170,7 +170,7 @@ std::unique_ptr BuildSyncService(
}
auto sync_service =
diff --git a/patches/chrome-browser-themes-theme_service_factory.cc.patch b/patches/chrome-browser-themes-theme_service_factory.cc.patch
index 84137958474a..9f2578ad129b 100644
--- a/patches/chrome-browser-themes-theme_service_factory.cc.patch
+++ b/patches/chrome-browser-themes-theme_service_factory.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/themes/theme_service_factory.cc b/chrome/browser/themes/theme_service_factory.cc
-index ebf39789109595eb74c7b1f10f2e9d01f4c0b01a..f97aa7deeacf9bbaa2bd84306d9686b532fe57b5 100644
+index 879bbeef4037b9292e6a563ee9deb3c73dabc247..5c149fce515c27f0177ec1c1bcb36451c950cdb7 100644
--- a/chrome/browser/themes/theme_service_factory.cc
+++ b/chrome/browser/themes/theme_service_factory.cc
-@@ -102,6 +102,7 @@ ThemeServiceFactory::~ThemeServiceFactory() = default;
+@@ -103,6 +103,7 @@ ThemeServiceFactory::~ThemeServiceFactory() = default;
KeyedService* ThemeServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const {
diff --git a/patches/chrome-browser-ui-BUILD.gn.patch b/patches/chrome-browser-ui-BUILD.gn.patch
index 5754933d39bb..fc965dfa2ccf 100644
--- a/patches/chrome-browser-ui-BUILD.gn.patch
+++ b/patches/chrome-browser-ui-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
-index d7bb16c28835bbfdf1d095ed743f621af5e2613f..5842a7e8588802604cec5b89215c136fbe9c5ce0 100644
+index cc4fbda7ddfa830909de196359217c82182331de..f725e33eb318d880b6001d64396151b77fc2ebf0 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
-@@ -787,6 +787,7 @@ static_library("ui") {
+@@ -694,6 +694,7 @@ static_library("ui") {
"//chrome/browser/profiling_host",
"//chrome/browser/ui/webui:configs",
]
@@ -10,7 +10,7 @@ index d7bb16c28835bbfdf1d095ed743f621af5e2613f..5842a7e8588802604cec5b89215c136f
if (enable_vr && is_win) {
deps += [ "//chrome/browser/vr:vr_base" ]
-@@ -4257,10 +4258,13 @@ static_library("ui") {
+@@ -4296,10 +4297,13 @@ static_library("ui") {
]
deps += [ "//chrome/updater/app/server/win:updater_legacy_idl_idl" ]
} else {
diff --git a/patches/chrome-browser-ui-android-appmenu-internal-BUILD.gn.patch b/patches/chrome-browser-ui-android-appmenu-internal-BUILD.gn.patch
index 7501b23c706d..7c93dcd52203 100644
--- a/patches/chrome-browser-ui-android-appmenu-internal-BUILD.gn.patch
+++ b/patches/chrome-browser-ui-android-appmenu-internal-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/android/appmenu/internal/BUILD.gn b/chrome/browser/ui/android/appmenu/internal/BUILD.gn
-index 9a6496a110a8b5c8fc0eb7792eae158f1b87c8d5..814e8196b35bc45fa2e0f62a8822559e2ecf3ced 100644
+index 950d1b91a63ffb5d809b463e71e3a0bc3598b3a7..0ec2d6076f7de292cae054ab3ee8007cad48d464 100644
--- a/chrome/browser/ui/android/appmenu/internal/BUILD.gn
+++ b/chrome/browser/ui/android/appmenu/internal/BUILD.gn
@@ -21,6 +21,7 @@ android_library("java") {
diff --git a/patches/chrome-browser-ui-android-appmenu-internal-java-src-org-chromium-chrome-browser-ui-appmenu-AppMenu.java.patch b/patches/chrome-browser-ui-android-appmenu-internal-java-src-org-chromium-chrome-browser-ui-appmenu-AppMenu.java.patch
index b6563af94c5d..c3ce6984b1b7 100644
--- a/patches/chrome-browser-ui-android-appmenu-internal-java-src-org-chromium-chrome-browser-ui-appmenu-AppMenu.java.patch
+++ b/patches/chrome-browser-ui-android-appmenu-internal-java-src-org-chromium-chrome-browser-ui-appmenu-AppMenu.java.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/android/appmenu/internal/java/src/org/chromium/chrome/browser/ui/appmenu/AppMenu.java b/chrome/browser/ui/android/appmenu/internal/java/src/org/chromium/chrome/browser/ui/appmenu/AppMenu.java
-index 726e0f37df49b810365464eb41315cc5bf1cea5c..177b7f3dc52d44ac461d595ecdb6d5bef2754ea2 100644
+index 270267ef3fdd1680666fb757341b4b28e9bcd88b..c129c8542b7a3fe0251faf79702ed960e1c8a92e 100644
--- a/chrome/browser/ui/android/appmenu/internal/java/src/org/chromium/chrome/browser/ui/appmenu/AppMenu.java
+++ b/chrome/browser/ui/android/appmenu/internal/java/src/org/chromium/chrome/browser/ui/appmenu/AppMenu.java
@@ -219,6 +219,7 @@ class AppMenu implements OnItemClickListener, OnKeyListener, AppMenuClickHandler
diff --git a/patches/chrome-browser-ui-android-toolbar-BUILD.gn.patch b/patches/chrome-browser-ui-android-toolbar-BUILD.gn.patch
index 3a99bab39b36..653e90635be5 100644
--- a/patches/chrome-browser-ui-android-toolbar-BUILD.gn.patch
+++ b/patches/chrome-browser-ui-android-toolbar-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/android/toolbar/BUILD.gn b/chrome/browser/ui/android/toolbar/BUILD.gn
-index 605b0ecb320195780296f59e28ec0a74707b4a91..0a969a3eccf60fdcd657832d22276b70db936bc2 100644
+index 74a50a599c2a5af1508e449a67be91adc7b865e1..3bc269d5c78fc376e9a557855e056f2b84548ea4 100644
--- a/chrome/browser/ui/android/toolbar/BUILD.gn
+++ b/chrome/browser/ui/android/toolbar/BUILD.gn
@@ -116,6 +116,7 @@ android_library("java") {
diff --git a/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarPhone.java.patch b/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarPhone.java.patch
index ba365b44c5d2..fe5f69c72b12 100644
--- a/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarPhone.java.patch
+++ b/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarPhone.java.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java
-index 9552479e7b8ed48d3ba3270b5e331160c14fa3ae..8bd4efb83f5b960f65f5bc1bf1e8732d6c76999a 100644
+index a8da4613ffecb0084870a6399a265de2ec7323ac..2563251f0b56941deb65d811ece74d75bdf49284 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarPhone.java
-@@ -389,6 +389,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
+@@ -397,6 +397,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
if (mOptionalButtonCoordinator != null) {
mOptionalButtonCoordinator.setBackgroundColorFilter(color);
}
@@ -10,7 +10,7 @@ index 9552479e7b8ed48d3ba3270b5e331160c14fa3ae..8bd4efb83f5b960f65f5bc1bf1e8732d
}
private void updateModernLocationBarCorners() {
-@@ -560,6 +561,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
+@@ -568,6 +569,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
EventConstants.PARTNER_HOME_PAGE_BUTTON_PRESSED);
}
}
@@ -18,7 +18,7 @@ index 9552479e7b8ed48d3ba3270b5e331160c14fa3ae..8bd4efb83f5b960f65f5bc1bf1e8732d
}
@Override
-@@ -1011,6 +1013,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
+@@ -1019,6 +1021,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
* New Tab Page.
*/
private void updateLocationBarLayoutForExpansionAnimation() {
@@ -26,7 +26,7 @@ index 9552479e7b8ed48d3ba3270b5e331160c14fa3ae..8bd4efb83f5b960f65f5bc1bf1e8732d
TraceEvent.begin("ToolbarPhone.updateLocationBarLayoutForExpansionAnimation");
if (isInTabSwitcherMode()) return;
-@@ -1333,6 +1336,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
+@@ -1358,6 +1361,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
canvas.restore();
}
@@ -34,7 +34,7 @@ index 9552479e7b8ed48d3ba3270b5e331160c14fa3ae..8bd4efb83f5b960f65f5bc1bf1e8732d
// Draw the tab stack button and associated text if necessary.
if (mTabSwitcherAnimationTabStackDrawable != null && mToggleTabStackButton != null
&& mUrlExpansionFraction != 1f) {
-@@ -2086,6 +2090,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
+@@ -2111,6 +2115,7 @@ public class ToolbarPhone extends ToolbarLayout implements OnClickListener, TabC
} else {
populateUrlClearExpansionAnimatorSet(animators);
}
diff --git a/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarTablet.java.patch b/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarTablet.java.patch
index 085800954f2c..634cc98955ed 100644
--- a/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarTablet.java.patch
+++ b/patches/chrome-browser-ui-android-toolbar-java-src-org-chromium-chrome-browser-toolbar-top-ToolbarTablet.java.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarTablet.java b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarTablet.java
-index ac497a8f2ce78152f3d5cab8df2d1961ec357545..28c2d06786a6b3475df6f79d1d76477f52aa9354 100644
+index ba62ac8e2b7e70109d30cf45a78d819af708d025..739bf1be65effc4c8660a1e6a94cb93d671fcd5f 100644
--- a/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarTablet.java
+++ b/chrome/browser/ui/android/toolbar/java/src/org/chromium/chrome/browser/toolbar/top/ToolbarTablet.java
@@ -375,10 +375,12 @@ public class ToolbarTablet
diff --git a/patches/chrome-browser-ui-browser.cc.patch b/patches/chrome-browser-ui-browser.cc.patch
index b8446d39a894..f7de5c7d5e2e 100644
--- a/patches/chrome-browser-ui-browser.cc.patch
+++ b/patches/chrome-browser-ui-browser.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
-index 9125b6d7e3e8771458eaa1675bf0dac8f53f7be2..7f8f6c43ba5d00d50193f62f3c92c2004e13b364 100644
+index c5aefe534dcd1a26cb9faef723e832b95b27eca4..a29ed9ca173f303cdee0456c049d77a8a8ff07d4 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
-@@ -452,6 +452,7 @@ Browser* Browser::Create(const CreateParams& params) {
+@@ -446,6 +446,7 @@ Browser* Browser::Create(const CreateParams& params) {
// not possible, e.g. using the wrong profile or during shutdown. The caller
// should handle this; see e.g. crbug.com/1141608 and crbug.com/1261628.
CHECK_EQ(CreationStatus::kOk, GetCreationStatusForProfile(params.profile));
@@ -10,7 +10,7 @@ index 9125b6d7e3e8771458eaa1675bf0dac8f53f7be2..7f8f6c43ba5d00d50193f62f3c92c200
return new Browser(params);
}
-@@ -462,7 +463,7 @@ Browser::Browser(const CreateParams& params)
+@@ -456,7 +457,7 @@ Browser::Browser(const CreateParams& params)
window_(nullptr),
tab_strip_model_delegate_(
std::make_unique(this)),
diff --git a/patches/chrome-browser-ui-browser_navigator.cc.patch b/patches/chrome-browser-ui-browser_navigator.cc.patch
index cd3e922e61f8..683214ae6f91 100644
--- a/patches/chrome-browser-ui-browser_navigator.cc.patch
+++ b/patches/chrome-browser-ui-browser_navigator.cc.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
-index d4f4ba7efd1becb6e4e68ee363bb466d293a48a6..5e9642a73d792bcba7a1a989fd1626c8dd7b5583 100644
+index 88edd87bcb2d0bb6eb0cb2d9d9b281d6655cbb18..a7ca18e18acd35a8cb95b843ac24a1b2bcedf102 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -590,6 +590,7 @@ base::WeakPtr Navigate(NavigateParams* params) {
@@ -10,7 +10,7 @@ index d4f4ba7efd1becb6e4e68ee363bb466d293a48a6..5e9642a73d792bcba7a1a989fd1626c8
// Open System Apps in their standalone window if necessary.
// TODO(crbug.com/1096345): Remove this code after we integrate with intent
-@@ -896,6 +897,7 @@ base::WeakPtr Navigate(NavigateParams* params) {
+@@ -910,6 +911,7 @@ base::WeakPtr Navigate(NavigateParams* params) {
bool IsHostAllowedInIncognito(const GURL& url) {
std::string scheme = url.scheme();
base::StringPiece host = url.host_piece();
diff --git a/patches/chrome-browser-ui-browser_ui_prefs.cc.patch b/patches/chrome-browser-ui-browser_ui_prefs.cc.patch
index 0bce05c84e74..7bfb138221ad 100644
--- a/patches/chrome-browser-ui-browser_ui_prefs.cc.patch
+++ b/patches/chrome-browser-ui-browser_ui_prefs.cc.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
-index 31af7b49a5d3f03a353df160050fabe84d48ed7a..df676d6c1faba5bf97e0a8e3a646502a4fce6c0f 100644
+index 28732e323ec2e105bcd6675e9e339d8343f21c86..e3c6a53062a02a3b16f445b8d8ab634a0c4e09ba 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -78,7 +78,7 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
diff --git a/patches/chrome-browser-ui-chrome_pages.cc.patch b/patches/chrome-browser-ui-chrome_pages.cc.patch
index a88732a5c35a..7aeac58fc15f 100644
--- a/patches/chrome-browser-ui-chrome_pages.cc.patch
+++ b/patches/chrome-browser-ui-chrome_pages.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/chrome_pages.cc b/chrome/browser/ui/chrome_pages.cc
-index a5466937ff77f6591896919a2df969b833786ae4..be4d2e7ac9d003887a72b2037f358036fe0eb638 100644
+index b36ca5df10936fa6972d1e41adc769b0ad7a0b06..3ea029a73dee70ff8e3f5d678899fadfbd205f99 100644
--- a/chrome/browser/ui/chrome_pages.cc
+++ b/chrome/browser/ui/chrome_pages.cc
-@@ -340,7 +340,7 @@ void ShowSlow(Browser* browser) {
+@@ -344,7 +344,7 @@ void ShowSlow(Browser* browser) {
#endif
}
diff --git a/patches/chrome-browser-ui-cocoa-main_menu_builder.mm.patch b/patches/chrome-browser-ui-cocoa-main_menu_builder.mm.patch
index 79ecfef87e9c..0f71719b0250 100644
--- a/patches/chrome-browser-ui-cocoa-main_menu_builder.mm.patch
+++ b/patches/chrome-browser-ui-cocoa-main_menu_builder.mm.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/cocoa/main_menu_builder.mm b/chrome/browser/ui/cocoa/main_menu_builder.mm
-index 710d4da0e72f99ecb7abbe758b8b4a5acd89a9fe..4f47c4059222010e45c46754cc693d8e2611dad2 100644
+index 698dc218f583dd0516f2deb386e2f0befa1290ef..6562e010879266b137bb57845aaf75da8259d2f3 100644
--- a/chrome/browser/ui/cocoa/main_menu_builder.mm
+++ b/chrome/browser/ui/cocoa/main_menu_builder.mm
-@@ -113,6 +113,7 @@ NSMenuItem* BuildFileMenu(NSApplication* nsapp,
+@@ -109,6 +109,7 @@ NSMenuItem* BuildFileMenu(NSApplication* nsapp,
Item(IDS_NEW_INCOGNITO_WINDOW_MAC)
.command_id(IDC_NEW_INCOGNITO_WINDOW)
.remove_if(is_pwa),
@@ -10,7 +10,7 @@ index 710d4da0e72f99ecb7abbe758b8b4a5acd89a9fe..4f47c4059222010e45c46754cc693d8e
Item(IDS_REOPEN_CLOSED_TABS_MAC)
.command_id(IDC_RESTORE_TAB)
.remove_if(is_pwa),
-@@ -483,6 +484,7 @@ NSMenuItem* BuildHelpMenu(NSApplication* nsapp,
+@@ -479,6 +480,7 @@ NSMenuItem* BuildHelpMenu(NSApplication* nsapp,
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
Item(IDS_FEEDBACK_MAC).command_id(IDC_FEEDBACK),
#endif
diff --git a/patches/chrome-browser-ui-color-BUILD.gn.patch b/patches/chrome-browser-ui-color-BUILD.gn.patch
index b26ec6d6b614..ec73b7ff5726 100644
--- a/patches/chrome-browser-ui-color-BUILD.gn.patch
+++ b/patches/chrome-browser-ui-color-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/color/BUILD.gn b/chrome/browser/ui/color/BUILD.gn
-index 3dba3ad26c4770bfe4320625357b05b49f0e9c46..7a3db7510317c1c59af938d028b6da8e0d8d65f2 100644
+index 0b42bdc5e5e818deb52bc7fe5d476401bcbf77e9..245ad0a93320e5bce088bb195d19df2d0a05f567 100644
--- a/chrome/browser/ui/color/BUILD.gn
+++ b/chrome/browser/ui/color/BUILD.gn
-@@ -53,6 +53,7 @@ source_set("mixers") {
+@@ -57,6 +57,7 @@ source_set("mixers") {
"//ui/color:color",
"//ui/color:mixers",
]
diff --git a/patches/chrome-browser-ui-extensions-icon_with_badge_image_source.cc.patch b/patches/chrome-browser-ui-extensions-icon_with_badge_image_source.cc.patch
index 319582552ab7..1cc03e1230d9 100644
--- a/patches/chrome-browser-ui-extensions-icon_with_badge_image_source.cc.patch
+++ b/patches/chrome-browser-ui-extensions-icon_with_badge_image_source.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/extensions/icon_with_badge_image_source.cc b/chrome/browser/ui/extensions/icon_with_badge_image_source.cc
-index f0be13b7a0a1f7644bbca96041289115a75f1385..ca227b463aedf3bbb6effa8b93327fa941363a47 100644
+index 2a4de33fb97a91c8835ff9e171946dedbcb96c4a..b1def6b8dc9f48cac528bb0893e609ccbb1fbc6c 100644
--- a/chrome/browser/ui/extensions/icon_with_badge_image_source.cc
+++ b/chrome/browser/ui/extensions/icon_with_badge_image_source.cc
-@@ -171,6 +171,7 @@ void IconWithBadgeImageSource::Draw(gfx::Canvas* canvas) {
+@@ -190,6 +190,7 @@ void IconWithBadgeImageSource::Draw(gfx::Canvas* canvas) {
gfx::ImageSkiaRep rep = skia.GetRepresentation(canvas->image_scale());
if (rep.scale() != canvas->image_scale()) {
skia.AddRepresentation(
@@ -10,7 +10,7 @@ index f0be13b7a0a1f7644bbca96041289115a75f1385..ca227b463aedf3bbb6effa8b93327fa9
ScaleImageSkiaRep(rep, extensions::ExtensionAction::ActionIconSize(),
canvas->image_scale()));
}
-@@ -181,6 +182,7 @@ void IconWithBadgeImageSource::Draw(gfx::Canvas* canvas) {
+@@ -200,6 +201,7 @@ void IconWithBadgeImageSource::Draw(gfx::Canvas* canvas) {
(size().width() - extensions::ExtensionAction::ActionIconSize()) / 2.0);
int y_offset = std::floor(
(size().height() - extensions::ExtensionAction::ActionIconSize()) / 2.0);
diff --git a/patches/chrome-browser-ui-startup-startup_browser_creator_impl.cc.patch b/patches/chrome-browser-ui-startup-startup_browser_creator_impl.cc.patch
index 1021e8e213f5..df179f90052b 100644
--- a/patches/chrome-browser-ui-startup-startup_browser_creator_impl.cc.patch
+++ b/patches/chrome-browser-ui-startup-startup_browser_creator_impl.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
-index acc14f6a6d94a860f1ddf4022923a8f64d7f4dd6..c5522201cefc6ea3a068509a8b813a08861af9af 100644
+index d298f64756f263e7ad61573f33de1da35fa4883a..19ea349d295aaa273d898db7111e3601738cd652 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
-@@ -395,6 +395,7 @@ StartupBrowserCreatorImpl::DetermineURLsAndLaunch(
+@@ -396,6 +396,7 @@ StartupBrowserCreatorImpl::DetermineURLsAndLaunch(
welcome_enabled =
welcome::IsEnabled(profile_) && welcome::HasModulesToShow(profile_);
#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
diff --git a/patches/chrome-browser-ui-tab_helpers.cc.patch b/patches/chrome-browser-ui-tab_helpers.cc.patch
index 9f904af7814c..359173df7a96 100644
--- a/patches/chrome-browser-ui-tab_helpers.cc.patch
+++ b/patches/chrome-browser-ui-tab_helpers.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
-index b2b6330f5dbe5781919be02e933d1a115aef0399..a0b0fe8766451347c5901fe58cb635aed3e9df77 100644
+index 1ec9817a39d4a15fe1b97d23dd5d0898133756ed..2cf3fa328035d0b7f4d8bab9ecdf081856f98b0a 100644
--- a/chrome/browser/ui/tab_helpers.cc
+++ b/chrome/browser/ui/tab_helpers.cc
-@@ -713,4 +713,5 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
+@@ -743,4 +743,5 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
// This is common code for all of us. PLEASE DO YOUR PART to keep it tidy and
// organized.
diff --git a/patches/chrome-browser-ui-tabs-tab_strip_model.h.patch b/patches/chrome-browser-ui-tabs-tab_strip_model.h.patch
index f1be36d75024..94ca5e004976 100644
--- a/patches/chrome-browser-ui-tabs-tab_strip_model.h.patch
+++ b/patches/chrome-browser-ui-tabs-tab_strip_model.h.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/tabs/tab_strip_model.h b/chrome/browser/ui/tabs/tab_strip_model.h
-index 0f19f2bbd945a49e3c5dce182fe6de16775e4c21..f83e4c13cada2be0b8b28f723c74cdcd41d918d3 100644
+index a584cad57ba3264f944b180072613d61cc201207..455a4f573d9198ef1b38721f67217dafb58187ae 100644
--- a/chrome/browser/ui/tabs/tab_strip_model.h
+++ b/chrome/browser/ui/tabs/tab_strip_model.h
-@@ -581,6 +581,7 @@ class TabStripModel : public TabGroupController {
+@@ -582,6 +582,7 @@ class TabStripModel : public TabGroupController {
// Serialise this object into a trace.
void WriteIntoTrace(perfetto::TracedValue context) const;
diff --git a/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model.cc.patch b/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model.cc.patch
index fe0c4f551a4a..23dfb5093e48 100644
--- a/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model.cc.patch
+++ b/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model.cc.patch
@@ -1,13 +1,12 @@
diff --git a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
-index e698cc345ad9c148382c431a07e12bac071d2237..dbb293dfeecccb465e8406768c8282ea32ae3608 100644
+index 3360fdefa3d26a7cc323d57743b02849d920ec2d..a5c4af887c48f11f7cffca56fc53d4263785a444 100644
--- a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
+++ b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc
-@@ -438,6 +438,8 @@ void RecentTabsSubMenuModel::BuildTabsFromOtherDevices() {
- k < std::min(tabs_in_session.size(), kMaxTabsPerSessionToShow); ++k) {
- BuildOtherDevicesTabItem(session_tag, *tabs_in_session[k]);
- } // for all tabs in one session
-+
-+ BRAVE_BUILD_TABS_FROM_OTHER_DEVICES
+@@ -472,6 +472,7 @@ void RecentTabsSubMenuModel::BuildTabsFromOtherDevices() {
+ ++k) {
+ BuildOtherDevicesTabItem(this, session_tag, *tabs_in_session[k]);
+ } // for all tabs in one session
++ BRAVE_BUILD_TABS_FROM_OTHER_DEVICES
+ }
++num_sessions_added;
} // for all sessions
-
diff --git a/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model.h.patch b/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model.h.patch
deleted file mode 100644
index edcc5f0c2b07..000000000000
--- a/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model.h.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h
-index c39400b0dfcad06a4061da7bb3933691667dbf1e..2b9fe25a68efa941d92cb5131dbf63b7777bcbeb 100644
---- a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h
-+++ b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h
-@@ -78,6 +78,7 @@ class RecentTabsSubMenuModel : public ui::SimpleMenuModel,
- ui::Accelerator* accelerator) const override;
- void ExecuteCommand(int command_id, int event_flags) override;
-
-+ BRAVE_RECENT_TABS_SUB_MENU_MODEL_H_
- private:
- struct TabNavigationItem;
- using TabNavigationItems = std::map;
diff --git a/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model_unittest.cc.patch b/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model_unittest.cc.patch
index cf1547aa0353..1beebee606c1 100644
--- a/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model_unittest.cc.patch
+++ b/patches/chrome-browser-ui-toolbar-recent_tabs_sub_menu_model_unittest.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
-index bfaa95d9bc1302d872b42f5c9750b36ea95c6a5f..319bc449e57307c471eb5f9fbab8b9687b10c5f1 100644
+index b12ca875746ef64c05cbc9a1de0769a8f3c65f47..b6631a139856938ce38c81d8ddefe0e3899d0ccb 100644
--- a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
-@@ -554,6 +554,7 @@ TEST_F(RecentTabsSubMenuModelTest, MaxTabsPerSessionAndRecency) {
+@@ -612,6 +612,7 @@ TEST_F(RecentTabsSubMenuModelTest, MaxTabsPerSessionAndRecency) {
{ui::MenuModel::TYPE_COMMAND, true}, //
// max tabs per sessions is 4, so only the 4 most tabs will show,
// independent of which window they came from.
diff --git a/patches/chrome-browser-ui-views-bookmarks-bookmark_bar_view.cc.patch b/patches/chrome-browser-ui-views-bookmarks-bookmark_bar_view.cc.patch
index 6b99db0bb243..82fab4dedfd1 100644
--- a/patches/chrome-browser-ui-views-bookmarks-bookmark_bar_view.cc.patch
+++ b/patches/chrome-browser-ui-views-bookmarks-bookmark_bar_view.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
-index a5782751aa88915fe994c8efd2268ec1670b08e6..188941480c6f8bde7bef226ffd31df0759898ca6 100644
+index d29e63dcccce0d71542febb1144a6611e16d2957..9fdccb7619d79a972332fea547e1a31b839ef1e9 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
-@@ -1095,6 +1095,7 @@ void BookmarkBarView::Layout() {
+@@ -1120,6 +1120,7 @@ void BookmarkBarView::Layout() {
x = next_x;
}
}
diff --git a/patches/chrome-browser-ui-views-bookmarks-bookmark_bubble_view.cc.patch b/patches/chrome-browser-ui-views-bookmarks-bookmark_bubble_view.cc.patch
index 14dd1ed2731d..7ae7fe39db67 100644
--- a/patches/chrome-browser-ui-views-bookmarks-bookmark_bubble_view.cc.patch
+++ b/patches/chrome-browser-ui-views-bookmarks-bookmark_bubble_view.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
-index 8dfa343e77332d6139bc0dcebc72d7655b85a7fe..cf9697faa6514d513f84c2d866a90befea81b518 100644
+index 3209a9a3c8e195dc60f2a4920e78751bd781c312..8589b281f6077e814804260b53f91282a23cd188 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
-@@ -346,6 +346,7 @@ void BookmarkBubbleView::ShowBubble(
+@@ -411,6 +411,7 @@ void BookmarkBubbleView::ShowBubble(
dialog_model_builder.Build(), anchor_view,
views::BubbleBorder::TOP_RIGHT);
bookmark_bubble_ = bubble.get();
diff --git a/patches/chrome-browser-ui-views-location_bar-location_bar_view.cc.patch b/patches/chrome-browser-ui-views-location_bar-location_bar_view.cc.patch
index 3d7ad7838fb1..59d58f733f03 100644
--- a/patches/chrome-browser-ui-views-location_bar-location_bar_view.cc.patch
+++ b/patches/chrome-browser-ui-views-location_bar-location_bar_view.cc.patch
@@ -1,12 +1,12 @@
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
-index 8fd6c6b955e7e170ee5c691e64e7cb24cad07749..7dfdde8ffd62de221aa967417e6ba75c72a7786c 100644
+index 83e19c00add9fb15101735925b279aedf45785ce..1fa7b9eb731c1b94d0f88d6f38600485737233aa 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
-@@ -729,6 +729,7 @@ void LocationBarView::Layout() {
+@@ -754,6 +754,7 @@ void LocationBarView::Layout() {
}
};
+ BRAVE_LAYOUT_TRAILING_DECORATIONS
- add_trailing_decoration(page_action_icon_container_);
+ add_trailing_decoration(page_action_icon_container_,
+ /*intra_item_padding=*/0);
for (ContentSettingImageView* view : base::Reversed(content_setting_views_)) {
- add_trailing_decoration(view);
diff --git a/patches/chrome-browser-ui-views-location_bar-location_bar_view.h.patch b/patches/chrome-browser-ui-views-location_bar-location_bar_view.h.patch
index 0bdcaa2e7c6b..dcc7775c18fa 100644
--- a/patches/chrome-browser-ui-views-location_bar-location_bar_view.h.patch
+++ b/patches/chrome-browser-ui-views-location_bar-location_bar_view.h.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
-index 3b1d93cee8e3792734724a5e283c7e4b169ac4a0..466bfbfa3a0006959496e2c95fd54db93d38b895 100644
+index 6fd3631dc90b578ca1adaef3d69b97611734ebf0..a0ab959e60515842c5b7ee77edf7c822f737dfb7 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -109,6 +109,7 @@ class LocationBarView : public LocationBar,
diff --git a/patches/chrome-browser-ui-views-location_bar-location_icon_view.cc.patch b/patches/chrome-browser-ui-views-location_bar-location_icon_view.cc.patch
index b4467dca60c3..abc26658b324 100644
--- a/patches/chrome-browser-ui-views-location_bar-location_icon_view.cc.patch
+++ b/patches/chrome-browser-ui-views-location_bar-location_icon_view.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.cc b/chrome/browser/ui/views/location_bar/location_icon_view.cc
-index f049ff08788fe6170dfd2ed3720e8d54ff58bb11..c14161f95ae338e9bea26f75111dfe760853e3a4 100644
+index 0c4e36949a5f6251fa25f1a4c5a2e66a5a26ee58..5b5c7c81a70cff2ef883123e123555ab1bdd2f51 100644
--- a/chrome/browser/ui/views/location_bar/location_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.cc
-@@ -186,6 +186,7 @@ bool LocationIconView::GetShowText() const {
+@@ -166,6 +166,7 @@ bool LocationIconView::GetShowText() const {
const auto* location_bar_model = delegate_->GetLocationBarModel();
const GURL& url = location_bar_model->GetURL();
if (url.SchemeIs(content::kChromeUIScheme) ||
diff --git a/patches/chrome-browser-ui-views-omnibox-omnibox_popup_view_views.cc.patch b/patches/chrome-browser-ui-views-omnibox-omnibox_popup_view_views.cc.patch
deleted file mode 100644
index a918a0486807..000000000000
--- a/patches/chrome-browser-ui-views-omnibox-omnibox_popup_view_views.cc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_popup_view_views.cc
-index 56747e2757ecdb2743d340b2e830b96df9f0ece0..114876bbdb05b59ca47329189d0c05438d056e0c 100644
---- a/chrome/browser/ui/views/omnibox/omnibox_popup_view_views.cc
-+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_view_views.cc
-@@ -485,7 +485,7 @@ void OmniboxPopupViewViews::UpdateChildViews() {
- if (children().size() == i) {
- AddChildView(std::make_unique(
- i, edit_model_,
-- std::make_unique(this, edit_model_, i),
-+ std::make_unique(this, edit_model_, i),
- pref_service));
- }
-
diff --git a/patches/chrome-browser-ui-views-overlay-video_overlay_window_views.cc.patch b/patches/chrome-browser-ui-views-overlay-video_overlay_window_views.cc.patch
index a0c03980d8e2..249b9aa4dcdf 100644
--- a/patches/chrome-browser-ui-views-overlay-video_overlay_window_views.cc.patch
+++ b/patches/chrome-browser-ui-views-overlay-video_overlay_window_views.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/overlay/video_overlay_window_views.cc b/chrome/browser/ui/views/overlay/video_overlay_window_views.cc
-index 311d0835a9a713b3e8ec6f0061ef0867baed730e..eb60395147e8837c4998e342fe191677c9cd419f 100644
+index 9e5e40c912c00b70d921d422ce141cd9d4a5bcd3..1211fb980fc28cc3fa8a6805846288edb27b3fbd 100644
--- a/chrome/browser/ui/views/overlay/video_overlay_window_views.cc
+++ b/chrome/browser/ui/views/overlay/video_overlay_window_views.cc
-@@ -639,6 +639,7 @@ void VideoOverlayWindowViews::UpdateMaxSize(const gfx::Rect& work_area) {
+@@ -666,6 +666,7 @@ void VideoOverlayWindowViews::UpdateMaxSize(const gfx::Rect& work_area) {
max_size_ = new_max_size;
diff --git a/patches/chrome-browser-ui-views-page_info-page_info_main_view.cc.patch b/patches/chrome-browser-ui-views-page_info-page_info_main_view.cc.patch
index ee2c38e6f62a..f8605153da3f 100644
--- a/patches/chrome-browser-ui-views-page_info-page_info_main_view.cc.patch
+++ b/patches/chrome-browser-ui-views-page_info-page_info_main_view.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/page_info/page_info_main_view.cc b/chrome/browser/ui/views/page_info/page_info_main_view.cc
-index 9800155375fa4fb592a0e7ddc041b669b3f9bc98..7b8e1ca57504f9ca04238b057ed7095164b3793b 100644
+index f076917a8c9135f0c4c8cab129ee73fcbc3527f9..f4bf49cbe475d588f93d53e674657b238347b9d8 100644
--- a/chrome/browser/ui/views/page_info/page_info_main_view.cc
+++ b/chrome/browser/ui/views/page_info/page_info_main_view.cc
-@@ -554,6 +554,7 @@ gfx::Size PageInfoMainView::CalculatePreferredSize() const {
+@@ -507,6 +507,7 @@ gfx::Size PageInfoMainView::CalculatePreferredSize() const {
if (site_settings_view_) {
width = std::max(width, site_settings_view_->GetPreferredSize().width());
width = std::max(width, permissions_view_->GetPreferredSize().width());
diff --git a/patches/chrome-browser-ui-views-page_info-page_info_view_factory.cc.patch b/patches/chrome-browser-ui-views-page_info-page_info_view_factory.cc.patch
index 2f1a96026ae6..5494e741e39d 100644
--- a/patches/chrome-browser-ui-views-page_info-page_info_view_factory.cc.patch
+++ b/patches/chrome-browser-ui-views-page_info-page_info_view_factory.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/page_info/page_info_view_factory.cc b/chrome/browser/ui/views/page_info/page_info_view_factory.cc
-index 3525faa7224099b6944a0cb6aaf929edd87e973c..cc7e514eb6b17af0c39aee848680ae2b885904e1 100644
+index c5a69cea384b4ab55b24dc9e16e499d45b4e1e88..5f09dbaff10ac0c1bc56dabac056972d8c7e8f03 100644
--- a/chrome/browser/ui/views/page_info/page_info_view_factory.cc
+++ b/chrome/browser/ui/views/page_info/page_info_view_factory.cc
-@@ -397,6 +397,7 @@ const ui::ImageModel PageInfoViewFactory::GetPermissionIcon(
+@@ -409,6 +409,7 @@ const ui::ImageModel PageInfoViewFactory::GetPermissionIcon(
const gfx::VectorIcon* icon = &gfx::kNoneIcon;
switch (info.type) {
diff --git a/patches/chrome-browser-ui-views-side_panel-side_panel_coordinator.cc.patch b/patches/chrome-browser-ui-views-side_panel-side_panel_coordinator.cc.patch
index 86fae6932bfd..2e11fd0d98af 100644
--- a/patches/chrome-browser-ui-views-side_panel-side_panel_coordinator.cc.patch
+++ b/patches/chrome-browser-ui-views-side_panel-side_panel_coordinator.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/side_panel/side_panel_coordinator.cc b/chrome/browser/ui/views/side_panel/side_panel_coordinator.cc
-index 849787d262d12abc3ee073ef360d9ced54731aba..7c67a68d6dd7c48698ccb73c9de17f970291a381 100644
+index eac30a8386acea27f7b3133b0480d3ab65e1d5ab..a6747fa7c17671d52f1196131e490d6fcbe4bea4 100644
--- a/chrome/browser/ui/views/side_panel/side_panel_coordinator.cc
+++ b/chrome/browser/ui/views/side_panel/side_panel_coordinator.cc
-@@ -240,6 +240,7 @@ SidePanelRegistry* SidePanelCoordinator::GetGlobalSidePanelRegistry(
+@@ -247,6 +247,7 @@ SidePanelRegistry* SidePanelCoordinator::GetGlobalSidePanelRegistry(
void SidePanelCoordinator::Show(
absl::optional entry_id,
absl::optional open_trigger) {
@@ -10,7 +10,7 @@ index 849787d262d12abc3ee073ef360d9ced54731aba..7c67a68d6dd7c48698ccb73c9de17f97
if (entry_id.has_value()) {
Show(SidePanelEntry::Key(entry_id.value()), open_trigger);
} else {
-@@ -700,6 +701,7 @@ std::unique_ptr SidePanelCoordinator::CreateHeader() {
+@@ -737,6 +738,7 @@ std::unique_ptr SidePanelCoordinator::CreateHeader() {
ChromeDistanceMetric::DISTANCE_SIDE_PANEL_HEADER_VECTOR_ICON_SIZE)));
header_close_button->SetFocusBehavior(views::View::FocusBehavior::ALWAYS);
diff --git a/patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch b/patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch
index 5a2e70c201f1..fff30ba4ca21 100644
--- a/patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch
+++ b/patches/chrome-browser-ui-views-tabs-new_tab_button.h.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/tabs/new_tab_button.h b/chrome/browser/ui/views/tabs/new_tab_button.h
-index 6f882fa3f2a81d52408499fc4d12453428e63fd7..fe6405971c097ef23d9aad6e474fe85dd6ccdce8 100644
+index 924823dfd64f110824127144e9d47ae55c172aa9..866c0eda97c22756ced5e96a80b2fd0b5005295e 100644
--- a/chrome/browser/ui/views/tabs/new_tab_button.h
+++ b/chrome/browser/ui/views/tabs/new_tab_button.h
-@@ -49,6 +49,7 @@ class NewTabButton : public views::ImageButton,
+@@ -50,6 +50,7 @@ class NewTabButton : public views::ImageButton,
void AddLayerToRegion(ui::Layer* new_layer,
views::LayerRegion region) override;
void RemoveLayerFromRegions(ui::Layer* old_layer) override;
diff --git a/patches/chrome-browser-ui-views-tabs-tab.cc.patch b/patches/chrome-browser-ui-views-tabs-tab.cc.patch
index 8c8b25842b9f..ea5e209c67c0 100644
--- a/patches/chrome-browser-ui-views-tabs-tab.cc.patch
+++ b/patches/chrome-browser-ui-views-tabs-tab.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc
-index 4dd15dfd0464cf374c864406e116884284e3e468..b004345d84ef15c8310fe673d27268072cd09f00 100644
+index 6cfde5828cb0fbe1ea0c39d3bbec1267016b4eb5..f420905f286f5180be1ebcf36aa92b0802584034 100644
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
-@@ -393,6 +393,7 @@ void Tab::Layout() {
+@@ -402,6 +402,7 @@ void Tab::Layout() {
int title_right = contents_rect.right();
if (showing_alert_indicator_) {
title_right = alert_indicator_button_->x() - after_title_padding;
@@ -10,7 +10,7 @@ index 4dd15dfd0464cf374c864406e116884284e3e468..b004345d84ef15c8310fe673d2726807
} else if (showing_close_button_) {
// Allow the title to overlay the close button's empty border padding.
title_right = close_x - after_title_padding;
-@@ -1013,6 +1014,7 @@ void Tab::UpdateIconVisibility() {
+@@ -1021,6 +1022,7 @@ void Tab::UpdateIconVisibility() {
available_width -= favicon_width;
showing_close_button_ = large_enough_for_close_button;
diff --git a/patches/chrome-browser-ui-views-tabs-tab_group_views.cc.patch b/patches/chrome-browser-ui-views-tabs-tab_group_views.cc.patch
index 1a74e0440edf..46b8c5e1542b 100644
--- a/patches/chrome-browser-ui-views-tabs-tab_group_views.cc.patch
+++ b/patches/chrome-browser-ui-views-tabs-tab_group_views.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/tabs/tab_group_views.cc b/chrome/browser/ui/views/tabs/tab_group_views.cc
-index bbd00aec2b10a397596afa383c796df2d4f203a6..b1b3ac2a045d0652d41b9b62f6669bfeece4f4fc 100644
+index 9d4de2ba573617c36fc93228aea87185ec19f4ce..b5010f91ac832c71f1c9a05f8cc359568688abef 100644
--- a/chrome/browser/ui/views/tabs/tab_group_views.cc
+++ b/chrome/browser/ui/views/tabs/tab_group_views.cc
-@@ -178,6 +178,7 @@ TabGroupViews::GetLeadingTrailingGroupViews(
+@@ -165,6 +165,7 @@ TabGroupViews::GetLeadingTrailingGroupViews(
views::View* trailing_child = nullptr;
gfx::Rect trailing_child_widget_bounds;
diff --git a/patches/chrome-browser-ui-views-tabs-tab_hover_card_bubble_view.h.patch b/patches/chrome-browser-ui-views-tabs-tab_hover_card_bubble_view.h.patch
index fcbdf07c7632..38817da80a27 100644
--- a/patches/chrome-browser-ui-views-tabs-tab_hover_card_bubble_view.h.patch
+++ b/patches/chrome-browser-ui-views-tabs-tab_hover_card_bubble_view.h.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.h b/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.h
-index e32d2be55f20a5faf1d9a38e3b07366676f0859e..0ed46e747e4d10d87f5fc81a398dadd2aeebeb5e 100644
+index 9accd372c00fa25af82098358ac3d9e905fac8ab..729aee615aa1416341789391a755c9382b194147 100644
--- a/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.h
+++ b/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.h
@@ -71,6 +71,7 @@ class TabHoverCardBubbleView : public views::BubbleDialogDelegateView {
@@ -9,4 +9,4 @@ index e32d2be55f20a5faf1d9a38e3b07366676f0859e..0ed46e747e4d10d87f5fc81a398dadd2
+ BRAVE_TAB_HOVER_CARD_BUBBLE_VIEW_H_
private:
FRIEND_TEST_ALL_PREFIXES(TabHoverCardInteractiveUiTest,
- HoverCardFooterUpdates);
+ HoverCardDoesNotHaveFooterView);
diff --git a/patches/chrome-browser-ui-views-tabs-tab_strip.cc.patch b/patches/chrome-browser-ui-views-tabs-tab_strip.cc.patch
index 4fe267964658..eb730768dea7 100644
--- a/patches/chrome-browser-ui-views-tabs-tab_strip.cc.patch
+++ b/patches/chrome-browser-ui-views-tabs-tab_strip.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
-index 51d81029a8a569434c0014cbdec4b473a15c329c..7ab351f036361820920886f071ae65df743ce7f4 100644
+index da7ae74dc5f212b6b8b17311751abc6269a71da1..2de5eb3c5656f3998e6b0a481e09b6bbcfb6603d 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
-@@ -495,6 +495,7 @@ class TabStrip::TabDragContextImpl : public TabDragContext,
+@@ -496,6 +496,7 @@ class TabStrip::TabDragContextImpl : public TabDragContext,
std::vector CalculateBoundsForDraggedViews(
const std::vector& views) override {
@@ -10,7 +10,7 @@ index 51d81029a8a569434c0014cbdec4b473a15c329c..7ab351f036361820920886f071ae65df
DCHECK(!views.empty());
std::vector bounds;
-@@ -670,6 +671,7 @@ class TabStrip::TabDragContextImpl : public TabDragContext,
+@@ -671,6 +672,7 @@ class TabStrip::TabDragContextImpl : public TabDragContext,
// index.
std::stable_sort(orderable_children.begin(), orderable_children.end());
@@ -18,7 +18,7 @@ index 51d81029a8a569434c0014cbdec4b473a15c329c..7ab351f036361820920886f071ae65df
for (const ZOrderableTabContainerElement& child : orderable_children)
child.view()->Paint(paint_info);
}
-@@ -761,6 +763,7 @@ class TabStrip::TabDragContextImpl : public TabDragContext,
+@@ -762,6 +764,7 @@ class TabStrip::TabDragContextImpl : public TabDragContext,
continue;
}
diff --git a/patches/chrome-browser-ui-views-tabs-tab_style_views.cc.patch b/patches/chrome-browser-ui-views-tabs-tab_style_views.cc.patch
index 4472c1788416..b2cc2933500d 100644
--- a/patches/chrome-browser-ui-views-tabs-tab_style_views.cc.patch
+++ b/patches/chrome-browser-ui-views-tabs-tab_style_views.cc.patch
@@ -1,16 +1,16 @@
diff --git a/chrome/browser/ui/views/tabs/tab_style_views.cc b/chrome/browser/ui/views/tabs/tab_style_views.cc
-index 202e116be8fb3bd6dc948de9d725eaa14941d81e..c0a1f1287ea497a5cc8388eb457ea4568571f134 100644
+index 6987eaf6eda6cdafd2dd90de62c6152ebf11ba45..420b583c85c99d38a2648ff535450679ff2ac6a0 100644
--- a/chrome/browser/ui/views/tabs/tab_style_views.cc
+++ b/chrome/browser/ui/views/tabs/tab_style_views.cc
-@@ -126,6 +126,7 @@ class GM2TabStyleViews : public TabStyleViews {
- const Tab* other_tab) const;
+@@ -135,6 +135,7 @@ class GM2TabStyleViews : public TabStyleViews {
+ TabStyle::TabSelectionState GetSelectionState() const;
private:
+ BRAVE_GM2_TAB_STYLE_H
// Gets the bounds for the leading and trailing separators for a tab.
TabStyle::SeparatorBounds GetSeparatorBounds(float scale) const;
-@@ -274,6 +275,7 @@ SkPath GM2TabStyleViews::GetPath(TabStyle::PathType path_type,
+@@ -289,6 +290,7 @@ SkPath GM2TabStyleViews::GetPath(TabStyle::PathType path_type,
const ShapeModifier shape_modifier = GetShapeModifier(path_type);
const bool extend_left_to_bottom = shape_modifier & kNoLowerLeftArc;
const bool extend_right_to_bottom = shape_modifier & kNoLowerRightArc;
@@ -18,17 +18,19 @@ index 202e116be8fb3bd6dc948de9d725eaa14941d81e..c0a1f1287ea497a5cc8388eb457ea456
SkPath path;
-@@ -548,8 +550,7 @@ TabStyle::SeparatorBounds GM2TabStyleViews::GetSeparatorBounds(
+@@ -606,9 +608,10 @@ TabStyle::SeparatorBounds GM2TabStyleViews::GetSeparatorBounds(
+ TabStyle::SeparatorBounds separator_bounds;
+
+ const int extra_vertical_space =
++ 2 * (
+ aligned_bounds.height() -
+ (separator_size.height() + separator_margin.bottom() +
+- separator_margin.top());
++ separator_margin.top()));
+
+ separator_bounds.leading = gfx::RectF(
aligned_bounds.x() + corner_radius - separator_margin.right() -
- separator_size.width(),
- aligned_bounds.y() + (aligned_bounds.height() - separator_size.height() -
-- separator_margin.bottom()) /
-- 2,
-+ separator_margin.bottom()),
- separator_size.width(), separator_size.height());
-
- separator_bounds.trailing = separator_bounds.leading;
-@@ -923,12 +924,16 @@ void GM2TabStyleViews::PaintSeparators(gfx::Canvas* canvas) const {
+@@ -1023,14 +1026,18 @@ void GM2TabStyleViews::PaintSeparators(gfx::Canvas* canvas) const {
SK_AlphaOPAQUE));
};
@@ -39,11 +41,13 @@ index 202e116be8fb3bd6dc948de9d725eaa14941d81e..c0a1f1287ea497a5cc8388eb457ea456
cc::PaintFlags flags;
flags.setAntiAlias(true);
flags.setColor(separator_color(separator_opacities.left));
-- canvas->DrawRect(separator_bounds.leading, flags);
-+ canvas->DrawRoundRect(separator_bounds.leading, separator_radius, flags);
+ canvas->DrawRoundRect(separator_bounds.leading,
+- tab_style()->GetSeparatorCornerRadius() * scale, flags);
++ separator_radius, flags);
flags.setColor(separator_color(separator_opacities.right));
-- canvas->DrawRect(separator_bounds.trailing, flags);
-+ canvas->DrawRoundRect(separator_bounds.trailing, separator_radius, flags);
+ canvas->DrawRoundRect(separator_bounds.trailing,
+- tab_style()->GetSeparatorCornerRadius() * scale, flags);
++ separator_radius, flags);
}
float GM2TabStyleViews::GetTopCornerRadiusForWidth(int width) const {
diff --git a/patches/chrome-browser-ui-views-toolbar-toolbar_view.cc.patch b/patches/chrome-browser-ui-views-toolbar-toolbar_view.cc.patch
index d0ec8fd9dd60..9caa2e01d867 100644
--- a/patches/chrome-browser-ui-views-toolbar-toolbar_view.cc.patch
+++ b/patches/chrome-browser-ui-views-toolbar-toolbar_view.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.cc b/chrome/browser/ui/views/toolbar/toolbar_view.cc
-index c9e50271f27162f10f20fe15e09ca7b4545d58d5..a4b489cad4cc8d909e236448e1ce61b04ee62f3f 100644
+index 619f741f150975e1a93a32783f9bbfe78e9bee15..a0a09d22c024a5bacd27dfa60ae026ac0c09146b 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc
-@@ -441,6 +441,7 @@ void ToolbarView::Init() {
+@@ -461,6 +461,7 @@ void ToolbarView::Init() {
container_view_->AddChildView(std::move(side_panel_button));
}
diff --git a/patches/chrome-browser-ui-webui-chrome_web_ui_controller_factory.cc.patch b/patches/chrome-browser-ui-webui-chrome_web_ui_controller_factory.cc.patch
index bd0666cd95c0..33f5c53c3d3b 100644
--- a/patches/chrome-browser-ui-webui-chrome_web_ui_controller_factory.cc.patch
+++ b/patches/chrome-browser-ui-webui-chrome_web_ui_controller_factory.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
-index 1fe6c2242c11fcab42a8a3bb698dfdb17ae6cb2d..b7c647f7edf8b66349593854c345bbe05f716b5d 100644
+index 75ab7f0bbbeedb05a8b82f9e80e5200a5f89575e..0b4b93522f6007868c14849528c8226a17dde1a2 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
-@@ -982,6 +982,7 @@ void ChromeWebUIControllerFactory::GetFaviconForURL(
+@@ -988,6 +988,7 @@ void ChromeWebUIControllerFactory::GetFaviconForURL(
// static
ChromeWebUIControllerFactory* ChromeWebUIControllerFactory::GetInstance() {
diff --git a/patches/chrome-browser-ui-webui-downloads-downloads_ui.cc.patch b/patches/chrome-browser-ui-webui-downloads-downloads_ui.cc.patch
index 83101a08f7ce..21b5c6e3cdcb 100644
--- a/patches/chrome-browser-ui-webui-downloads-downloads_ui.cc.patch
+++ b/patches/chrome-browser-ui-webui-downloads-downloads_ui.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/webui/downloads/downloads_ui.cc b/chrome/browser/ui/webui/downloads/downloads_ui.cc
-index adf8f9b3fdf7a4280649106427515651cb9e753a..1bc92762ea3fa6559bcdb3a59c400b779e563fd2 100644
+index aa26b88ebba2e3765623675519d71335ded67660..e0573ca48104112bbab625ae9e412816a7993bbb 100644
--- a/chrome/browser/ui/webui/downloads/downloads_ui.cc
+++ b/chrome/browser/ui/webui/downloads/downloads_ui.cc
-@@ -59,6 +59,7 @@ namespace {
+@@ -60,6 +60,7 @@ namespace {
content::WebUIDataSource* CreateAndAddDownloadsUIHTMLSource(Profile* profile) {
content::WebUIDataSource* source = content::WebUIDataSource::CreateAndAdd(
profile, chrome::kChromeUIDownloadsHost);
diff --git a/patches/chrome-browser-ui-webui-extensions-extensions_ui.cc.patch b/patches/chrome-browser-ui-webui-extensions-extensions_ui.cc.patch
index 8bbbf934084c..dde3a2199d28 100644
--- a/patches/chrome-browser-ui-webui-extensions-extensions_ui.cc.patch
+++ b/patches/chrome-browser-ui-webui-extensions-extensions_ui.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/webui/extensions/extensions_ui.cc b/chrome/browser/ui/webui/extensions/extensions_ui.cc
-index e7abdf55abaf79904201886cec4efe2cb24f2ad0..8444faf4f4580343fe27682cbd4c2035815f3904 100644
+index 625352ca9ae74c09ecab797571b2075727717757..d4111c2a45895914675252b3c1c05b52a42b7062 100644
--- a/chrome/browser/ui/webui/extensions/extensions_ui.cc
+++ b/chrome/browser/ui/webui/extensions/extensions_ui.cc
-@@ -421,6 +421,7 @@ content::WebUIDataSource* CreateAndAddExtensionsSource(Profile* profile,
+@@ -433,6 +433,7 @@ content::WebUIDataSource* CreateAndAddExtensionsSource(Profile* profile,
"safetyCheckShowReviewPanel",
base::FeatureList::IsEnabled(features::kSafetyCheckExtensions));
diff --git a/patches/chrome-browser-ui-webui-settings-people_handler.cc.patch b/patches/chrome-browser-ui-webui-settings-people_handler.cc.patch
index 6054b8b0b4a8..c8da616fdd2d 100644
--- a/patches/chrome-browser-ui-webui-settings-people_handler.cc.patch
+++ b/patches/chrome-browser-ui-webui-settings-people_handler.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/webui/settings/people_handler.cc b/chrome/browser/ui/webui/settings/people_handler.cc
-index 77ebeea4178df00b03d61163e489c4a9112481e2..90a75584a90871f8b25cffb11fdb7aa855d89712 100644
+index 32cc442c8bf1e6cf1e86b156697231839799898b..a5946468ff148195e81e33c4200acd9106360b85 100644
--- a/chrome/browser/ui/webui/settings/people_handler.cc
+++ b/chrome/browser/ui/webui/settings/people_handler.cc
-@@ -890,6 +890,7 @@ void PeopleHandler::OnStateChanged(syncer::SyncService* sync_service) {
+@@ -875,6 +875,7 @@ void PeopleHandler::OnStateChanged(syncer::SyncService* sync_service) {
void PeopleHandler::BeforeUnloadDialogCancelled() {
// The before unload dialog is only shown during the first sync setup.
@@ -10,7 +10,7 @@ index 77ebeea4178df00b03d61163e489c4a9112481e2..90a75584a90871f8b25cffb11fdb7aa8
DCHECK(IdentityManagerFactory::GetForProfile(profile_)->HasPrimaryAccount(
signin::ConsentLevel::kSync));
syncer::SyncService* service = GetSyncService();
-@@ -939,6 +940,7 @@ base::Value::Dict PeopleHandler::GetSyncStatusDictionary() const {
+@@ -924,6 +925,7 @@ base::Value::Dict PeopleHandler::GetSyncStatusDictionary() const {
service && !disallowed_by_policy && service->IsSetupInProgress() &&
!service->GetUserSettings()->IsInitialSyncFeatureSetupComplete() &&
identity_manager->HasPrimaryAccount(signin::ConsentLevel::kSync));
@@ -18,7 +18,7 @@ index 77ebeea4178df00b03d61163e489c4a9112481e2..90a75584a90871f8b25cffb11fdb7aa8
const SyncStatusLabels status_labels = GetSyncStatusLabels(profile_);
// TODO(crbug.com/1027467): Consider unifying some of the fields below to
-@@ -1102,6 +1104,7 @@ void PeopleHandler::MaybeMarkSyncConfiguring() {
+@@ -1086,6 +1088,7 @@ void PeopleHandler::MaybeMarkSyncConfiguring() {
}
bool PeopleHandler::IsProfileAuthNeededOrHasErrors() {
diff --git a/patches/chrome-browser-ui-webui-settings-settings_localized_strings_provider.cc.patch b/patches/chrome-browser-ui-webui-settings-settings_localized_strings_provider.cc.patch
index 7ad451238487..1034f7e5c96b 100644
--- a/patches/chrome-browser-ui-webui-settings-settings_localized_strings_provider.cc.patch
+++ b/patches/chrome-browser-ui-webui-settings-settings_localized_strings_provider.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
-index ba144779fd63d84fdb0279944fc32f0032a2d431..4c77f2bbab4ac63bf5ca69976905f38ca2ef0126 100644
+index 2c54740738d1fbaf977eb150e91428596ff9ed94..aea9364a758b4efa90e14c8a2f4a6ea886d9d511 100644
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
-@@ -3634,6 +3634,7 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source,
+@@ -3710,6 +3710,7 @@ void AddLocalizedStrings(content::WebUIDataSource* html_source,
policy_indicator::AddLocalizedStrings(html_source);
AddSecurityKeysStrings(html_source);
diff --git a/patches/chrome-browser-ui-webui-settings-site_settings_helper.cc.patch b/patches/chrome-browser-ui-webui-settings-site_settings_helper.cc.patch
index 57947b25e0f0..9527a53ac2b1 100644
--- a/patches/chrome-browser-ui-webui-settings-site_settings_helper.cc.patch
+++ b/patches/chrome-browser-ui-webui-settings-site_settings_helper.cc.patch
@@ -1,16 +1,16 @@
diff --git a/chrome/browser/ui/webui/settings/site_settings_helper.cc b/chrome/browser/ui/webui/settings/site_settings_helper.cc
-index 0bc74c27f994f0a3ddd034bd6a97f4d6ab5eca33..6b403ab004fa0c7b6c37b1c890698687fc56c0c5 100644
+index 0fa6df3882ca180c0ecfa89f8294b48f1adde711..57c4a4541449cc261607fadfaa9f7494a7b2da0c 100644
--- a/chrome/browser/ui/webui/settings/site_settings_helper.cc
+++ b/chrome/browser/ui/webui/settings/site_settings_helper.cc
-@@ -195,6 +195,7 @@ const ContentSettingsTypeNameEntry kContentSettingsTypeGroupNames[] = {
- nullptr},
- {ContentSettingsType::THIRD_PARTY_STORAGE_PARTITIONING, nullptr},
+@@ -199,6 +199,7 @@ const ContentSettingsTypeNameEntry kContentSettingsTypeGroupNames[] = {
{ContentSettingsType::ALL_SCREEN_CAPTURE, nullptr},
+ {ContentSettingsType::COOKIE_CONTROLS_METADATA, nullptr},
+ {ContentSettingsType::TPCD_SUPPORT, nullptr},
+ BRAVE_CONTENT_SETTINGS_TYPE_GROUP_NAMES_LIST
};
static_assert(std::size(kContentSettingsTypeGroupNames) ==
-@@ -485,6 +486,7 @@ bool HasRegisteredGroupName(ContentSettingsType type) {
+@@ -491,6 +492,7 @@ bool HasRegisteredGroupName(ContentSettingsType type) {
}
ContentSettingsType ContentSettingsTypeFromGroupName(base::StringPiece name) {
diff --git a/patches/chrome-browser-web_applications-os_integration-web_app_shortcut_mac.mm.patch b/patches/chrome-browser-web_applications-os_integration-web_app_shortcut_mac.mm.patch
index d8c26de135d5..57b7e88936f7 100644
--- a/patches/chrome-browser-web_applications-os_integration-web_app_shortcut_mac.mm.patch
+++ b/patches/chrome-browser-web_applications-os_integration-web_app_shortcut_mac.mm.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/browser/web_applications/os_integration/web_app_shortcut_mac.mm b/chrome/browser/web_applications/os_integration/web_app_shortcut_mac.mm
-index fad13598b124905c1fb1ded7d8f8daac1259fd48..ac02be17de0fdb2d4e25ce46e9408c18c1837771 100644
+index 68964b425cec5cdc07f22d07c8bd2bf04bf64d53..79aa75fadaecc58424d95e67134bae3d123eecc4 100644
--- a/chrome/browser/web_applications/os_integration/web_app_shortcut_mac.mm
+++ b/chrome/browser/web_applications/os_integration/web_app_shortcut_mac.mm
-@@ -1017,6 +1017,7 @@ base::FilePath GetChromeAppsFolder() {
+@@ -1171,6 +1171,7 @@ base::FilePath GetChromeAppsFolder() {
if (path.empty())
return path;
diff --git a/patches/chrome-common-BUILD.gn.patch b/patches/chrome-common-BUILD.gn.patch
index b65c65b62f5d..cc7879743927 100644
--- a/patches/chrome-common-BUILD.gn.patch
+++ b/patches/chrome-common-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
-index 02843c8fd37a25326f9f5e8edfeba8e72ad4eae5..41bcfe313dc58906f0946a08b9e31dc1d4cc535d 100644
+index c3ec18003787c0ea08eb6ecf741e485ef7ffbfb3..033f9e51e253303b5ef82679addb4bec5fd1808b 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
-@@ -98,6 +98,7 @@ source_set("channel_info") {
+@@ -97,6 +97,7 @@ source_set("channel_info") {
} else if (is_fuchsia) {
sources += [ "channel_info_fuchsia.cc" ]
}
@@ -10,7 +10,7 @@ index 02843c8fd37a25326f9f5e8edfeba8e72ad4eae5..41bcfe313dc58906f0946a08b9e31dc1
}
source_set("ini_parser") {
-@@ -289,6 +290,7 @@ static_library("common_lib") {
+@@ -272,6 +273,7 @@ static_library("common_lib") {
if (enable_ppapi) {
public_deps += [ "//ppapi/shared_impl" ]
}
@@ -18,7 +18,7 @@ index 02843c8fd37a25326f9f5e8edfeba8e72ad4eae5..41bcfe313dc58906f0946a08b9e31dc1
if (enable_extensions) {
sources += [
-@@ -557,6 +559,7 @@ static_library("non_code_constants") {
+@@ -540,6 +542,7 @@ static_library("non_code_constants") {
"//printing/buildflags",
"//ui/base:buildflags",
]
diff --git a/patches/chrome-common-extensions-api-developer_private.idl.patch b/patches/chrome-common-extensions-api-developer_private.idl.patch
index c4c9114f2987..80699bbf0f40 100644
--- a/patches/chrome-common-extensions-api-developer_private.idl.patch
+++ b/patches/chrome-common-extensions-api-developer_private.idl.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/common/extensions/api/developer_private.idl b/chrome/common/extensions/api/developer_private.idl
-index 02c9e6bdb14d247bb5d6da561704c9ad7703c25a..e26cb8bf667f6f03ae86862e49be3f134d920391 100644
+index b733a36ef4a8ff7d8a82415fc78e2079351bf885..d57ebbfe4cf01050b0e1eaec576416f07dc0a960 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -241,6 +241,7 @@ namespace developerPrivate {
diff --git a/patches/chrome-installer-mac-BUILD.gn.patch b/patches/chrome-installer-mac-BUILD.gn.patch
index f565d152b6da..7043db6f9303 100644
--- a/patches/chrome-installer-mac-BUILD.gn.patch
+++ b/patches/chrome-installer-mac-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/installer/mac/BUILD.gn b/chrome/installer/mac/BUILD.gn
-index a559e3b0d0a5648d228514c421bc1c82049507e2..16b831df45724ca03806a054c850aa8acb49c2ed 100644
+index 59632e3433849608356269bdbb462078d7b42550..18e0f81bce6d2a099bf233ca901e0d528eeb3e9f 100644
--- a/chrome/installer/mac/BUILD.gn
+++ b/chrome/installer/mac/BUILD.gn
@@ -19,7 +19,8 @@ group("mac") {
diff --git a/patches/chrome-installer-mac-signing-config.py.patch b/patches/chrome-installer-mac-signing-config.py.patch
index 47683a5e5181..d4d468329e69 100644
--- a/patches/chrome-installer-mac-signing-config.py.patch
+++ b/patches/chrome-installer-mac-signing-config.py.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/installer/mac/signing/config.py b/chrome/installer/mac/signing/config.py
-index c9ee6c3254d016cb46133896ee0deaa86163a582..6632c9c9002c4b3bfd685aa4ef72d4998f569603 100644
+index f6742e27288f584a06e8891aefeb6f1e33a8b6df..8293197c31601a0e0d6957d25b686b98986ed9f7 100644
--- a/chrome/installer/mac/signing/config.py
+++ b/chrome/installer/mac/signing/config.py
-@@ -231,4 +231,4 @@ class CodeSignConfig(object):
+@@ -218,4 +218,4 @@ class CodeSignConfig(object):
@property
def packaging_dir(self):
"""Returns the path to the packaging and installer tools."""
diff --git a/patches/chrome-installer-mac-signing-model.py.patch b/patches/chrome-installer-mac-signing-model.py.patch
index fc32233ba1fb..4d44a832350f 100644
--- a/patches/chrome-installer-mac-signing-model.py.patch
+++ b/patches/chrome-installer-mac-signing-model.py.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/installer/mac/signing/model.py b/chrome/installer/mac/signing/model.py
-index 46e437e71537f234ab0f8a7053da59f304cf722a..c4f35fdfd78df691b890137df7f6ac965503d18a 100644
+index 3d5ced94d94073e0c56c7c899f7fa1806b224ed2..95d1606ffb51869392dcc94cc6ddf881b0dbda70 100644
--- a/chrome/installer/mac/signing/model.py
+++ b/chrome/installer/mac/signing/model.py
-@@ -424,7 +424,7 @@ class Paths(object):
+@@ -415,7 +415,7 @@ class Paths(object):
Returns:
Path to the packaging directory.
"""
diff --git a/patches/chrome-installer-mac-signing-pipeline.py.patch b/patches/chrome-installer-mac-signing-pipeline.py.patch
index 4e135a5a0cba..b54c3c9f76b6 100644
--- a/patches/chrome-installer-mac-signing-pipeline.py.patch
+++ b/patches/chrome-installer-mac-signing-pipeline.py.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/installer/mac/signing/pipeline.py b/chrome/installer/mac/signing/pipeline.py
-index 978c15a6fb0d11308504ff2b09242294dd412e42..d170e86a4ec4cce974d46b395e9b5eb8cd666973 100644
+index 18517f91a1025abd6e680e491c9a3d38a5665720..b26c2884e3b17c1e981b790ef3c8ba563eff05af 100644
--- a/chrome/installer/mac/signing/pipeline.py
+++ b/chrome/installer/mac/signing/pipeline.py
@@ -691,6 +691,9 @@ def sign_all(orig_paths,
diff --git a/patches/chrome-installer-util-shell_util.cc.patch b/patches/chrome-installer-util-shell_util.cc.patch
index c47d29c0c876..fee85f0f9830 100644
--- a/patches/chrome-installer-util-shell_util.cc.patch
+++ b/patches/chrome-installer-util-shell_util.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
-index d32b663370c0a568928579560cef97bd4aff8d3d..6b2716b6f8fb008d3b583ad123cb9de1dbe6db18 100644
+index 595d30a92a0994015b1f9b3d7d425f96677f4a0c..e6b5eb9770ab4dabfb366ac03a62fe1de2a73d2b 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
-@@ -365,6 +365,7 @@ void GetChromeProgIdEntries(
+@@ -370,6 +370,7 @@ void GetChromeProgIdEntries(
app_info.delegate_clsid = install_static::GetLegacyCommandExecuteImplClsid();
GetProgIdEntries(app_info, entries);
@@ -10,7 +10,7 @@ index d32b663370c0a568928579560cef97bd4aff8d3d..6b2716b6f8fb008d3b583ad123cb9de1
if (!app_info.delegate_clsid.empty()) {
auto delegate_execute_entries =
-@@ -461,6 +462,7 @@ void GetShellIntegrationEntries(
+@@ -465,6 +466,7 @@ void GetShellIntegrationEntries(
const std::wstring html_prog_id(GetBrowserProgId(suffix));
for (int i = 0; ShellUtil::kPotentialFileAssociations[i] != nullptr; i++) {
@@ -18,7 +18,7 @@ index d32b663370c0a568928579560cef97bd4aff8d3d..6b2716b6f8fb008d3b583ad123cb9de1
entries->push_back(std::make_unique(
capabilities + L"\\FileAssociations",
ShellUtil::kPotentialFileAssociations[i], html_prog_id));
-@@ -485,6 +487,7 @@ void GetAppExtRegistrationEntries(
+@@ -489,6 +491,7 @@ void GetAppExtRegistrationEntries(
std::wstring key_name =
base::StrCat({ShellUtil::kRegClasses, kFilePathSeparator, ext,
kFilePathSeparator, ShellUtil::kRegOpenWithProgids});
@@ -26,7 +26,7 @@ index d32b663370c0a568928579560cef97bd4aff8d3d..6b2716b6f8fb008d3b583ad123cb9de1
entries->push_back(
std::make_unique(key_name, prog_id, std::wstring()));
}
-@@ -1740,8 +1743,10 @@ const wchar_t* ShellUtil::kPotentialFileAssociations[] = {
+@@ -1742,8 +1745,10 @@ const wchar_t* ShellUtil::kPotentialFileAssociations[] = {
L".htm", L".html", L".pdf", L".shtml", L".svg",
L".xht", L".xhtml", L".webp", nullptr};
const wchar_t* ShellUtil::kBrowserProtocolAssociations[] = {L"http", L"https",
diff --git a/patches/chrome-renderer-BUILD.gn.patch b/patches/chrome-renderer-BUILD.gn.patch
index d2cd924167af..da1e270ef2c4 100644
--- a/patches/chrome-renderer-BUILD.gn.patch
+++ b/patches/chrome-renderer-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/renderer/BUILD.gn b/chrome/renderer/BUILD.gn
-index 76f0adaaa659d23fff483cf2461f1ac890b3c93f..977464f59cfe354d1839dc7971692dc0146e8955 100644
+index 5bf67204d500609ba0d431ac7e28c1c569f46790..82fff891b240fe493f8c4ed41129bc672faf1203 100644
--- a/chrome/renderer/BUILD.gn
+++ b/chrome/renderer/BUILD.gn
@@ -233,6 +233,7 @@ static_library("renderer") {
diff --git a/patches/chrome-renderer-chrome_content_renderer_client.cc.patch b/patches/chrome-renderer-chrome_content_renderer_client.cc.patch
index e58673c8d840..4fa1693afa7f 100644
--- a/patches/chrome-renderer-chrome_content_renderer_client.cc.patch
+++ b/patches/chrome-renderer-chrome_content_renderer_client.cc.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
-index 43fc365662842d453189bc60b98abc46678b802e..bd69a8172af2ac67f6e24d8041725b60a0e8a096 100644
+index 8d02ca21674b13dd2ae11cb79b8d85dfcc4cb217..d1b90c854d669475aa0640b745612f07d1fa4aa7 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
-@@ -579,7 +579,7 @@ void ChromeContentRendererClient::RenderFrameCreated(
+@@ -584,7 +584,7 @@ void ChromeContentRendererClient::RenderFrameCreated(
ChromeExtensionsRendererClient::GetInstance()->extension_dispatcher());
#endif
content_settings::ContentSettingsAgentImpl* content_settings =
@@ -11,7 +11,7 @@ index 43fc365662842d453189bc60b98abc46678b802e..bd69a8172af2ac67f6e24d8041725b60
render_frame, should_allow_for_content_settings,
std::move(content_settings_delegate));
if (chrome_observer_.get()) {
-@@ -766,6 +766,7 @@ void ChromeContentRendererClient::RenderFrameCreated(
+@@ -756,6 +756,7 @@ void ChromeContentRendererClient::RenderFrameCreated(
render_frame));
}
#endif
diff --git a/patches/chrome-test-BUILD.gn.patch b/patches/chrome-test-BUILD.gn.patch
index b5da56704046..13ecbcdf6834 100644
--- a/patches/chrome-test-BUILD.gn.patch
+++ b/patches/chrome-test-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
-index 1029220fce0773fffc4fd8259f09e3659daa1979..adfea16cb844ca865cc32f8f95ba1151007c7e07 100644
+index ace4311233360c2a2e200f244d414e7f0da673e1..8188d03fa18460691ebc398f33d6d7c87c590659 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
-@@ -405,6 +405,7 @@ static_library("test_support") {
+@@ -428,6 +428,7 @@ static_library("test_support") {
"//ui/gl",
]
diff --git a/patches/chrome-test-data-webui-settings-BUILD.gn.patch b/patches/chrome-test-data-webui-settings-BUILD.gn.patch
index ba321e86a8f0..e8a36e90eb53 100644
--- a/patches/chrome-test-data-webui-settings-BUILD.gn.patch
+++ b/patches/chrome-test-data-webui-settings-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/chrome/test/data/webui/settings/BUILD.gn b/chrome/test/data/webui/settings/BUILD.gn
-index b2029e2bc47b0cf44f89514e56451550b71c4bc9..001d095368a14029b75f89500cef1ababd1e2cc9 100644
+index 97f10c465bba72b320183814e360a004473fb5a6..b6e75653b4ca0762597ebb0d1c3ed9da8f15bc78 100644
--- a/chrome/test/data/webui/settings/BUILD.gn
+++ b/chrome/test/data/webui/settings/BUILD.gn
-@@ -234,6 +234,7 @@ build_webui_tests("build") {
+@@ -226,6 +226,7 @@ build_webui_tests("build") {
ts_definitions +=
[ "//tools/typescript/definitions/quick_unlock_private.d.ts" ]
}
diff --git a/patches/chrome-test-include_js_tests.gni.patch b/patches/chrome-test-include_js_tests.gni.patch
index d9bf8fd50c35..f5e417d832ae 100644
--- a/patches/chrome-test-include_js_tests.gni.patch
+++ b/patches/chrome-test-include_js_tests.gni.patch
@@ -1,11 +1,13 @@
diff --git a/chrome/test/include_js_tests.gni b/chrome/test/include_js_tests.gni
-index 72a439884d2be78df848ceaddca6fe7237f30a6c..67212f0a7b902bec22a89d0fc56999fc7a510b6c 100644
+index 68ffc11592f831374447b4bbb47af37e52203028..68ed67a1bb5955e868cd14f19892c31e81bc808d 100644
--- a/chrome/test/include_js_tests.gni
+++ b/chrome/test/include_js_tests.gni
-@@ -3,5 +3,6 @@ import("//build/config/sanitizers/sanitizers.gni")
+@@ -1,7 +1,7 @@
+ import("//build/config/sanitizers/sanitizers.gni")
+
if (!is_android) {
- # js_tests don't work in cross builds, https://crbug.com/1010561
- include_js_tests =
-+ false &&
- !(is_asan || is_msan || is_tsan || is_cfi || (is_win && host_os != "win"))
- }
+- include_js_tests = !(is_asan || is_msan || is_tsan || is_cfi)
++ include_js_tests = false && !(is_asan || is_msan || is_tsan || is_cfi)
+
+ # Tests using js2gtest don't work in cross builds, https://crbug.com/1010561
+ include_js2gtest_tests = include_js_tests && !(is_win && host_os != "win")
diff --git a/patches/chrome-tools-build-mac-infoplist_strings_util.cc.patch b/patches/chrome-tools-build-mac-infoplist_strings_util.cc.patch
index d7c397ff1a8c..e11f7611e932 100644
--- a/patches/chrome-tools-build-mac-infoplist_strings_util.cc.patch
+++ b/patches/chrome-tools-build-mac-infoplist_strings_util.cc.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/tools/build/mac/infoplist_strings_util.cc b/chrome/tools/build/mac/infoplist_strings_util.cc
-index c4a8d53cf967f4905e0dd435c706fe8f5ce442d4..5d8bc93df7bbadfa5c2ecf8d8692131a7271b714 100644
+index 57c5b13e8aefe45122ac9d4e47e2f2bdf0bac709..c1f6f661b0ab6b6d773aad96c3d453ef617e015d 100644
--- a/chrome/tools/build/mac/infoplist_strings_util.cc
+++ b/chrome/tools/build/mac/infoplist_strings_util.cc
@@ -153,6 +153,7 @@ int main(int argc, char* const argv[]) {
diff --git a/patches/chrome-utility-BUILD.gn.patch b/patches/chrome-utility-BUILD.gn.patch
index efdbc96e2edc..7e4b4547a951 100644
--- a/patches/chrome-utility-BUILD.gn.patch
+++ b/patches/chrome-utility-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
-index fc868ad0b5299938f27fd42c138e708d501fa090..c765751a3d54cc1d1a6689b6c545f24c3caabbdc 100644
+index bf29364c22715208cf40701e3ec7102d7d120cde..e0521460a6c6fba865c3d443f9b183e3d323747f 100644
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -72,6 +72,8 @@ static_library("utility") {
diff --git a/patches/components-bookmarks-browser-bookmark_model.h.patch b/patches/components-bookmarks-browser-bookmark_model.h.patch
index 58cb3087c167..9c2c4af85bc1 100644
--- a/patches/components-bookmarks-browser-bookmark_model.h.patch
+++ b/patches/components-bookmarks-browser-bookmark_model.h.patch
@@ -1,5 +1,5 @@
diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmarks/browser/bookmark_model.h
-index 8258c2b992e8ceafa4dcb7a7906ad8d7dc063c3d..976921b7061126d1fa32de2a6607432d1be4bc1d 100644
+index 815a6cf5f7c4f69618747ab6f5726d3e91995aca..baf5eb9f889ad021d79adce8eb01a309d5b46265 100644
--- a/components/bookmarks/browser/bookmark_model.h
+++ b/components/bookmarks/browser/bookmark_model.h
@@ -385,6 +385,7 @@ class BookmarkModel final : public BookmarkUndoProvider,
diff --git a/patches/components-browser_ui-settings-android-BUILD.gn.patch b/patches/components-browser_ui-settings-android-BUILD.gn.patch
index 085b24e66fb0..d10153d1c609 100644
--- a/patches/components-browser_ui-settings-android-BUILD.gn.patch
+++ b/patches/components-browser_ui-settings-android-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/components/browser_ui/settings/android/BUILD.gn b/components/browser_ui/settings/android/BUILD.gn
-index 55fd2ccd2e56af0ec8a46eff8946d42ffb0d96a4..94205e8a0cc4b90d4e5f037e1d49e4dd6d687200 100644
+index 2fa1b261017fca82b35adf3902f9e9420d840322..c4d3de22f9b12ad195af4cfca423f7ebbb6403c1 100644
--- a/components/browser_ui/settings/android/BUILD.gn
+++ b/components/browser_ui/settings/android/BUILD.gn
@@ -48,6 +48,7 @@ android_library("java") {
diff --git a/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SingleCategorySettings.java.patch b/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SingleCategorySettings.java.patch
index 9f44efd0271f..8088bf31c88a 100644
--- a/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SingleCategorySettings.java.patch
+++ b/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SingleCategorySettings.java.patch
@@ -1,8 +1,8 @@
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java
-index 55326fff2442efd47d08491fc495d41308e4f956..6a401b0e2ed9db7ecb5435965081c9e8dd9a9732 100644
+index e71790e5af9a111938135cbf2a67dd4376192bcc..d47e7a099c9fd8f258c03a4d7052cbc0e748bd4e 100644
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SingleCategorySettings.java
-@@ -513,7 +513,7 @@ public class SingleCategorySettings extends SiteSettingsPreferenceFragment
+@@ -518,7 +518,7 @@ public class SingleCategorySettings extends SiteSettingsPreferenceFragment
if (queryHasChanged) getInfoForOrigins();
return true;
}
diff --git a/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SiteSettingsCategory.java.patch b/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SiteSettingsCategory.java.patch
index 91d2ab1febb5..a32e2b661b8c 100644
--- a/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SiteSettingsCategory.java.patch
+++ b/patches/components-browser_ui-site_settings-android-java-src-org-chromium-components-browser_ui-site_settings-SiteSettingsCategory.java.patch
@@ -1,26 +1,26 @@
diff --git a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
-index 57be3c740517a3a9259f73b964bbc2d71a2ed0ef..1811dd966f7a9ee578737fe891eec714b6a6459e 100644
+index cc2951ae1d3a7694b5b2f2691ddd76e436d715bc..1cbb9a2a67b35d9b53db23262c4b71ad0dca1d7c 100644
--- a/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
+++ b/components/browser_ui/site_settings/android/java/src/org/chromium/components/browser_ui/site_settings/SiteSettingsCategory.java
@@ -47,7 +47,7 @@ public class SiteSettingsCategory {
Type.PROTECTED_MEDIA, Type.SENSORS, Type.SOUND, Type.USB, Type.VIRTUAL_REALITY,
Type.USE_STORAGE, Type.AUTO_DARK_WEB_CONTENT, Type.REQUEST_DESKTOP_SITE,
Type.FEDERATED_IDENTITY_API, Type.THIRD_PARTY_COOKIES, Type.SITE_DATA, Type.ANTI_ABUSE,
-- Type.NUM_ENTRIES})
-+ Type.NUM_ENTRIES, Type.AUTOPLAY, Type.BRAVE_GOOGLE_SIGN_IN, Type.BRAVE_LOCALHOST_ACCESS})
+- Type.ZOOM, Type.NUM_ENTRIES})
++ Type.ZOOM, Type.NUM_ENTRIES, Type.AUTOPLAY, Type.BRAVE_GOOGLE_SIGN_IN, Type.BRAVE_LOCALHOST_ACCESS})
@Retention(RetentionPolicy.SOURCE)
public @interface Type {
// All updates here must also be reflected in {@link #preferenceKey(int)
-@@ -81,10 +81,11 @@ public class SiteSettingsCategory {
- int THIRD_PARTY_COOKIES = 26;
+@@ -82,10 +82,11 @@ public class SiteSettingsCategory {
int SITE_DATA = 27;
int ANTI_ABUSE = 28;
-+ int AUTOPLAY = 29; int BRAVE_GOOGLE_SIGN_IN = 30; int BRAVE_LOCALHOST_ACCESS = 31;
+ int ZOOM = 29;
++ int AUTOPLAY = 30; int BRAVE_GOOGLE_SIGN_IN = 31; int BRAVE_LOCALHOST_ACCESS = 32;
/**
* Number of handled categories used for calculating array sizes.
*/
-- int NUM_ENTRIES = 29;
-+ int NUM_ENTRIES = 32;
+- int NUM_ENTRIES = 30;
++ int NUM_ENTRIES = 33;
}
private final BrowserContextHandle mBrowserContextHandle;
diff --git a/patches/components-browser_ui-widget-android-java-res-values-dimens.xml.patch b/patches/components-browser_ui-widget-android-java-res-values-dimens.xml.patch
index 19a9870f45dd..fcbb5105833a 100644
--- a/patches/components-browser_ui-widget-android-java-res-values-dimens.xml.patch
+++ b/patches/components-browser_ui-widget-android-java-res-values-dimens.xml.patch
@@ -1,5 +1,5 @@
diff --git a/components/browser_ui/widget/android/java/res/values/dimens.xml b/components/browser_ui/widget/android/java/res/values/dimens.xml
-index ec3c953c61ec6316ea14f0c3cfc9d7c537e0e65c..8eafeed2663a84609d1be6959f2912e0e2e1e1ab 100644
+index 289a377417fcac7f34ec54617af76b8843625ff2..3cdaa7139a3f565c90518bca6d49f2b6575cf378 100644
--- a/components/browser_ui/widget/android/java/res/values/dimens.xml
+++ b/components/browser_ui/widget/android/java/res/values/dimens.xml
@@ -78,7 +78,7 @@ found in the LICENSE file.
diff --git a/patches/components-content_settings-browser-page_specific_content_settings.cc.patch b/patches/components-content_settings-browser-page_specific_content_settings.cc.patch
index 8f566cdb1e2e..204a6803b05a 100644
--- a/patches/components-content_settings-browser-page_specific_content_settings.cc.patch
+++ b/patches/components-content_settings-browser-page_specific_content_settings.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/content_settings/browser/page_specific_content_settings.cc b/components/content_settings/browser/page_specific_content_settings.cc
-index c8518b79647cf14d34575b64ac2a6841479f3810..dc0a0366b0f139fed65c604d902504c289878200 100644
+index a2539cadc25f467745595226d7687e4bd2d62849..722355773763413a7bd0b8903c2cc70252d5aba2 100644
--- a/components/content_settings/browser/page_specific_content_settings.cc
+++ b/components/content_settings/browser/page_specific_content_settings.cc
-@@ -671,6 +671,7 @@ bool PageSpecificContentSettings::IsContentBlocked(
+@@ -771,6 +771,7 @@ bool PageSpecificContentSettings::IsContentBlocked(
content_type == ContentSettingsType::ADS ||
content_type == ContentSettingsType::SOUND ||
content_type == ContentSettingsType::CLIPBOARD_READ_WRITE ||
@@ -10,7 +10,7 @@ index c8518b79647cf14d34575b64ac2a6841479f3810..dc0a0366b0f139fed65c604d902504c2
content_type == ContentSettingsType::SENSORS ||
content_type == ContentSettingsType::GEOLOCATION) {
const auto& it = content_settings_status_.find(content_type);
-@@ -695,6 +696,7 @@ bool PageSpecificContentSettings::IsContentAllowed(
+@@ -796,6 +797,7 @@ bool PageSpecificContentSettings::IsContentAllowed(
content_type != ContentSettingsType::MEDIASTREAM_CAMERA &&
content_type != ContentSettingsType::MIDI_SYSEX &&
content_type != ContentSettingsType::CLIPBOARD_READ_WRITE &&
diff --git a/patches/components-content_settings-core-browser-BUILD.gn.patch b/patches/components-content_settings-core-browser-BUILD.gn.patch
index 9bc018dec55f..4bf331f3ca62 100644
--- a/patches/components-content_settings-core-browser-BUILD.gn.patch
+++ b/patches/components-content_settings-core-browser-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/content_settings/core/browser/BUILD.gn b/components/content_settings/core/browser/BUILD.gn
-index 978c739d7e2a88764bc594fc775451bcaad29d4a..f323181c27a5b35bfe1b2d369158c8b9703d2b4b 100644
+index 03c3d6a249733817074f8663b9eeb31e797a7282..e5e668aee61d877d1f3822ed521ece908e95e102 100644
--- a/components/content_settings/core/browser/BUILD.gn
+++ b/components/content_settings/core/browser/BUILD.gn
-@@ -83,6 +83,7 @@ static_library("browser") {
+@@ -85,6 +85,7 @@ static_library("browser") {
}
configs += [ "//build/config/compiler:wexit_time_destructors" ]
diff --git a/patches/components-content_settings-core-browser-content_settings_default_provider.cc.patch b/patches/components-content_settings-core-browser-content_settings_default_provider.cc.patch
index 5c0f7159669f..cab4be1f0ad9 100644
--- a/patches/components-content_settings-core-browser-content_settings_default_provider.cc.patch
+++ b/patches/components-content_settings-core-browser-content_settings_default_provider.cc.patch
@@ -1,11 +1,11 @@
diff --git a/components/content_settings/core/browser/content_settings_default_provider.cc b/components/content_settings/core/browser/content_settings_default_provider.cc
-index baff459f7fc37af49fd5edb2772802cb47b9ffc8..bf0a76d7a7d1b3c161e0f67b986f6d909aced6fa 100644
+index 226720a6d80fef873dd78acef84d0905c94ec422..0af999981980ee5271d0772a6c027e64987c5bb6 100644
--- a/components/content_settings/core/browser/content_settings_default_provider.cc
+++ b/components/content_settings/core/browser/content_settings_default_provider.cc
-@@ -360,6 +360,7 @@ void DefaultProvider::DiscardOrMigrateObsoletePreferences() {
- }
- prefs_->ClearPref(kDeprecatedEnableDRM);
- #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
+@@ -335,6 +335,7 @@ void DefaultProvider::DiscardOrMigrateObsoletePreferences() {
+ prefs_->ClearPref(kObsoletePpapiBrokerDefaultPref);
+ #endif // !BUILDFLAG(IS_ANDROID)
+ #endif // !BUILDFLAG(IS_IOS)
+BRAVE_DISCARD_OR_MIGRATE_OBSOLETE_PREFERENCES
}
diff --git a/patches/components-content_settings-core-browser-content_settings_policy_provider.cc.patch b/patches/components-content_settings-core-browser-content_settings_policy_provider.cc.patch
index 505742b4c3ce..5be01c521790 100644
--- a/patches/components-content_settings-core-browser-content_settings_policy_provider.cc.patch
+++ b/patches/components-content_settings-core-browser-content_settings_policy_provider.cc.patch
@@ -1,5 +1,5 @@
diff --git a/components/content_settings/core/browser/content_settings_policy_provider.cc b/components/content_settings/core/browser/content_settings_policy_provider.cc
-index 273e541ee6922aa42a9dd108723f2f7c8a25cfda..a63dc2c1be408579b420d5e2e0fdfdcd1714ac7c 100644
+index 575dfe06dc0ec861246698bc4a9a15eaba542e01..679a5c51518ccc8aebcd854f85293ca06a95c734 100644
--- a/components/content_settings/core/browser/content_settings_policy_provider.cc
+++ b/components/content_settings/core/browser/content_settings_policy_provider.cc
@@ -34,6 +34,7 @@ struct PrefsForManagedContentSettingsMapEntry {
@@ -10,7 +10,7 @@ index 273e541ee6922aa42a9dd108723f2f7c8a25cfda..a63dc2c1be408579b420d5e2e0fdfdcd
{prefs::kManagedCookiesAllowedForUrls, ContentSettingsType::COOKIES,
CONTENT_SETTING_ALLOW},
{prefs::kManagedCookiesBlockedForUrls, ContentSettingsType::COOKIES,
-@@ -112,6 +113,7 @@ constexpr PrefsForManagedContentSettingsMapEntry
+@@ -116,6 +117,7 @@ constexpr PrefsForManagedContentSettingsMapEntry
};
constexpr const char* kManagedPrefs[] = {
diff --git a/patches/components-content_settings-core-browser-content_settings_pref.cc.patch b/patches/components-content_settings-core-browser-content_settings_pref.cc.patch
index db216afe0608..4dbd901eb4ff 100644
--- a/patches/components-content_settings-core-browser-content_settings_pref.cc.patch
+++ b/patches/components-content_settings-core-browser-content_settings_pref.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/content_settings/core/browser/content_settings_pref.cc b/components/content_settings/core/browser/content_settings_pref.cc
-index f580cf89bc35cf4335cdda73a640fce51d271a3b..aa8f0b6cb7125cb10a77267352301356942fc74e 100644
+index 4e7b1a90b41149f13ebed02ce6b75824aeab4045..79a3e81f595b4a2b9a41d0a3edc00684cd350dad 100644
--- a/components/content_settings/core/browser/content_settings_pref.cc
+++ b/components/content_settings/core/browser/content_settings_pref.cc
-@@ -191,6 +191,7 @@ void ContentSettingsPref::SetWebsiteSetting(
+@@ -200,6 +200,7 @@ void ContentSettingsPref::SetWebsiteSetting(
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(prefs_);
DCHECK(primary_pattern != ContentSettingsPattern::Wildcard() ||
diff --git a/patches/components-content_settings-core-browser-content_settings_pref_provider.h.patch b/patches/components-content_settings-core-browser-content_settings_pref_provider.h.patch
index 49593a53f9d4..75b9685c9d88 100644
--- a/patches/components-content_settings-core-browser-content_settings_pref_provider.h.patch
+++ b/patches/components-content_settings-core-browser-content_settings_pref_provider.h.patch
@@ -1,8 +1,8 @@
diff --git a/components/content_settings/core/browser/content_settings_pref_provider.h b/components/content_settings/core/browser/content_settings_pref_provider.h
-index bf8fd6bc47424aea608f642d051909eb93fbbc86..6088b688c5bf599e5b4a54c75a168d455575da02 100644
+index 35d4908d5c6d571c302faf196fec97e648f3e5fa..bd29072a4ac8ed079a82fdcf54075e4e20866dc0 100644
--- a/components/content_settings/core/browser/content_settings_pref_provider.h
+++ b/components/content_settings/core/browser/content_settings_pref_provider.h
-@@ -69,6 +69,7 @@ class PrefProvider : public UserModifiableProvider {
+@@ -78,6 +78,7 @@ class PrefProvider : public UserModifiableProvider {
ContentSettingsPref* GetPref(ContentSettingsType type) const;
private:
diff --git a/patches/components-content_settings-core-browser-content_settings_registry.cc.patch b/patches/components-content_settings-core-browser-content_settings_registry.cc.patch
index 574890f5e749..38f4b0f04fad 100644
--- a/patches/components-content_settings-core-browser-content_settings_registry.cc.patch
+++ b/patches/components-content_settings-core-browser-content_settings_registry.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
-index cdf28d4c1aa2a7605eb6fb5475caf074df18e88f..cc2b91c0a6ad83b3c6721411f9d877e63ac3a44c 100644
+index fe872eb3a92a26e93b40150d0d76e1b6bbb734f3..a209e0df989046137778821cdf115c1ff8be37ac 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
-@@ -598,6 +598,7 @@ void ContentSettingsRegistry::Init() {
+@@ -609,6 +609,7 @@ void ContentSettingsRegistry::Init() {
WebsiteSettingsRegistry::ALL_PLATFORMS,
ContentSettingsInfo::INHERIT_IN_INCOGNITO,
ContentSettingsInfo::EXCEPTIONS_ON_SECURE_AND_INSECURE_ORIGINS);
diff --git a/patches/components-content_settings-core-browser-content_settings_uma_util.cc.patch b/patches/components-content_settings-core-browser-content_settings_uma_util.cc.patch
index 73d34fe15422..ff36b2d7d89e 100644
--- a/patches/components-content_settings-core-browser-content_settings_uma_util.cc.patch
+++ b/patches/components-content_settings-core-browser-content_settings_uma_util.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/content_settings/core/browser/content_settings_uma_util.cc b/components/content_settings/core/browser/content_settings_uma_util.cc
-index 762454cfa1fcb627508694d3856b2f51917195b9..c9bd16ece008c27179ec23a93ec57e68e5922574 100644
+index 6516306b9d9adf454a78542d22301ba54296c1db..775cd641d837806490acf9e2917759a068273016 100644
--- a/components/content_settings/core/browser/content_settings_uma_util.cc
+++ b/components/content_settings/core/browser/content_settings_uma_util.cc
-@@ -118,6 +118,7 @@ constexpr auto kHistogramValue = base::MakeFixedFlatMapGet(type);
diff --git a/patches/components-content_settings-core-browser-cookie_settings.cc.patch b/patches/components-content_settings-core-browser-cookie_settings.cc.patch
deleted file mode 100644
index 2202dac0bc41..000000000000
--- a/patches/components-content_settings-core-browser-cookie_settings.cc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/components/content_settings/core/browser/cookie_settings.cc b/components/content_settings/core/browser/cookie_settings.cc
-index 5ae664478680d5f8537f1be4e71c89cb76791f7f..08978712fd1d4b070203e9d92b1e8c49b7497e19 100644
---- a/components/content_settings/core/browser/cookie_settings.cc
-+++ b/components/content_settings/core/browser/cookie_settings.cc
-@@ -229,6 +229,7 @@ ContentSetting CookieSettings::GetCookieSettingInternal(
- !first_party_url.SchemeIs(extension_scheme_);
-
- bool block = block_third && is_third_party_request;
-+ BRAVE_COOKIE_SETTINGS_GET_COOKIES_SETTINGS_INTERNAL
-
- if (!block) {
- FireStorageAccessHistogram(
diff --git a/patches/components-content_settings-core-common-content_settings_types.h.patch b/patches/components-content_settings-core-common-content_settings_types.h.patch
index 6c977a1c684f..ab092a6e9f5d 100644
--- a/patches/components-content_settings-core-common-content_settings_types.h.patch
+++ b/patches/components-content_settings-core-common-content_settings_types.h.patch
@@ -1,10 +1,10 @@
diff --git a/components/content_settings/core/common/content_settings_types.h b/components/content_settings/core/common/content_settings_types.h
-index e238be9d538dd257f74101c413cbb69cf04f39f5..fdede737f382949a667b56301edaf618af09f2db 100644
+index 3fe2cfc56bb5b6fb1007be87e7f30ac791b12f85..b2f89bacb86acfeca04612c1932285e0e1f8d8b6 100644
--- a/components/content_settings/core/common/content_settings_types.h
+++ b/components/content_settings/core/common/content_settings_types.h
-@@ -331,6 +331,22 @@ enum class ContentSettingsType : int32_t {
- // https://github.com/screen-share/capture-all-screens
- ALL_SCREEN_CAPTURE,
+@@ -343,6 +343,22 @@ enum class ContentSettingsType : int32_t {
+ // Setting for supporting 3PCD.
+ TPCD_SUPPORT,
+ BRAVE_START,
+ BRAVE_ADS = BRAVE_START,
diff --git a/patches/components-content_settings-core-common-cookie_settings_base.cc.patch b/patches/components-content_settings-core-common-cookie_settings_base.cc.patch
new file mode 100644
index 000000000000..4a992d3200de
--- /dev/null
+++ b/patches/components-content_settings-core-common-cookie_settings_base.cc.patch
@@ -0,0 +1,12 @@
+diff --git a/components/content_settings/core/common/cookie_settings_base.cc b/components/content_settings/core/common/cookie_settings_base.cc
+index d24f6bf106a8a181881535108f008364349a2fb2..1adf1889a46cf82bd4ea2404e7fa0a274d1bb962 100644
+--- a/components/content_settings/core/common/cookie_settings_base.cc
++++ b/components/content_settings/core/common/cookie_settings_base.cc
+@@ -253,6 +253,7 @@ CookieSettingsBase::GetCookieSettingInternal(
+ ShouldBlockThirdPartyCookies() &&
+ !IsThirdPartyCookiesAllowedScheme(first_party_url.scheme());
+
++ BRAVE_COOKIE_SETTINGS_BASE_GET_COOKIES_SETTINGS_INTERNAL
+ if (IsAllowed(setting) && !block_third) {
+ FireStorageAccessHistogram(
+ net::cookie_util::StorageAccessResult::ACCESS_ALLOWED);
diff --git a/patches/components-content_settings-core-common-cookie_settings_base.h.patch b/patches/components-content_settings-core-common-cookie_settings_base.h.patch
index 701e212bc77e..6ff8766aea64 100644
--- a/patches/components-content_settings-core-common-cookie_settings_base.h.patch
+++ b/patches/components-content_settings-core-common-cookie_settings_base.h.patch
@@ -1,13 +1,13 @@
diff --git a/components/content_settings/core/common/cookie_settings_base.h b/components/content_settings/core/common/cookie_settings_base.h
-index b5623da8c1ea26ff1fa6afd1c9df203ccfe95d46..86acd8b6f6bdab13bf80f5fae366902a9d7c8f09 100644
+index 566f5b36433c4a62891e31812ec6467bdcd93a2c..870f3e2c8d69897578a97704800a5b97de7b663d 100644
--- a/components/content_settings/core/common/cookie_settings_base.h
+++ b/components/content_settings/core/common/cookie_settings_base.h
-@@ -73,7 +73,7 @@ class CookieSettingsBase {
+@@ -72,7 +72,7 @@ class CookieSettingsBase {
CookieSettingsBase(const CookieSettingsBase&) = delete;
CookieSettingsBase& operator=(const CookieSettingsBase&) = delete;
- virtual ~CookieSettingsBase() = default;
+ virtual ~CookieSettingsBase();
- // Returns true if the cookie associated with |domain| should be deleted
- // on exit.
+ // An enum that represents the scope of cookies to which the user's
+ // third-party-cookie-blocking setting applies, in a given context.
diff --git a/patches/components-crash-core-app-breakpad_linux.cc.patch b/patches/components-crash-core-app-breakpad_linux.cc.patch
index 14a18489d14e..097ab1e327fd 100644
--- a/patches/components-crash-core-app-breakpad_linux.cc.patch
+++ b/patches/components-crash-core-app-breakpad_linux.cc.patch
@@ -1,5 +1,5 @@
diff --git a/components/crash/core/app/breakpad_linux.cc b/components/crash/core/app/breakpad_linux.cc
-index 22477fdfcc7aa9ce6ab5ddefe55ce278c5ede23f..a47ccb8750a5caded81edc45af60f5135cc64b6a 100644
+index 39f93b1d3a26eb5f6c7b3172ffca4ed0905be67b..68e45b47382077516f30fb994fccab8147f83abc 100644
--- a/components/crash/core/app/breakpad_linux.cc
+++ b/components/crash/core/app/breakpad_linux.cc
@@ -1462,7 +1462,7 @@ bool IsValidCrashReportId(const char* buf, size_t bytes_read,
@@ -11,7 +11,7 @@ index 22477fdfcc7aa9ce6ab5ddefe55ce278c5ede23f..a47ccb8750a5caded81edc45af60f513
return false;
}
return true;
-@@ -1957,7 +1957,7 @@ void HandleCrashDump(const BreakpadInfo& info) {
+@@ -1954,7 +1954,7 @@ void HandleCrashDump(const BreakpadInfo& info) {
if (upload_child > 0) {
IGNORE_RET(sys_close(fds[1])); // Close write end of pipe.
diff --git a/patches/components-crash-core-app-crash_reporter_client.cc.patch b/patches/components-crash-core-app-crash_reporter_client.cc.patch
index 11a2a1e20cc0..ed6a2adce6fc 100644
--- a/patches/components-crash-core-app-crash_reporter_client.cc.patch
+++ b/patches/components-crash-core-app-crash_reporter_client.cc.patch
@@ -1,12 +1,12 @@
diff --git a/components/crash/core/app/crash_reporter_client.cc b/components/crash/core/app/crash_reporter_client.cc
-index 284dd099122df85d2cebf467cdb3a54b45a343eb..89d593d4d9f175d661eb0934aad40ca35b034975 100644
+index 3f3ed53d48fc4b19642cae847e69982782790e31..fa3edf874203d4d386bda4d862559cc645858dbb 100644
--- a/components/crash/core/app/crash_reporter_client.cc
+++ b/components/crash/core/app/crash_reporter_client.cc
-@@ -194,6 +194,7 @@ void CrashReporterClient::GetSanitizationInformation(
+@@ -190,6 +190,7 @@ void CrashReporterClient::GetSanitizationInformation(
#endif
std::string CrashReporterClient::GetUploadUrl() {
+ BRAVE_CRASH_REPORTER_CLIENT_GET_UPLOAD_URL
- #if BUILDFLAG(GOOGLE_CHROME_BRANDING) && defined(OFFICIAL_BUILD)
- // Only allow the possibility of report upload in official builds. This
- // crash server won't have symbols for any other build types.
+ return kDefaultUploadUrl;
+ }
+
diff --git a/patches/components-embedder_support-user_agent_utils.cc.patch b/patches/components-embedder_support-user_agent_utils.cc.patch
index f56bb05f47e1..f1ef993a343f 100644
--- a/patches/components-embedder_support-user_agent_utils.cc.patch
+++ b/patches/components-embedder_support-user_agent_utils.cc.patch
@@ -1,5 +1,5 @@
diff --git a/components/embedder_support/user_agent_utils.cc b/components/embedder_support/user_agent_utils.cc
-index 456414fea977bfdc9f41a620e626014e2e499fb4..f0a4cb5b3de06f7a66eff39ee23450b5a8c97bc6 100644
+index 2ab34ff2fc8a55da4e6403ac957ef90d30fc3bdf..c16504877a64f1ff322d67246c04aa83be6d06a5 100644
--- a/components/embedder_support/user_agent_utils.cc
+++ b/components/embedder_support/user_agent_utils.cc
@@ -248,6 +248,7 @@ const blink::UserAgentBrandList GetUserAgentBrandList(
diff --git a/patches/components-favicon-core-favicon_database.cc.patch b/patches/components-favicon-core-favicon_database.cc.patch
index 1f948747df85..3f439fc40a12 100644
--- a/patches/components-favicon-core-favicon_database.cc.patch
+++ b/patches/components-favicon-core-favicon_database.cc.patch
@@ -1,5 +1,5 @@
diff --git a/components/favicon/core/favicon_database.cc b/components/favicon/core/favicon_database.cc
-index 1e71a09d8c8f7626a05b08912283fe8b2a05f7ed..043768fa22ba38d9ddb742a4861dee171496cb44 100644
+index 788cc58a8d04f366d1afd228128e3abbcb3179a4..840298c001ddeec4d033dcaecfa9ed900805867d 100644
--- a/components/favicon/core/favicon_database.cc
+++ b/components/favicon/core/favicon_database.cc
@@ -445,6 +445,7 @@ FaviconBitmapID FaviconDatabase::AddFaviconBitmap(
diff --git a/patches/components-history-core-browser-BUILD.gn.patch b/patches/components-history-core-browser-BUILD.gn.patch
index ee7dcfc930c7..886b33e23335 100644
--- a/patches/components-history-core-browser-BUILD.gn.patch
+++ b/patches/components-history-core-browser-BUILD.gn.patch
@@ -1,10 +1,10 @@
diff --git a/components/history/core/browser/BUILD.gn b/components/history/core/browser/BUILD.gn
-index 6a8274d040f7a51c05dcfb4dcdfa932c9210c4d4..8bad047a94f96524c2a4af22ca854c981bd4023f 100644
+index 8db9ac9378ea2f979ab7a8e6beb33987a704c795..7f3682b60eda9def297efdacb1f198281f996946 100644
--- a/components/history/core/browser/BUILD.gn
+++ b/components/history/core/browser/BUILD.gn
-@@ -159,6 +159,7 @@ static_library("browser") {
- if (is_ios) {
- deps += [ "//base/ios" ]
+@@ -155,6 +155,7 @@ static_library("browser") {
+ "android/visit_sql_handler.h",
+ ]
}
+ import("//brave/components/history/core/browser/sources.gni") sources += brave_components_history_core_browser_sources deps += brave_components_history_core_browser_deps
}
diff --git a/patches/components-history-core-browser-history_types.h.patch b/patches/components-history-core-browser-history_types.h.patch
index 0f935a80464b..f0a593bdcad1 100644
--- a/patches/components-history-core-browser-history_types.h.patch
+++ b/patches/components-history-core-browser-history_types.h.patch
@@ -1,5 +1,5 @@
diff --git a/components/history/core/browser/history_types.h b/components/history/core/browser/history_types.h
-index e76ea472f14ca1f00dbe6b2746714053873e5eb5..8153c95433489ea48202de460dda20c0ab595cc5 100644
+index 9923f0516c6227888c2b364361ce1c6d04ed70fa..d3c8cc06c81270845f39c776e7a270158cd27f1c 100644
--- a/components/history/core/browser/history_types.h
+++ b/components/history/core/browser/history_types.h
@@ -54,6 +54,8 @@ enum VisitSource {
diff --git a/patches/components-history-core-browser-sync-typed_url_sync_bridge_unittest.cc.patch b/patches/components-history-core-browser-sync-typed_url_sync_bridge_unittest.cc.patch
index 70b2a85377de..4f86ea7dd416 100644
--- a/patches/components-history-core-browser-sync-typed_url_sync_bridge_unittest.cc.patch
+++ b/patches/components-history-core-browser-sync-typed_url_sync_bridge_unittest.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/history/core/browser/sync/typed_url_sync_bridge_unittest.cc b/components/history/core/browser/sync/typed_url_sync_bridge_unittest.cc
-index f6af2402541425a9f53b2b6eade70216177d1582..04b100ab9e9c2db0657489e1129f176af52a47e1 100644
+index b396a2de48c821dcee672403709a179021cbe601..c223995a7a7920c8794fae293e32defb463070be 100644
--- a/components/history/core/browser/sync/typed_url_sync_bridge_unittest.cc
+++ b/components/history/core/browser/sync/typed_url_sync_bridge_unittest.cc
-@@ -346,6 +346,7 @@ class TypedURLSyncBridgeTest : public testing::Test {
+@@ -347,6 +347,7 @@ class TypedURLSyncBridgeTest : public testing::Test {
typed_url_sync_bridge_->Init();
typed_url_sync_bridge_->history_backend_observation_.Reset();
fake_history_backend_->SetTypedURLSyncBridgeForTest(std::move(bridge));
@@ -10,7 +10,7 @@ index f6af2402541425a9f53b2b6eade70216177d1582..04b100ab9e9c2db0657489e1129f176a
}
void TearDown() override { fake_history_backend_->Closing(); }
-@@ -553,6 +554,7 @@ class TypedURLSyncBridgeTest : public testing::Test {
+@@ -554,6 +555,7 @@ class TypedURLSyncBridgeTest : public testing::Test {
scoped_refptr fake_history_backend_;
raw_ptr typed_url_sync_bridge_ = nullptr;
NiceMock mock_processor_;
diff --git a/patches/components-infobars-core-infobar_delegate.h.patch b/patches/components-infobars-core-infobar_delegate.h.patch
index 0af2eb901e43..dee4e60a7aef 100644
--- a/patches/components-infobars-core-infobar_delegate.h.patch
+++ b/patches/components-infobars-core-infobar_delegate.h.patch
@@ -1,11 +1,11 @@
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h
-index b73ffcb9031c88906841fa30925623d101c23964..10795a2f2b4c0d9f2e31293a6d120cdbfba06334 100644
+index be20a21aa17688c9635d13a6b591cd817715c164..be3a6a526f47ed2fcd739452ecd8c8e1ba4e7912 100644
--- a/components/infobars/core/infobar_delegate.h
+++ b/components/infobars/core/infobar_delegate.h
-@@ -185,6 +185,7 @@ class InfoBarDelegate {
- TAILORED_SECURITY_SERVICE_INFOBAR_DELEGATE = 111,
- CHROME_FOR_TESTING_INFOBAR_DELEGATE = 112,
- EXTENSIONS_WEB_AUTH_FLOW_INFOBAR_DELEGATE = 113,
+@@ -188,6 +188,7 @@ class InfoBarDelegate {
+ TAB_PICKUP_INFOBAR_DELEGATE = 114,
+ LOCAL_TEST_POLICIES_APPLIED_INFOBAR = 115,
+ BIDDING_AND_AUCTION_CONSENTED_DEBUGGING_DELEGATE = 116,
+ BRAVE_INFOBAR_DELEGATE_IDENTIFIERS
};
diff --git a/patches/components-metrics-BUILD.gn.patch b/patches/components-metrics-BUILD.gn.patch
index f31286091889..0da9bb4e73e3 100644
--- a/patches/components-metrics-BUILD.gn.patch
+++ b/patches/components-metrics-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
-index 1f192146092457ae47797cb78497ed681c5c1003..dc53f11d6c580c729d1b1774a27020cc936cab58 100644
+index 1997a0da0c24ea8d0e231d67eb4a09bc50315d34..a4e20e6d7f5997d9871486b8c5187a658d8de98c 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
-@@ -285,6 +285,7 @@ if (!is_cronet_build || is_ios) {
+@@ -283,6 +283,7 @@ if (!is_cronet_build || is_ios) {
"motherboard_metrics_provider.h",
]
}
diff --git a/patches/components-omnibox-browser-BUILD.gn.patch b/patches/components-omnibox-browser-BUILD.gn.patch
index f9e3d9762ceb..a622c0707642 100644
--- a/patches/components-omnibox-browser-BUILD.gn.patch
+++ b/patches/components-omnibox-browser-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/omnibox/browser/BUILD.gn b/components/omnibox/browser/BUILD.gn
-index 5c5d8a0ff5b526754830627fc8a7860c0c5fffda..a63d5f26b771eab2facd726655cb2cf26a3a5527 100644
+index 4698daaed87d15cba95c5be596b618c7bf531483..f2fe7df58d73938ab38d626e857aa27355b5f6a6 100644
--- a/components/omnibox/browser/BUILD.gn
+++ b/components/omnibox/browser/BUILD.gn
-@@ -379,6 +379,7 @@ static_library("browser") {
+@@ -382,6 +382,7 @@ static_library("browser") {
"//ui/base",
"//ui/gfx",
]
diff --git a/patches/components-omnibox-browser-autocomplete_controller.cc.patch b/patches/components-omnibox-browser-autocomplete_controller.cc.patch
index c5d89b7c833c..ae4bfe954e1e 100644
--- a/patches/components-omnibox-browser-autocomplete_controller.cc.patch
+++ b/patches/components-omnibox-browser-autocomplete_controller.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/omnibox/browser/autocomplete_controller.cc b/components/omnibox/browser/autocomplete_controller.cc
-index 0352c0916353be8c708bad47520e7652eb1526af..217d11297ee9e352c74b90b9d79e684b4bcc1d5e 100644
+index 1af55724187f046bb687e1c0b12b8cfbb92f081d..df4b329fa8130191894d49b5572ea6866743f4e3 100644
--- a/components/omnibox/browser/autocomplete_controller.cc
+++ b/components/omnibox/browser/autocomplete_controller.cc
-@@ -850,6 +850,7 @@ void AutocompleteController::InitializeAsyncProviders(int provider_types) {
+@@ -859,6 +859,7 @@ void AutocompleteController::InitializeAsyncProviders(int provider_types) {
if (provider_types & AutocompleteProvider::TYPE_SEARCH) {
search_provider_ = new SearchProvider(provider_client_.get(), this);
providers_.push_back(search_provider_.get());
@@ -10,7 +10,7 @@ index 0352c0916353be8c708bad47520e7652eb1526af..217d11297ee9e352c74b90b9d79e684b
}
// Providers run in the order they're added. Add `HistoryURLProvider` after
// `SearchProvider` because:
-@@ -1132,6 +1133,7 @@ void AutocompleteController::SortCullAndAnnotateResult(
+@@ -1143,6 +1144,7 @@ void AutocompleteController::SortCullAndAnnotateResult(
absl::optional default_match_to_preserve) {
result_.SortAndCull(input_, template_url_service_, triggered_feature_service_,
default_match_to_preserve);
diff --git a/patches/components-omnibox-browser-omnibox_edit_model.cc.patch b/patches/components-omnibox-browser-omnibox_edit_model.cc.patch
index 2bd3968a0c06..4f8481f5fac7 100644
--- a/patches/components-omnibox-browser-omnibox_edit_model.cc.patch
+++ b/patches/components-omnibox-browser-omnibox_edit_model.cc.patch
@@ -1,10 +1,10 @@
diff --git a/components/omnibox/browser/omnibox_edit_model.cc b/components/omnibox/browser/omnibox_edit_model.cc
-index f5bd5af7905c9c81b575e3b280a770e01587c1be..acb23a7517a209bac868709f351c23b96315e85f 100644
+index 52a4ae976393b99ee36f9382e4b870ef57c0bed3..138f335c70f01a264b84a67dbd9ce2b92fabcbdf 100644
--- a/components/omnibox/browser/omnibox_edit_model.cc
+++ b/components/omnibox/browser/omnibox_edit_model.cc
-@@ -520,6 +520,7 @@ void OmniboxEditModel::AdjustTextForCopy(int sel_min,
+@@ -526,6 +526,7 @@ void OmniboxEditModel::AdjustTextForCopy(int sel_min,
(*text == display_text_ || *text == url_for_editing_)) {
- *url_from_text = client()->GetLocationBarModel()->GetURL();
+ *url_from_text = controller_->client()->GetLocationBarModel()->GetURL();
*write_url = true;
+ BRAVE_ADJUST_TEXT_FOR_COPY
diff --git a/patches/components-os_crypt-sync-BUILD.gn.patch b/patches/components-os_crypt-sync-BUILD.gn.patch
index 4848c4bfd80b..162f2f549555 100644
--- a/patches/components-os_crypt-sync-BUILD.gn.patch
+++ b/patches/components-os_crypt-sync-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/os_crypt/sync/BUILD.gn b/components/os_crypt/sync/BUILD.gn
-index 7ed10085264af6f50b05e51dd93c49e3828d5b3b..278ef956d677827684c650834f78b17efd8d4b3c 100644
+index c4bca6fca7c990222b0bf65087d14b21b01c1b5f..979307d85621264c7ede4c8e74007e1afb8bd6c3 100644
--- a/components/os_crypt/sync/BUILD.gn
+++ b/components/os_crypt/sync/BUILD.gn
-@@ -89,6 +89,7 @@ component("os_crypt") {
+@@ -88,6 +88,7 @@ component("os_crypt") {
defines += [ "USE_KWALLET" ]
}
}
diff --git a/patches/components-os_crypt-sync-keychain_password_mac.mm.patch b/patches/components-os_crypt-sync-keychain_password_mac.mm.patch
index 0c50e00dd538..6cc88f39a2bf 100644
--- a/patches/components-os_crypt-sync-keychain_password_mac.mm.patch
+++ b/patches/components-os_crypt-sync-keychain_password_mac.mm.patch
@@ -1,8 +1,8 @@
diff --git a/components/os_crypt/sync/keychain_password_mac.mm b/components/os_crypt/sync/keychain_password_mac.mm
-index e62a56a505e364dff7e1a9eb3043c01c2e3bc39f..cbd3de438c3a6ee0d4ae32e3963f26173eff19ba 100644
+index f6269925af68ce3ef9fb684bf4a1662874becae9..241910b44514e5121bc6cf7107e3d469675ff0ce 100644
--- a/components/os_crypt/sync/keychain_password_mac.mm
+++ b/components/os_crypt/sync/keychain_password_mac.mm
-@@ -68,12 +68,14 @@ std::string AddRandomPasswordToKeychain(const AppleKeychain& keychain,
+@@ -64,12 +64,14 @@ std::string AddRandomPasswordToKeychain(const AppleKeychain& keychain,
// static
KeychainPassword::KeychainNameType& KeychainPassword::GetServiceName() {
diff --git a/patches/components-page_info-BUILD.gn.patch b/patches/components-page_info-BUILD.gn.patch
index 2352647d158c..614965dfec37 100644
--- a/patches/components-page_info-BUILD.gn.patch
+++ b/patches/components-page_info-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/components/page_info/BUILD.gn b/components/page_info/BUILD.gn
-index 406825c8b4ea02241738a68af2880f243a292cab..79caa561fd3bb5bd3d3bdeaac0743bc96000b35a 100644
+index 7178afd20e20ff1dabdc12e0f8ae1a971e4334d4..f146bdfee73f120d990e03fab769747fbd6d61f8 100644
--- a/components/page_info/BUILD.gn
+++ b/components/page_info/BUILD.gn
@@ -46,6 +46,7 @@ static_library("page_info") {
diff --git a/patches/components-page_info-page_info.cc.patch b/patches/components-page_info-page_info.cc.patch
index c69822715545..5c0468e5329f 100644
--- a/patches/components-page_info-page_info.cc.patch
+++ b/patches/components-page_info-page_info.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/page_info/page_info.cc b/components/page_info/page_info.cc
-index 68340f351dd3d24b5ec9d1f363d1bac5bea69897..c6e38c010b419bae75dc5647534d96bcc50c9795 100644
+index 18dd31f524a094def51ec750d5258b228c51a272..067a1176474a980acb2583614581b024372a74db 100644
--- a/components/page_info/page_info.cc
+++ b/components/page_info/page_info.cc
-@@ -1191,6 +1191,7 @@ void PageInfo::PopulatePermissionInfo(PermissionInfo& permission_info,
+@@ -1230,6 +1230,7 @@ void PageInfo::PopulatePermissionInfo(PermissionInfo& permission_info,
// applies to permissions listed in |kPermissionType|.
bool PageInfo::ShouldShowPermission(
const PageInfo::PermissionInfo& info) const {
diff --git a/patches/components-password_manager-core-browser-login_database.cc.patch b/patches/components-password_manager-core-browser-login_database.cc.patch
index 9c9ad6ab61c9..d8a6234a68d1 100644
--- a/patches/components-password_manager-core-browser-login_database.cc.patch
+++ b/patches/components-password_manager-core-browser-login_database.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/password_manager/core/browser/login_database.cc b/components/password_manager/core/browser/login_database.cc
-index 56bc0ddcc04277c8dfcf273cf263090d67b1d2bb..e9d5145981d23583cde430051c6965ad7e0a2a5c 100644
+index bd141902d35c85d8e946703b7b327bd855ccca6f..7299efc480dba1f22fe69028e8ee7745c4bd37f8 100644
--- a/components/password_manager/core/browser/login_database.cc
+++ b/components/password_manager/core/browser/login_database.cc
-@@ -2067,6 +2067,7 @@ FormRetrievalResult LoginDatabase::StatementToForms(
+@@ -2145,6 +2145,7 @@ FormRetrievalResult LoginDatabase::StatementToForms(
EncryptionResult result = InitPasswordFormFromStatement(
*statement, /*decrypt_and_fill_password_value=*/true, new_form.get());
diff --git a/patches/components-password_manager-core-browser-password_form_filling.cc.patch b/patches/components-password_manager-core-browser-password_form_filling.cc.patch
index e83fa85749be..3e358131713f 100644
--- a/patches/components-password_manager-core-browser-password_form_filling.cc.patch
+++ b/patches/components-password_manager-core-browser-password_form_filling.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/password_manager/core/browser/password_form_filling.cc b/components/password_manager/core/browser/password_form_filling.cc
-index 5892761f953cd2c091ebed202ab90e30fcf90d90..51a355390cb5ce081251894e126caa95358bf780 100644
+index 144a61f883521a181c98357e62e248e3d9904277..699babdeb0b1ed98cfc30d1a0ed4cb0fc9da5c38 100644
--- a/components/password_manager/core/browser/password_form_filling.cc
+++ b/components/password_manager/core/browser/password_form_filling.cc
-@@ -254,6 +254,7 @@ LikelyFormFilling SendFillInformationToRenderer(
+@@ -252,6 +252,7 @@ LikelyFormFilling SendFillInformationToRenderer(
bool wait_for_username =
wait_for_username_reason != WaitForUsernameReason::kDontWait;
diff --git a/patches/components-permissions-BUILD.gn.patch b/patches/components-permissions-BUILD.gn.patch
index c3f4f65167d6..799adb1a156f 100644
--- a/patches/components-permissions-BUILD.gn.patch
+++ b/patches/components-permissions-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/permissions/BUILD.gn b/components/permissions/BUILD.gn
-index 96b0d921480d6d6ac6f154d777f8de6edf58b6ba..676f8d61189018182b5bb8ad0afbbf01da788f6d 100644
+index cba0ed139ae181b4ed5295b5b0f1a20bf4016e9f..0e3905a7c31c8a52d81f6c233cba0c23ca519a07 100644
--- a/components/permissions/BUILD.gn
+++ b/components/permissions/BUILD.gn
-@@ -142,6 +142,7 @@ source_set("permissions") {
+@@ -138,6 +138,7 @@ source_set("permissions") {
"contexts/geolocation_permission_context_system.h",
]
}
diff --git a/patches/components-permissions-android-BUILD.gn.patch b/patches/components-permissions-android-BUILD.gn.patch
index e96a4518a90c..cd99b95c288a 100644
--- a/patches/components-permissions-android-BUILD.gn.patch
+++ b/patches/components-permissions-android-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/components/permissions/android/BUILD.gn b/components/permissions/android/BUILD.gn
-index 3f4b6423884abe927947020bc5cd3c2ff486cc08..4a879a1df18268525a0c32042666bea91bca45d4 100644
+index 519d89d616047a40bea707edd6234a10010cb2d2..e5adbbe6e58da5670bfcc03bb6d17efb854dbcac 100644
--- a/components/permissions/android/BUILD.gn
+++ b/components/permissions/android/BUILD.gn
@@ -113,6 +113,7 @@ android_library("java") {
diff --git a/patches/components-permissions-permission_manager.cc.patch b/patches/components-permissions-permission_manager.cc.patch
index dbddf7288289..067a30951fac 100644
--- a/patches/components-permissions-permission_manager.cc.patch
+++ b/patches/components-permissions-permission_manager.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/permissions/permission_manager.cc b/components/permissions/permission_manager.cc
-index 128fb3a8b1a99d5be25f67c77de29899076720a8..2680b741bc458c3c5f2bf97191e53d454046ce84 100644
+index 354f19020944438c7f9e4ef61cb78b63031e1d70..b35b49d9540240f06f93cb41466ace22f1c6fa60 100644
--- a/components/permissions/permission_manager.cc
+++ b/components/permissions/permission_manager.cc
-@@ -324,6 +324,7 @@ void PermissionManager::RequestPermissionsFromCurrentDocument(
+@@ -325,6 +325,7 @@ void PermissionManager::RequestPermissionsFromCurrentDocument(
permission_status_callback) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
const GURL requesting_origin =
@@ -10,7 +10,7 @@ index 128fb3a8b1a99d5be25f67c77de29899076720a8..2680b741bc458c3c5f2bf97191e53d45
PermissionUtil::GetLastCommittedOriginAsURL(render_frame_host);
RequestPermissionsInternal(permissions_types, render_frame_host,
requesting_origin, user_gesture,
-@@ -374,6 +375,7 @@ PermissionManager::GetPermissionResultForCurrentDocument(
+@@ -377,6 +378,7 @@ PermissionManager::GetPermissionResultForCurrentDocument(
PermissionUtil::PermissionTypeToContentSettingType(permission);
const GURL requesting_origin =
diff --git a/patches/components-permissions-permission_uma_util.cc.patch b/patches/components-permissions-permission_uma_util.cc.patch
index 06a04e9f18a8..fc33f7bef8ec 100644
--- a/patches/components-permissions-permission_uma_util.cc.patch
+++ b/patches/components-permissions-permission_uma_util.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/permissions/permission_uma_util.cc b/components/permissions/permission_uma_util.cc
-index cfadbd5701c8d47142ab7f7549bbeeba118033a0..d27a3aaa9cae1c2e0f45f1eb505292d41e57d9f5 100644
+index 87ea482d898b8b5fc546cbfe327d706f18b09a71..8f484532265a7b23f0d8e56e4bf2ac1e25e59b78 100644
--- a/components/permissions/permission_uma_util.cc
+++ b/components/permissions/permission_uma_util.cc
-@@ -126,6 +126,7 @@ RequestTypeForUma GetUmaValueForRequestType(RequestType request_type) {
+@@ -122,6 +122,7 @@ RequestTypeForUma GetUmaValueForRequestType(RequestType request_type) {
#endif
case RequestType::kTopLevelStorageAccess:
return RequestTypeForUma::PERMISSION_TOP_LEVEL_STORAGE_ACCESS;
diff --git a/patches/components-permissions-request_type.cc.patch b/patches/components-permissions-request_type.cc.patch
index 14be177fe1aa..75d26666efa6 100644
--- a/patches/components-permissions-request_type.cc.patch
+++ b/patches/components-permissions-request_type.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/permissions/request_type.cc b/components/permissions/request_type.cc
-index 1e1d23d40c3239c86e5810eb9978aaf51b0827f7..700b0668da1a69412ba0230a4aa1158d9df44ae6 100644
+index 26622d269e40c72329dcd5df28e397ed068e7660..47d478ce72f190b9d26f453c93bba3d202056780 100644
--- a/components/permissions/request_type.cc
+++ b/components/permissions/request_type.cc
-@@ -408,6 +408,7 @@ const char* PermissionKeyForRequestType(permissions::RequestType request_type) {
+@@ -397,6 +397,7 @@ const char* PermissionKeyForRequestType(permissions::RequestType request_type) {
return "window_placement";
}
#endif
diff --git a/patches/components-policy-tools-generate_policy_source.py.patch b/patches/components-policy-tools-generate_policy_source.py.patch
index cb4a9584df09..882d1fc343b0 100644
--- a/patches/components-policy-tools-generate_policy_source.py.patch
+++ b/patches/components-policy-tools-generate_policy_source.py.patch
@@ -1,8 +1,8 @@
diff --git a/components/policy/tools/generate_policy_source.py b/components/policy/tools/generate_policy_source.py
-index 05976fd4c215a51496817f2e2d074047c11cbd3f..60279198e2f39a1711d06cc7c10a0f81aa0cb4a6 100755
+index e9d31053cb2eae737463004be9cb66e44bcd1058..5fc988331d4abf8eca9d0f84e713ecef4cf3a20d 100755
--- a/components/policy/tools/generate_policy_source.py
+++ b/components/policy/tools/generate_policy_source.py
-@@ -55,6 +55,7 @@ PLATFORM_STRINGS = {
+@@ -43,6 +43,7 @@ PLATFORM_STRINGS = {
'chrome.win7': ['win'],
}
@@ -10,7 +10,7 @@ index 05976fd4c215a51496817f2e2d074047c11cbd3f..60279198e2f39a1711d06cc7c10a0f81
class PolicyDetails:
"""Parses a policy template and caches all its details."""
-@@ -368,6 +369,7 @@ def main():
+@@ -356,6 +357,7 @@ def main():
chrome_major_version = ParseVersionFile(version_path)
template_file_contents = _LoadJSONFile(template_file_name)
diff --git a/patches/components-safe_browsing-content-browser-safe_browsing_network_context.cc.patch b/patches/components-safe_browsing-content-browser-safe_browsing_network_context.cc.patch
index 518c3d01bf07..db0c9ec5324c 100644
--- a/patches/components-safe_browsing-content-browser-safe_browsing_network_context.cc.patch
+++ b/patches/components-safe_browsing-content-browser-safe_browsing_network_context.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/safe_browsing/content/browser/safe_browsing_network_context.cc b/components/safe_browsing/content/browser/safe_browsing_network_context.cc
-index 8026565bb441413d69f700161a6b83a8c48faa2c..b1d5ee4dc2017e564bb223c803910b2b6c453102 100644
+index 05e440f325c121e4733b563fbb367dff7e38193a..85cc0e129e14679b7d1b909ae6c6e987ae6b5eab 100644
--- a/components/safe_browsing/content/browser/safe_browsing_network_context.cc
+++ b/components/safe_browsing/content/browser/safe_browsing_network_context.cc
-@@ -85,8 +85,8 @@ class SafeBrowsingNetworkContext::SharedURLLoaderFactory
+@@ -81,8 +81,8 @@ class SafeBrowsingNetworkContext::SharedURLLoaderFactory
override {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
GetURLLoaderFactory()->CreateLoaderAndStart(
diff --git a/patches/components-safe_browsing-core-browser-db-v4_local_database_manager.cc.patch b/patches/components-safe_browsing-core-browser-db-v4_local_database_manager.cc.patch
deleted file mode 100644
index 4e2f0263a9c7..000000000000
--- a/patches/components-safe_browsing-core-browser-db-v4_local_database_manager.cc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/components/safe_browsing/core/browser/db/v4_local_database_manager.cc b/components/safe_browsing/core/browser/db/v4_local_database_manager.cc
-index 29d6a3f47f19abd54adf670264cbac5f319f94eb..8343f2ce04680ff46ea954e2fc226081fa5544c5 100644
---- a/components/safe_browsing/core/browser/db/v4_local_database_manager.cc
-+++ b/components/safe_browsing/core/browser/db/v4_local_database_manager.cc
-@@ -109,7 +109,7 @@ ListInfos GetListInfos() {
- SB_THREAT_TYPE_BLOCKLISTED_RESOURCE),
- ListInfo(kSyncAlways, "UrlBilling.store", GetUrlBillingId(),
- SB_THREAT_TYPE_BILLING),
-- ListInfo(kSyncOnChromeDesktopBuilds, "UrlCsdDownloadAllowlist.store",
-+ ListInfo(kSyncOnDesktopBuilds, "UrlCsdDownloadAllowlist.store",
- GetUrlCsdDownloadAllowlistId(), SB_THREAT_TYPE_UNUSED),
- ListInfo(kSyncOnChromeDesktopBuilds || kSyncOnIos,
- "UrlCsdAllowlist.store", GetUrlCsdAllowlistId(),
diff --git a/patches/components-safe_browsing-core-common-safe_browsing_prefs.cc.patch b/patches/components-safe_browsing-core-common-safe_browsing_prefs.cc.patch
index 8a457a7319d8..e1bf4bd45d61 100644
--- a/patches/components-safe_browsing-core-common-safe_browsing_prefs.cc.patch
+++ b/patches/components-safe_browsing-core-common-safe_browsing_prefs.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/safe_browsing/core/common/safe_browsing_prefs.cc b/components/safe_browsing/core/common/safe_browsing_prefs.cc
-index 46efd8f5202cc6ba5661f0e42e14333699302c70..e309f77d998bcaf1caa51fcb6557a78a018bb4c3 100644
+index 82c62b25c6bbb8b10db41fb6925c0fb227383e14..5f95a9d91de81bd1e9a3808d0ade4c3683950d2e 100644
--- a/components/safe_browsing/core/common/safe_browsing_prefs.cc
+++ b/components/safe_browsing/core/common/safe_browsing_prefs.cc
-@@ -170,6 +170,7 @@ bool IsSafeBrowsingEnabled(const PrefService& prefs) {
+@@ -181,6 +181,7 @@ bool IsSafeBrowsingEnabled(const PrefService& prefs) {
}
bool IsEnhancedProtectionEnabled(const PrefService& prefs) {
diff --git a/patches/components-search_engines-BUILD.gn.patch b/patches/components-search_engines-BUILD.gn.patch
index 6de3e4e3d9ef..62f85a0c1c10 100644
--- a/patches/components-search_engines-BUILD.gn.patch
+++ b/patches/components-search_engines-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/search_engines/BUILD.gn b/components/search_engines/BUILD.gn
-index 889f7cffc9773a897708aca1a7f3835068e96912..a08fbd168b03def482eef7870f3d8f100ae32fbd 100644
+index 991a802ea030f48a90aac32527cd1acbfff8fc88..dfff183a44e95cbf2e4ade44ca6e210fe15a6f31 100644
--- a/components/search_engines/BUILD.gn
+++ b/components/search_engines/BUILD.gn
-@@ -203,6 +203,7 @@ json_to_struct("prepopulated_engines") {
+@@ -210,6 +210,7 @@ json_to_struct("prepopulated_engines") {
schema_file = "prepopulated_engines_schema.json"
namespace = "TemplateURLPrepopulateData"
deps = [ ":search_engine_type" ]
diff --git a/patches/components-signin-internal-identity_manager-BUILD.gn.patch b/patches/components-signin-internal-identity_manager-BUILD.gn.patch
index a52a316ce80a..584696f769a0 100644
--- a/patches/components-signin-internal-identity_manager-BUILD.gn.patch
+++ b/patches/components-signin-internal-identity_manager-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/signin/internal/identity_manager/BUILD.gn b/components/signin/internal/identity_manager/BUILD.gn
-index 9f60b61bfeef79f411ac2c9d31ea83a034b3f572..bc6ac5c17fcbb7104dd8007c162c61ab19f12375 100644
+index 34e06e715719d2f4590e2156022667dd4c3df5a8..426aac7a3a2ba7267401e2f233064c53c4461e60 100644
--- a/components/signin/internal/identity_manager/BUILD.gn
+++ b/components/signin/internal/identity_manager/BUILD.gn
-@@ -141,6 +141,7 @@ source_set("identity_manager") {
+@@ -142,6 +142,7 @@ source_set("identity_manager") {
"device_accounts_synchronizer_impl.h",
]
}
diff --git a/patches/components-sync-BUILD.gn.patch b/patches/components-sync-BUILD.gn.patch
index 835f004a0fd9..93f53ee085c7 100644
--- a/patches/components-sync-BUILD.gn.patch
+++ b/patches/components-sync-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync/BUILD.gn b/components/sync/BUILD.gn
-index f11539877c432ec62736519704e71e81a5ce7562..4909a81874006930a2ba8fa3165af5ed3fcef77e 100644
+index 3e5ddf17284657f02db00e29ed9b9cfa16cc3657..adb231245aebc918015632732e612d304039201d 100644
--- a/components/sync/BUILD.gn
+++ b/components/sync/BUILD.gn
-@@ -19,6 +19,7 @@ group("sync") {
+@@ -16,6 +16,7 @@ group("sync") {
if (is_chromeos) {
public_deps += [ "//components/sync/chromeos" ]
}
diff --git a/patches/components-sync-engine-model_type_worker.h.patch b/patches/components-sync-engine-model_type_worker.h.patch
index a4eebf018e37..b5052c565e19 100644
--- a/patches/components-sync-engine-model_type_worker.h.patch
+++ b/patches/components-sync-engine-model_type_worker.h.patch
@@ -1,5 +1,5 @@
diff --git a/components/sync/engine/model_type_worker.h b/components/sync/engine/model_type_worker.h
-index cb78cb60db3a77aecca94edba4569372b0406ed3..2343005a548ddff0f5c1bf4c26ade696c389d44a 100644
+index 008c09fac6d231d1e9d9a21d4928bc17f84d9ee2..9f97f203b5d85d8d766d8bd2d3c55f2918c47f91 100644
--- a/components/sync/engine/model_type_worker.h
+++ b/components/sync/engine/model_type_worker.h
@@ -207,6 +207,7 @@ class ModelTypeWorker : public UpdateHandler,
diff --git a/patches/components-sync-engine-syncer_proto_util.cc.patch b/patches/components-sync-engine-syncer_proto_util.cc.patch
index 73d72402afcb..a680de620805 100644
--- a/patches/components-sync-engine-syncer_proto_util.cc.patch
+++ b/patches/components-sync-engine-syncer_proto_util.cc.patch
@@ -1,5 +1,5 @@
diff --git a/components/sync/engine/syncer_proto_util.cc b/components/sync/engine/syncer_proto_util.cc
-index 2a174e799e26e2b8e9f447ec52246174d2c61153..42824bfa3812f62fc480ef60864655d70fdbe1e8 100644
+index 26e45bfa0c09d378ce97e76bb37082125586625a..1d46c0a228c29c9a395cf44ec9b50f7fab051e7e 100644
--- a/components/sync/engine/syncer_proto_util.cc
+++ b/components/sync/engine/syncer_proto_util.cc
@@ -290,6 +290,7 @@ SyncerError SyncerProtoUtil::HandleClientToServerMessageResponse(
diff --git a/patches/components-sync-protocol-device_info_specifics.proto.patch b/patches/components-sync-protocol-device_info_specifics.proto.patch
index fc0de6021402..11da99e4f963 100644
--- a/patches/components-sync-protocol-device_info_specifics.proto.patch
+++ b/patches/components-sync-protocol-device_info_specifics.proto.patch
@@ -1,5 +1,5 @@
diff --git a/components/sync/protocol/device_info_specifics.proto b/components/sync/protocol/device_info_specifics.proto
-index d14dec2b4aca53a69da5612bfb42e9585bd00834..36720b0f758a90f9e6c26db91ef84598c0219c09 100644
+index 19f5e12ec2155d5d9c24f6f9d0c6ce327c632245..68a09002c0ef8afe863ab9c4f0c5b066582b55be 100644
--- a/components/sync/protocol/device_info_specifics.proto
+++ b/components/sync/protocol/device_info_specifics.proto
@@ -17,6 +17,7 @@ option optimize_for = LITE_RUNTIME;
diff --git a/patches/components-sync-protocol-proto_visitors.h.patch b/patches/components-sync-protocol-proto_visitors.h.patch
index 3a12e536e687..94b9f5a61b41 100644
--- a/patches/components-sync-protocol-proto_visitors.h.patch
+++ b/patches/components-sync-protocol-proto_visitors.h.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync/protocol/proto_visitors.h b/components/sync/protocol/proto_visitors.h
-index 60553dcf9308c1ffa178e4ce47f3dfd041a5b649..03e09fcefcdb767175ba1c9cbf2f2dceecdeb00e 100644
+index b477edb0805791b699839adecca1685c2dce1c24..f09307cd27aca7f120eee5a08f88559294220fe2 100644
--- a/components/sync/protocol/proto_visitors.h
+++ b/components/sync/protocol/proto_visitors.h
-@@ -494,6 +494,7 @@ VISIT_PROTO_FIELDS(const sync_pb::DeviceInfoSpecifics& proto) {
+@@ -507,6 +507,7 @@ VISIT_PROTO_FIELDS(const sync_pb::DeviceInfoSpecifics& proto) {
VISIT(manufacturer);
VISIT(last_updated_timestamp);
VISIT(feature_fields);
@@ -10,7 +10,7 @@ index 60553dcf9308c1ffa178e4ce47f3dfd041a5b649..03e09fcefcdb767175ba1c9cbf2f2dce
VISIT(sharing_fields);
VISIT(invalidation_fields);
VISIT(paask_fields);
-@@ -508,6 +509,7 @@ VISIT_PROTO_FIELDS(const sync_pb::FeatureSpecificFields& proto) {
+@@ -521,6 +522,7 @@ VISIT_PROTO_FIELDS(const sync_pb::FeatureSpecificFields& proto) {
VISIT(send_tab_to_self_receiving_enabled);
}
diff --git a/patches/components-sync-protocol-protocol_sources.gni.patch b/patches/components-sync-protocol-protocol_sources.gni.patch
index e8f48e5b9691..85446a2dd604 100644
--- a/patches/components-sync-protocol-protocol_sources.gni.patch
+++ b/patches/components-sync-protocol-protocol_sources.gni.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync/protocol/protocol_sources.gni b/components/sync/protocol/protocol_sources.gni
-index 483b80bffb296d4dbaa86666371a0a7bc519eb98..6bd427d5aa055e08d746ca87b2195c646fa84018 100644
+index 13edaddd17cd780ee4e3a854e3007576ae4527a6..ca8ac5a8938aee605b3b27a16e542bc43274d00d 100644
--- a/components/sync/protocol/protocol_sources.gni
+++ b/components/sync/protocol/protocol_sources.gni
-@@ -75,3 +75,4 @@ sync_protocol_sources = [
+@@ -76,3 +76,4 @@ sync_protocol_sources = [
"wifi_configuration_specifics.proto",
"workspace_desk_specifics.proto",
]
diff --git a/patches/components-sync-service-BUILD.gn.patch b/patches/components-sync-service-BUILD.gn.patch
index b06dcfe2a2c6..972f26eb5ca2 100644
--- a/patches/components-sync-service-BUILD.gn.patch
+++ b/patches/components-sync-service-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync/service/BUILD.gn b/components/sync/service/BUILD.gn
-index 0fbf33de51893436331a9339982778a626709f54..1b46935333c7a0929cbfdce30b37644ba966b6ac 100644
+index 3b894c1bbb78911076b7efc4b43beb61621b51c8..af60a0e06a4d765d1da099c0efc638f4ec00f826 100644
--- a/components/sync/service/BUILD.gn
+++ b/components/sync/service/BUILD.gn
-@@ -108,4 +108,5 @@ static_library("service") {
+@@ -112,4 +112,5 @@ static_library("service") {
}
configs += [ "//build/config/compiler:wexit_time_destructors" ]
diff --git a/patches/components-sync-service-sync_service_impl.h.patch b/patches/components-sync-service-sync_service_impl.h.patch
index baba98a1e718..c61e71343572 100644
--- a/patches/components-sync-service-sync_service_impl.h.patch
+++ b/patches/components-sync-service-sync_service_impl.h.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync/service/sync_service_impl.h b/components/sync/service/sync_service_impl.h
-index 38ef28056d8622857adcc9adfbda40741343bb3b..c1e0662bdbb2a5daa568e48adfd3124729432120 100644
+index 398c5c2d25f2e45f3a273533bf8324b554a1a311..5264879e900a5c8c2482a9f2f287628653c659b8 100644
--- a/components/sync/service/sync_service_impl.h
+++ b/components/sync/service/sync_service_impl.h
-@@ -251,6 +251,7 @@ class SyncServiceImpl : public SyncService,
+@@ -247,6 +247,7 @@ class SyncServiceImpl : public SyncService,
bool IsSyncFeatureConsideredRequested() const override;
private:
diff --git a/patches/components-sync_device_info-BUILD.gn.patch b/patches/components-sync_device_info-BUILD.gn.patch
index aad8bc71770f..6dc2ec7d23d1 100644
--- a/patches/components-sync_device_info-BUILD.gn.patch
+++ b/patches/components-sync_device_info-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync_device_info/BUILD.gn b/components/sync_device_info/BUILD.gn
-index f8530dd2472012d7c3e93e52166e8b612e74a89f..87de713b7b7cfcff5dc0f6d3bdd5cc178ebce93f 100644
+index a5dd5cb4fa5f78b600f825e25e7f699102f8d425..f42f8e91e95775e4b5d4d28f50cec667e723e967 100644
--- a/components/sync_device_info/BUILD.gn
+++ b/components/sync_device_info/BUILD.gn
-@@ -95,6 +95,7 @@ static_library("sync_device_info") {
+@@ -92,6 +92,7 @@ static_library("sync_device_info") {
if (is_chromeos_ash) {
deps += [ "//chromeos/ash/components/system" ]
}
diff --git a/patches/components-sync_device_info-device_info.h.patch b/patches/components-sync_device_info-device_info.h.patch
index 4950b05b348f..f32308aabd20 100644
--- a/patches/components-sync_device_info-device_info.h.patch
+++ b/patches/components-sync_device_info-device_info.h.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync_device_info/device_info.h b/components/sync_device_info/device_info.h
-index 4dc748c01dbb9a364677edf112b563f44d337743..a801a93ece680e7d965101192a028ddf5d0264bf 100644
+index cf7df62bce7bcefcb83f34e5b8a49f0bc52bdcdc..74d557dc18ac3f5258d723b14acfa2a263582544 100644
--- a/components/sync_device_info/device_info.h
+++ b/components/sync_device_info/device_info.h
-@@ -135,6 +135,7 @@ class DeviceInfo {
+@@ -145,6 +145,7 @@ class DeviceInfo {
DeviceInfo(const DeviceInfo&) = delete;
DeviceInfo& operator=(const DeviceInfo&) = delete;
diff --git a/patches/components-sync_device_info-device_info_sync_bridge.cc.patch b/patches/components-sync_device_info-device_info_sync_bridge.cc.patch
index 4e1350a95200..81973646a92f 100644
--- a/patches/components-sync_device_info-device_info_sync_bridge.cc.patch
+++ b/patches/components-sync_device_info-device_info_sync_bridge.cc.patch
@@ -1,8 +1,8 @@
diff --git a/components/sync_device_info/device_info_sync_bridge.cc b/components/sync_device_info/device_info_sync_bridge.cc
-index fe25228141fe95062c77a310307a79e559ce2b10..db381a3801c6a6c7f5bad85a9a835d3e0840e7e5 100644
+index 5cf60ddb5a503ab81f3648dfe4cdda4ff368ffc0..2b37bdda4f05db9b8548b2668268a0b5950e4735 100644
--- a/components/sync_device_info/device_info_sync_bridge.cc
+++ b/components/sync_device_info/device_info_sync_bridge.cc
-@@ -273,6 +273,7 @@ std::unique_ptr MakeLocalDeviceSpecifics(
+@@ -275,6 +275,7 @@ std::unique_ptr MakeLocalDeviceSpecifics(
GetSpecificsFieldNumberFromModelType(data_type));
}
@@ -10,7 +10,7 @@ index fe25228141fe95062c77a310307a79e559ce2b10..db381a3801c6a6c7f5bad85a9a835d3e
return specifics;
}
-@@ -448,6 +449,7 @@ absl::optional DeviceInfoSyncBridge::ApplyIncrementalSyncChanges(
+@@ -477,6 +478,7 @@ absl::optional DeviceInfoSyncBridge::ApplyIncrementalSyncChanges(
for (const std::unique_ptr& change : entity_changes) {
const std::string guid = change->storage_key();
@@ -18,7 +18,7 @@ index fe25228141fe95062c77a310307a79e559ce2b10..db381a3801c6a6c7f5bad85a9a835d3e
// Reupload local device if it was deleted from the server.
if (local_cache_guid_ == guid &&
change->type() == EntityChange::ACTION_DELETE) {
-@@ -458,7 +460,7 @@ absl::optional DeviceInfoSyncBridge::ApplyIncrementalSyncChanges(
+@@ -487,7 +489,7 @@ absl::optional DeviceInfoSyncBridge::ApplyIncrementalSyncChanges(
// Ignore any remote changes that have a cache guid that is or was this
// local device.
if (device_info_prefs_->IsRecentLocalCacheGuid(guid)) {
@@ -27,7 +27,7 @@ index fe25228141fe95062c77a310307a79e559ce2b10..db381a3801c6a6c7f5bad85a9a835d3e
}
if (change->type() == EntityChange::ACTION_DELETE) {
-@@ -716,6 +718,7 @@ void DeviceInfoSyncBridge::OnReadAllMetadata(
+@@ -747,6 +749,7 @@ void DeviceInfoSyncBridge::OnReadAllMetadata(
return;
}
@@ -35,7 +35,7 @@ index fe25228141fe95062c77a310307a79e559ce2b10..db381a3801c6a6c7f5bad85a9a835d3e
// In the regular case for sync being disabled, wait for MergeFullSyncData()
// before initializing the LocalDeviceInfoProvider.
if (!syncer::IsInitialSyncDone(
-@@ -949,6 +952,7 @@ DeviceInfoSyncBridge::CountActiveDevicesByType() const {
+@@ -981,6 +984,7 @@ DeviceInfoSyncBridge::CountActiveDevicesByType() const {
}
void DeviceInfoSyncBridge::ExpireOldEntries() {
diff --git a/patches/components-translate-content-renderer-per_frame_translate_agent.cc.patch b/patches/components-translate-content-renderer-per_frame_translate_agent.cc.patch
deleted file mode 100644
index 06124f75e947..000000000000
--- a/patches/components-translate-content-renderer-per_frame_translate_agent.cc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/components/translate/content/renderer/per_frame_translate_agent.cc b/components/translate/content/renderer/per_frame_translate_agent.cc
-index b0347531a46e2c621c19112f9c4c88c639651db9..994c8f0b98ed199e2de2fcaf4e6d016a53b62197 100644
---- a/components/translate/content/renderer/per_frame_translate_agent.cc
-+++ b/components/translate/content/renderer/per_frame_translate_agent.cc
-@@ -50,7 +50,7 @@ const int kTranslateInitCheckDelayMs = 150;
-
- // The maximum number of times we'll check to see if the translate library
- // injected in the page is ready.
--const int kMaxTranslateInitCheckAttempts = 5;
-+const int kMaxTranslateInitCheckAttempts = 11;
-
- // The delay we wait in milliseconds before checking whether the translation has
- // finished.
diff --git a/patches/components-translate-content-renderer-translate_agent.cc.patch b/patches/components-translate-content-renderer-translate_agent.cc.patch
index 781d9a8722f1..9631e4f75985 100644
--- a/patches/components-translate-content-renderer-translate_agent.cc.patch
+++ b/patches/components-translate-content-renderer-translate_agent.cc.patch
@@ -1,5 +1,5 @@
diff --git a/components/translate/content/renderer/translate_agent.cc b/components/translate/content/renderer/translate_agent.cc
-index b6b78387b1cc79bb1232c90ade8b2e2c61d7210f..69b7c66453af4fcfaee6e829e93bf1653fc104dc 100644
+index a7a63086627289983cf7f19b7a236e09683185d1..d6d333d270e2d5e5014d71ba8ffa56b14887dbf7 100644
--- a/components/translate/content/renderer/translate_agent.cc
+++ b/components/translate/content/renderer/translate_agent.cc
@@ -57,7 +57,7 @@ const int kTranslateInitCheckDelayMs = 150;
diff --git a/patches/components-variations-variations_seed_store.cc.patch b/patches/components-variations-variations_seed_store.cc.patch
index 9f58a5d52632..f16bc764eb1f 100644
--- a/patches/components-variations-variations_seed_store.cc.patch
+++ b/patches/components-variations-variations_seed_store.cc.patch
@@ -1,5 +1,5 @@
diff --git a/components/variations/variations_seed_store.cc b/components/variations/variations_seed_store.cc
-index eadc6c3b03696d4ab220d907dc14f36d401f4063..fe038faeb86edcdfea9cca0e37d3cf260a6137b6 100644
+index 823d77d73aa641949258ed5a00e2cc4e58a418f6..b4f6286b1ee37064240f06a20cfca70118b212d7 100644
--- a/components/variations/variations_seed_store.cc
+++ b/components/variations/variations_seed_store.cc
@@ -51,6 +51,7 @@ const base::FeatureParam kVariationsAsyncProcessing{
diff --git a/patches/content-browser-browser_main_loop.h.patch b/patches/content-browser-browser_main_loop.h.patch
index 19d26ebe6a48..74a4cbc818dc 100644
--- a/patches/content-browser-browser_main_loop.h.patch
+++ b/patches/content-browser-browser_main_loop.h.patch
@@ -1,8 +1,8 @@
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
-index 6323c7b924eba2980c090eaa88e3752aafa1bfae..5f3160ebf936fae916e1deb6351c33e886f54a02 100644
+index b25487927b523592c5097b6b8bb818350f81603a..3b70575d29fe2338ba49dcb212ee7aae0cfcfc79 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
-@@ -159,6 +159,7 @@ class CONTENT_EXPORT BrowserMainLoop {
+@@ -160,6 +160,7 @@ class CONTENT_EXPORT BrowserMainLoop {
void RunMainMessageLoop();
// Performs the pre-shutdown steps.
diff --git a/patches/content-browser-dom_storage-dom_storage_context_wrapper.cc.patch b/patches/content-browser-dom_storage-dom_storage_context_wrapper.cc.patch
index 6c0d54454259..9746213d2585 100644
--- a/patches/content-browser-dom_storage-dom_storage_context_wrapper.cc.patch
+++ b/patches/content-browser-dom_storage-dom_storage_context_wrapper.cc.patch
@@ -1,5 +1,5 @@
diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.cc b/content/browser/dom_storage/dom_storage_context_wrapper.cc
-index 68493c5922b30fb45ba6fbf8baed0b7bdf82e45c..43b536b15848f289594e5e3b4eae18b14681f19e 100644
+index 1a75aeec24e730fe1797a176be06da7868915b64..b6df80e5a8ab9bc5f92ae2f97261e09cc06e5f17 100644
--- a/content/browser/dom_storage/dom_storage_context_wrapper.cc
+++ b/content/browser/dom_storage/dom_storage_context_wrapper.cc
@@ -309,6 +309,7 @@ bool DOMStorageContextWrapper::IsRequestValid(
diff --git a/patches/content-browser-gpu-gpu_internals_ui.cc.patch b/patches/content-browser-gpu-gpu_internals_ui.cc.patch
index bf3b881ad75a..b00aea3de582 100644
--- a/patches/content-browser-gpu-gpu_internals_ui.cc.patch
+++ b/patches/content-browser-gpu-gpu_internals_ui.cc.patch
@@ -1,8 +1,8 @@
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
-index c3e7751db333499525bf10c9e73e41f5cce6698c..1d771c2817e1bb5c6f1e06240aae8e75231ec85b 100644
+index 90811bf43cbd1c9959799738c655e8adbbdf0008..a3685d52fbcf86d917e0c009117fed6733334c57 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
-@@ -807,6 +807,7 @@ base::Value::Dict GpuMessageHandler::GetClientInfo() {
+@@ -838,6 +838,7 @@ base::Value::Dict GpuMessageHandler::GetClientInfo() {
std::string("Skia/" STRINGIZE(SK_MILESTONE) " " SKIA_COMMIT_HASH));
dict.Set("revision_identifier", GPU_LISTS_VERSION);
diff --git a/patches/content-browser-renderer_host-navigation_controller_impl.cc.patch b/patches/content-browser-renderer_host-navigation_controller_impl.cc.patch
index d2191582a332..80afdf7ffadb 100644
--- a/patches/content-browser-renderer_host-navigation_controller_impl.cc.patch
+++ b/patches/content-browser-renderer_host-navigation_controller_impl.cc.patch
@@ -1,8 +1,8 @@
diff --git a/content/browser/renderer_host/navigation_controller_impl.cc b/content/browser/renderer_host/navigation_controller_impl.cc
-index cedea5349cad993fce63cc5a0391b5bf6bb1435e..1c528de8483c9c74730108c23c9244bc5ebdf0d3 100644
+index af9f3a0744d1bfd5471bbf42aa7b8498e5fcd8bc..e671837f3e93c30c8c649dfe209ef70a87d0bca8 100644
--- a/content/browser/renderer_host/navigation_controller_impl.cc
+++ b/content/browser/renderer_host/navigation_controller_impl.cc
-@@ -3573,16 +3573,17 @@ base::WeakPtr NavigationControllerImpl::NavigateWithoutEntry(
+@@ -3591,16 +3591,17 @@ base::WeakPtr NavigationControllerImpl::NavigateWithoutEntry(
// Note: we intentionally leave the pending entry in place for renderer debug
// URLs, unlike the cases below where we clear it if the navigation doesn't
// proceed.
diff --git a/patches/content-browser-renderer_host-navigation_request.cc.patch b/patches/content-browser-renderer_host-navigation_request.cc.patch
index 03c8ec5253fb..7e230028d413 100644
--- a/patches/content-browser-renderer_host-navigation_request.cc.patch
+++ b/patches/content-browser-renderer_host-navigation_request.cc.patch
@@ -1,8 +1,8 @@
diff --git a/content/browser/renderer_host/navigation_request.cc b/content/browser/renderer_host/navigation_request.cc
-index a09b5bc4973fc3abdfc02627be515f7eaf87f2c1..04c56d9f1652fd41b6af737c60e48a405f833915 100644
+index da87a4f823d6fa36589b6efc7e3b381fdd07b11c..366c4fd83d4a15aa2cd0de3dcccc03fff8a30a53 100644
--- a/content/browser/renderer_host/navigation_request.cc
+++ b/content/browser/renderer_host/navigation_request.cc
-@@ -3153,6 +3153,7 @@ void NavigationRequest::OnRequestRedirected(
+@@ -3192,6 +3192,7 @@ void NavigationRequest::OnRequestRedirected(
common_params_->url = redirect_info.new_url;
common_params_->method = redirect_info.new_method;
common_params_->referrer->url = GURL(redirect_info.new_referrer);
@@ -10,7 +10,7 @@ index a09b5bc4973fc3abdfc02627be515f7eaf87f2c1..04c56d9f1652fd41b6af737c60e48a40
common_params_->referrer = Referrer::SanitizeForRequest(
common_params_->url, *common_params_->referrer);
-@@ -4761,6 +4762,7 @@ void NavigationRequest::OnStartChecksComplete(
+@@ -4807,6 +4808,7 @@ void NavigationRequest::OnStartChecksComplete(
headers.MergeFrom(TakeModifiedRequestHeaders());
begin_params_->headers = headers.ToString();
diff --git a/patches/content-browser-renderer_host-render_frame_host_impl.cc.patch b/patches/content-browser-renderer_host-render_frame_host_impl.cc.patch
index 3a78928a89a7..314c18bd34eb 100644
--- a/patches/content-browser-renderer_host-render_frame_host_impl.cc.patch
+++ b/patches/content-browser-renderer_host-render_frame_host_impl.cc.patch
@@ -1,8 +1,8 @@
diff --git a/content/browser/renderer_host/render_frame_host_impl.cc b/content/browser/renderer_host/render_frame_host_impl.cc
-index 23f8f5f1042cbc85e630d57e26624963d9cbc71c..555111c8e972fd5d38b5c4d08138218ca9bf6ee3 100644
+index c8f45445a6028207b9dcd157bb04536388f4ab42..fd88e84bb6dc4a8394e5d5ad260ed6cf8f967139 100644
--- a/content/browser/renderer_host/render_frame_host_impl.cc
+++ b/content/browser/renderer_host/render_frame_host_impl.cc
-@@ -7892,6 +7892,8 @@ void RenderFrameHostImpl::CreateNewWindow(
+@@ -8114,6 +8114,8 @@ void RenderFrameHostImpl::CreateNewWindow(
dom_storage_context, params->session_storage_namespace_id);
}
diff --git a/patches/content-browser-resources-gpu-info_view.ts.patch b/patches/content-browser-resources-gpu-info_view.ts.patch
index c52ae9c3d192..ed5025bedbaa 100644
--- a/patches/content-browser-resources-gpu-info_view.ts.patch
+++ b/patches/content-browser-resources-gpu-info_view.ts.patch
@@ -1,5 +1,5 @@
diff --git a/content/browser/resources/gpu/info_view.ts b/content/browser/resources/gpu/info_view.ts
-index 04621af27197fa87ae0760480274a320057d3bfd..45638ca99b7a37d55fdf4cf2bf3040d46037add3 100644
+index 0b91cc130f46ffe135b6ef10760c5fa08e7736ad..696c48e7aef95f8b77b33b86e6fd2193b6053a3a 100644
--- a/content/browser/resources/gpu/info_view.ts
+++ b/content/browser/resources/gpu/info_view.ts
@@ -91,6 +91,7 @@ export class InfoViewElement extends CustomElement {
diff --git a/patches/content-browser-web_contents-web_contents_impl.cc.patch b/patches/content-browser-web_contents-web_contents_impl.cc.patch
index d0c14cfd717c..f56646ef2036 100644
--- a/patches/content-browser-web_contents-web_contents_impl.cc.patch
+++ b/patches/content-browser-web_contents-web_contents_impl.cc.patch
@@ -1,8 +1,8 @@
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
-index c9b13be94c531a528cdbc8046d80d43fe704ef36..9834590dfe7e7b390f9b4b65b309cdb7e897beba 100644
+index b5bb5e16086d47130f5e810d1b30538ca818b908..ff47a6d9f69a1b86ad810cf96d9ebb8d2491e52d 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
-@@ -4223,7 +4223,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
+@@ -4320,7 +4320,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
// Save the window for later if we're not suppressing the opener (since it
// will be shown immediately).
diff --git a/patches/content-browser-zygote_host-zygote_host_impl_linux.cc.patch b/patches/content-browser-zygote_host-zygote_host_impl_linux.cc.patch
index 29b7e2783234..678290ce35df 100644
--- a/patches/content-browser-zygote_host-zygote_host_impl_linux.cc.patch
+++ b/patches/content-browser-zygote_host-zygote_host_impl_linux.cc.patch
@@ -1,5 +1,5 @@
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc
-index 482e33baf0055bc22bba865c4e93931f27d40094..3c4012a99957c2cf834379a24594783a573f3437 100644
+index 0abcec6608a310b16512061a8bf380e4bc6d4303..35423e718472bd800873a009238126f6f9467607 100644
--- a/content/browser/zygote_host/zygote_host_impl_linux.cc
+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc
@@ -125,6 +125,7 @@ void ZygoteHostImpl::Init(const base::CommandLine& command_line) {
diff --git a/patches/content-common-BUILD.gn.patch b/patches/content-common-BUILD.gn.patch
index 2dc97d922259..46cfa9ef4b7f 100644
--- a/patches/content-common-BUILD.gn.patch
+++ b/patches/content-common-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
-index aa1ae523aee045fb1db412a42af8aadb97e9ee2a..c8bcd750bf4bcabade9552efa83e84d386b86906 100644
+index dce27cfa39b52e39a95cee658584ed80ab1953ef..430b46e1c632a9812f080e7f6e547b11748c046b 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -67,6 +67,7 @@ source_set("common") {
diff --git a/patches/content-common-frame.mojom.patch b/patches/content-common-frame.mojom.patch
index 8bb5d6271f39..1ed5b36bbcd9 100644
--- a/patches/content-common-frame.mojom.patch
+++ b/patches/content-common-frame.mojom.patch
@@ -1,8 +1,8 @@
diff --git a/content/common/frame.mojom b/content/common/frame.mojom
-index 033780b477965e6915fc808cb468598f55050f2b..caba76d250af811415b8f8758ee4071eadb9e4fc 100644
+index a1757960b139dea126e34776e9ec7768d9e3d89d..aa93ae3c923a2cbb7c67a53654cec777b635d31e 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
-@@ -560,6 +560,7 @@ struct CreateNewWindowParams {
+@@ -582,6 +582,7 @@ struct CreateNewWindowParams {
// Whether the opener will be suppressed in the new window, in which case
// scripting the new window is not allowed.
bool opener_suppressed;
diff --git a/patches/content-public-browser-content_browser_client.h.patch b/patches/content-public-browser-content_browser_client.h.patch
index 70d9d5a15ba7..8ff81e9e09a8 100644
--- a/patches/content-public-browser-content_browser_client.h.patch
+++ b/patches/content-public-browser-content_browser_client.h.patch
@@ -1,8 +1,8 @@
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
-index fe0b1b96209c48d298a0de2041e2841083f891a9..bbc00e22277fc57c2f43600c7de54e46a15c8bbf 100644
+index 5fec5acd6fac364e815014ac0166c6f241acae37..8b8264c307ee5059570ed99c17b307e392c89ef7 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
-@@ -2174,6 +2174,7 @@ class CONTENT_EXPORT ContentBrowserClient {
+@@ -2196,6 +2196,7 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual ui::AXMode GetAXModeForBrowserContext(
BrowserContext* browser_context);
diff --git a/patches/content-renderer-render_frame_impl.cc.patch b/patches/content-renderer-render_frame_impl.cc.patch
index 141c330c7a2a..9977255e81d7 100644
--- a/patches/content-renderer-render_frame_impl.cc.patch
+++ b/patches/content-renderer-render_frame_impl.cc.patch
@@ -1,8 +1,8 @@
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
-index 556f5310719f9a9e56bb3a34d75a529b8b26f839..b79afa234670bff937f71ed957548a9eb62a80cb 100644
+index 7d1b1613a465500dc0d3b4b6633a6c0656997221..be0a83da4a26dafe6074bf19ee1187a5ed064c9a 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
-@@ -4495,6 +4495,7 @@ bool RenderFrameImpl::ShouldUseUserAgentOverride() const {
+@@ -4531,6 +4531,7 @@ bool RenderFrameImpl::ShouldUseUserAgentOverride() const {
// Temporarily return early and fix properly as part of
// https://crbug.com/426555.
if (web_view->MainFrame()->IsWebRemoteFrame())
diff --git a/patches/content-renderer-render_thread_impl.cc.patch b/patches/content-renderer-render_thread_impl.cc.patch
index 17bb395ed56b..29aeec9585d5 100644
--- a/patches/content-renderer-render_thread_impl.cc.patch
+++ b/patches/content-renderer-render_thread_impl.cc.patch
@@ -1,8 +1,8 @@
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
-index b1ad4bd6c61089badd7eda1d95592f3f5b190a1b..b0436da5dbec26bd2886312b2127852cba094cd8 100644
+index d1f8638d390858b0872c56a62168acb7eef04db4..04a021b958eff1271718f372a88ec09930c63ffd 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
-@@ -945,6 +945,7 @@ void RenderThreadImpl::InitializeRenderer(
+@@ -942,6 +942,7 @@ void RenderThreadImpl::InitializeRenderer(
}
void RenderThreadImpl::RegisterSchemes() {
diff --git a/patches/crypto-unexportable_key_metrics.cc.patch b/patches/crypto-unexportable_key_metrics.cc.patch
index 1de01cd19fcd..a13af7dae759 100644
--- a/patches/crypto-unexportable_key_metrics.cc.patch
+++ b/patches/crypto-unexportable_key_metrics.cc.patch
@@ -1,5 +1,5 @@
diff --git a/crypto/unexportable_key_metrics.cc b/crypto/unexportable_key_metrics.cc
-index cd4ed606447ee4f5b0aa0580496f8d844310773a..4791e2ed910b760e86557dfa3ba4aadbe8a7f6e2 100644
+index 2b4b9a95e6086095a8ca7c668764be665d3c7516..5868d24b6dba3f9ca2da7eecc7ee393a6255dfca 100644
--- a/crypto/unexportable_key_metrics.cc
+++ b/crypto/unexportable_key_metrics.cc
@@ -28,6 +28,7 @@ enum class KeyType {
diff --git a/patches/extensions-browser-api-web_request-extension_web_request_event_router.cc.patch b/patches/extensions-browser-api-web_request-extension_web_request_event_router.cc.patch
new file mode 100644
index 000000000000..b2b59125e81e
--- /dev/null
+++ b/patches/extensions-browser-api-web_request-extension_web_request_event_router.cc.patch
@@ -0,0 +1,12 @@
+diff --git a/extensions/browser/api/web_request/extension_web_request_event_router.cc b/extensions/browser/api/web_request/extension_web_request_event_router.cc
+index 7a29adc72df19d359272bb37fa55d8b9b5cb9912..6eff2126c6a85481be86fcb3526eb224e5b20119 100644
+--- a/extensions/browser/api/web_request/extension_web_request_event_router.cc
++++ b/extensions/browser/api/web_request/extension_web_request_event_router.cc
+@@ -1168,6 +1168,7 @@ ExtensionWebRequestEventRouter::OnAuthRequired(
+ const net::AuthChallengeInfo& auth_info,
+ AuthCallback callback,
+ net::AuthCredentials* credentials) {
++ BRAVE_EXTENSION_WEB_REQUEST_EVENT_ROUTER_ON_AUTH_REQUIRED
+ // No browser_context means that this is for authentication challenges in the
+ // system context. Skip in that case. Also skip sensitive requests.
+ if (!browser_context ||
diff --git a/patches/extensions-browser-api-web_request-web_request_api.cc.patch b/patches/extensions-browser-api-web_request-web_request_api.cc.patch
deleted file mode 100644
index b44daf3cfaaf..000000000000
--- a/patches/extensions-browser-api-web_request-web_request_api.cc.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/extensions/browser/api/web_request/web_request_api.cc b/extensions/browser/api/web_request/web_request_api.cc
-index ca8c4159e10d0fac3f5a5302d6a0d829c51cb90f..1d132044a8abd7181190c6f590cb132a89f0e900 100644
---- a/extensions/browser/api/web_request/web_request_api.cc
-+++ b/extensions/browser/api/web_request/web_request_api.cc
-@@ -1445,6 +1445,9 @@ ExtensionWebRequestEventRouter::OnAuthRequired(
- const net::AuthChallengeInfo& auth_info,
- AuthCallback callback,
- net::AuthCredentials* credentials) {
-+ ClearSignaled(request->id, kOnBeforeSendHeaders);
-+ ClearSignaled(request->id, kOnSendHeaders);
-+ ClearSignaled(request->id, kOnHeadersReceived);
- // No browser_context means that this is for authentication challenges in the
- // system context. Skip in that case. Also skip sensitive requests.
- if (!browser_context ||
diff --git a/patches/extensions-browser-extension_creator.cc.patch b/patches/extensions-browser-extension_creator.cc.patch
index 9132e3f01b73..802eec2968a7 100644
--- a/patches/extensions-browser-extension_creator.cc.patch
+++ b/patches/extensions-browser-extension_creator.cc.patch
@@ -1,8 +1,8 @@
diff --git a/extensions/browser/extension_creator.cc b/extensions/browser/extension_creator.cc
-index 32a4a80c7c08351572f01a14a2171baf92dd6c98..28ad2f03e722ffd9c18d5a5c2cac8df943e4d5ff 100644
+index 3f982183b3b457fa2c72f1893ac752b3fe4b302f..91de0968f32ec8f57780cfc25334810be7436050 100644
--- a/extensions/browser/extension_creator.cc
+++ b/extensions/browser/extension_creator.cc
-@@ -225,7 +225,7 @@ bool ExtensionCreator::CreateCrx(
+@@ -223,7 +223,7 @@ bool ExtensionCreator::CreateCrx(
result = crx_file::CreateCrxWithVerifiedContentsInHeader(
crx_path, zip_path, private_key, compressed_verified_contents.value());
} else {
diff --git a/patches/extensions-common-api-_api_features.json.patch b/patches/extensions-common-api-_api_features.json.patch
index 587c5ac3562c..6939b73a68b0 100644
--- a/patches/extensions-common-api-_api_features.json.patch
+++ b/patches/extensions-common-api-_api_features.json.patch
@@ -1,8 +1,8 @@
diff --git a/extensions/common/api/_api_features.json b/extensions/common/api/_api_features.json
-index 9e44dacaad3c6392b3d5cc9e90e5cb8cb2f492c6..eef469a9a34dc1eb93749844fd2e50f6402933bb 100644
+index 0c8b15e7f7b7e46208e0d221beb64576482d3390..c02e373ba5d0ff14cf78731a66e781cd632bb997 100644
--- a/extensions/common/api/_api_features.json
+++ b/extensions/common/api/_api_features.json
-@@ -651,6 +651,7 @@
+@@ -634,6 +634,7 @@
"matches": [
"chrome://password-change/*",
"chrome://file-manager/*"
diff --git a/patches/ios-chrome-app-BUILD.gn.patch b/patches/ios-chrome-app-BUILD.gn.patch
index bb2e8a5c7a86..541fe4bc90e1 100644
--- a/patches/ios-chrome-app-BUILD.gn.patch
+++ b/patches/ios-chrome-app-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/ios/chrome/app/BUILD.gn b/ios/chrome/app/BUILD.gn
-index b961c304aa10fbf3f742c1e2fd567c6bb420ddf5..6ecdd8742703b0e4f4ec9927891e4649785a24a6 100644
+index 2408035d9a2e9aeb0a652b5a7f9feb19baceb928..06334ddd4279be6a37c024e1aee13c680896b44f 100644
--- a/ios/chrome/app/BUILD.gn
+++ b/ios/chrome/app/BUILD.gn
-@@ -739,8 +739,7 @@ ios_app_bundle("chrome") {
+@@ -727,8 +727,7 @@ chrome_app("chrome") {
# (see https://crbug.com/1394553 for details of the build failure). This
# is a stop-gap solution.
if (target_environment == "catalyst" ||
diff --git a/patches/ios-chrome-browser-net-BUILD.gn.patch b/patches/ios-chrome-browser-net-BUILD.gn.patch
index 593eefe5e04a..259482783209 100644
--- a/patches/ios-chrome-browser-net-BUILD.gn.patch
+++ b/patches/ios-chrome-browser-net-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/ios/chrome/browser/net/BUILD.gn b/ios/chrome/browser/net/BUILD.gn
-index 6a4edc57f2c2d9d32f62b379c75b374ed0db03fd..7d6bd4d1ece28392b4414891f16637daeb7a5889 100644
+index e4ad854eb4677d2a764aaf10756d044fc7256815..cdc00faba7771a5ebf97197b25016a93c5ca58ff 100644
--- a/ios/chrome/browser/net/BUILD.gn
+++ b/ios/chrome/browser/net/BUILD.gn
-@@ -42,6 +42,7 @@ source_set("net") {
+@@ -41,6 +41,7 @@ source_set("net") {
":crurl",
":net_types",
]
diff --git a/patches/ios-chrome-browser-net-ios_chrome_network_delegate.h.patch b/patches/ios-chrome-browser-net-ios_chrome_network_delegate.h.patch
index 9167ca3e48ec..628fb6e04e0f 100644
--- a/patches/ios-chrome-browser-net-ios_chrome_network_delegate.h.patch
+++ b/patches/ios-chrome-browser-net-ios_chrome_network_delegate.h.patch
@@ -1,8 +1,8 @@
diff --git a/ios/chrome/browser/net/ios_chrome_network_delegate.h b/ios/chrome/browser/net/ios_chrome_network_delegate.h
-index 54c1fe97aeb809ade1f006c16b39accaf6c29d61..89651bcda50f462abff019ba52998f19f757d55e 100644
+index 9441a2b4b113799aed64bf800f403832e802751f..cf73f22d04efbc48260f890a55098be69e900798 100644
--- a/ios/chrome/browser/net/ios_chrome_network_delegate.h
+++ b/ios/chrome/browser/net/ios_chrome_network_delegate.h
-@@ -49,6 +49,7 @@ class IOSChromeNetworkDelegate : public net::NetworkDelegateImpl {
+@@ -50,6 +50,7 @@ class IOSChromeNetworkDelegate : public net::NetworkDelegateImpl {
PrefService* pref_service);
private:
diff --git a/patches/ios-chrome-browser-shared-model-prefs-browser_prefs.mm.patch b/patches/ios-chrome-browser-shared-model-prefs-browser_prefs.mm.patch
index a8add605c601..b0856e33abd5 100644
--- a/patches/ios-chrome-browser-shared-model-prefs-browser_prefs.mm.patch
+++ b/patches/ios-chrome-browser-shared-model-prefs-browser_prefs.mm.patch
@@ -1,26 +1,26 @@
diff --git a/ios/chrome/browser/shared/model/prefs/browser_prefs.mm b/ios/chrome/browser/shared/model/prefs/browser_prefs.mm
-index e8f26ff23d5a4235b04a41492c5dbedd88ec7c03..b79a24ac865b276a5213e8544cbcd002b5ff8319 100644
+index 1fa0cd98c343546757fbbf08468e43eb786c250f..38744f944c6b95e1cb5fd04ef9e42724f20cea61 100644
--- a/ios/chrome/browser/shared/model/prefs/browser_prefs.mm
+++ b/ios/chrome/browser/shared/model/prefs/browser_prefs.mm
-@@ -260,6 +260,7 @@ void RegisterLocalStatePrefs(PrefRegistrySimple* registry) {
- // since a freshness signal of the Most Visited Sites.
- registry->RegisterIntegerPref(
- prefs::kIosMagicStackSegmentationMVTImpressionsSinceFreshness, -1);
+@@ -299,6 +299,7 @@ void RegisterLocalStatePrefs(PrefRegistrySimple* registry) {
+ prefs::kIosSafetyCheckManagerSafeBrowsingCheckResult,
+ NameForSafetyCheckState(SafeBrowsingSafetyCheckState::kDefault),
+ PrefRegistry::LOSSY_PREF);
+ BRAVE_REGISTER_LOCAL_STATE_PREFS
}
void RegisterBrowserStatePrefs(user_prefs::PrefRegistrySyncable* registry) {
-@@ -429,6 +430,7 @@ void RegisterBrowserStatePrefs(user_prefs::PrefRegistrySyncable* registry) {
- ntp_snippets::prefs::RegisterProfilePrefsForMigrationApril2023(registry);
-
- registry->RegisterBooleanPref(kDeprecatedReadingListHasUnseenEntries, false);
+@@ -479,6 +480,7 @@ void RegisterBrowserStatePrefs(user_prefs::PrefRegistrySyncable* registry) {
+ // Register pref used to detect addresses in web page
+ registry->RegisterBooleanPref(prefs::kDetectAddressesEnabled, true);
+ registry->RegisterBooleanPref(prefs::kDetectAddressesAccepted, false);
+ BRAVE_REGISTER_BROWSER_STATE_PREFS
}
// This method should be periodically pruned of year+ old migrations.
-@@ -503,4 +505,5 @@ void MigrateObsoleteBrowserStatePrefs(PrefService* prefs) {
-
- // Added 04/2023.
- ntp_snippets::prefs::MigrateObsoleteProfilePrefsApril2023(prefs);
+@@ -567,4 +569,5 @@ void MigrateObsoleteBrowserStatePrefs(PrefService* prefs) {
+ invalidation::InvalidatorRegistrarWithMemory::ClearDeprecatedPrefs(prefs);
+ invalidation::PerUserTopicSubscriptionManager::ClearDeprecatedPrefs(prefs);
+ invalidation::FCMInvalidationService::ClearDeprecatedPrefs(prefs);
+ BRAVE_MIGRATE_OBSOLETE_BROWSER_STATE_PREFS
}
diff --git a/patches/ios-chrome-browser-sync-sync_service_factory.mm.patch b/patches/ios-chrome-browser-sync-sync_service_factory.mm.patch
index edffce2eedb7..b9bc8194fd69 100644
--- a/patches/ios-chrome-browser-sync-sync_service_factory.mm.patch
+++ b/patches/ios-chrome-browser-sync-sync_service_factory.mm.patch
@@ -1,8 +1,8 @@
diff --git a/ios/chrome/browser/sync/sync_service_factory.mm b/ios/chrome/browser/sync/sync_service_factory.mm
-index ec559a4168be158ab7d484dbf1402c78a31441ca..b6d4880a49952e0d7ae3f4e6c3a2341a959898a7 100644
+index eba86ca628053db3fa07b231d30c9902589bc643..451fce16032a81256848a5908201e5e8c131c428 100644
--- a/ios/chrome/browser/sync/sync_service_factory.mm
+++ b/ios/chrome/browser/sync/sync_service_factory.mm
-@@ -163,7 +163,7 @@ std::unique_ptr SyncServiceFactory::BuildServiceInstanceFor(
+@@ -170,7 +170,7 @@ std::unique_ptr SyncServiceFactory::BuildServiceInstanceFor(
init_params.debug_identifier = browser_state->GetDebugName();
auto sync_service =
diff --git a/patches/net-BUILD.gn.patch b/patches/net-BUILD.gn.patch
index c65478a573d1..c8c0943eb9f6 100644
--- a/patches/net-BUILD.gn.patch
+++ b/patches/net-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/net/BUILD.gn b/net/BUILD.gn
-index ae9b0f4c88c58149d499898b871095a78991467d..2f7dd75f1597b0274b7361f82532767e05375c28 100644
+index a57b48653375fc907da68b94b5e87adcc95aa25a..e70785191f2faeaa764903e5658ac8e8fb6e6f6b 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
-@@ -1149,6 +1149,7 @@ component("net") {
+@@ -1158,6 +1158,7 @@ component("net") {
"reporting/reporting_uploader.h",
]
}
diff --git a/patches/net-cookies-canonical_cookie.cc.patch b/patches/net-cookies-canonical_cookie.cc.patch
index 8744baa75d18..ed1ee12908f2 100644
--- a/patches/net-cookies-canonical_cookie.cc.patch
+++ b/patches/net-cookies-canonical_cookie.cc.patch
@@ -1,8 +1,8 @@
diff --git a/net/cookies/canonical_cookie.cc b/net/cookies/canonical_cookie.cc
-index 58f33fb56108f9d502054709a812594655401604..e37ef4982ffe3df111b3079e9c4b0f396b222de9 100644
+index edb3e8b305538be9e58dea5b3dd53e4aae30a67d..d9c6edf446226dde8b0c75f07e384ee12bd190da 100644
--- a/net/cookies/canonical_cookie.cc
+++ b/net/cookies/canonical_cookie.cc
-@@ -516,6 +516,7 @@ base::Time CanonicalCookie::ValidateAndAdjustExpiryDate(
+@@ -514,6 +514,7 @@ base::Time CanonicalCookie::ValidateAndAdjustExpiryDate(
// * network_handler.cc::MakeCookieFromProtocolValues
fixed_creation_date = base::Time::Now();
}
diff --git a/patches/net-proxy_resolution-configured_proxy_resolution_service.cc.patch b/patches/net-proxy_resolution-configured_proxy_resolution_service.cc.patch
index ae0f8f69c12a..a633f04c4464 100644
--- a/patches/net-proxy_resolution-configured_proxy_resolution_service.cc.patch
+++ b/patches/net-proxy_resolution-configured_proxy_resolution_service.cc.patch
@@ -1,8 +1,8 @@
diff --git a/net/proxy_resolution/configured_proxy_resolution_service.cc b/net/proxy_resolution/configured_proxy_resolution_service.cc
-index 2463ee9c9c2bd0bda48874014ca8f20597edb068..2f75532d718e0cf22dd586ba8ae2427fc017a67b 100644
+index 748e22105097a0cf8cdc1887c743f2bc86bdc308..3e2be523e92f946ca7ed21b5edfefa66fd1f29e3 100644
--- a/net/proxy_resolution/configured_proxy_resolution_service.cc
+++ b/net/proxy_resolution/configured_proxy_resolution_service.cc
-@@ -976,6 +976,7 @@ int ConfiguredProxyResolutionService::TryToCompleteSynchronously(
+@@ -982,6 +982,7 @@ int ConfiguredProxyResolutionService::TryToCompleteSynchronously(
config_->value().proxy_rules().Apply(url, result);
result->set_traffic_annotation(
MutableNetworkTrafficAnnotationTag(config_->traffic_annotation()));
diff --git a/patches/sandbox-policy-win-sandbox_win.cc.patch b/patches/sandbox-policy-win-sandbox_win.cc.patch
index 7b7e192a8b48..ab6695829856 100644
--- a/patches/sandbox-policy-win-sandbox_win.cc.patch
+++ b/patches/sandbox-policy-win-sandbox_win.cc.patch
@@ -1,8 +1,8 @@
diff --git a/sandbox/policy/win/sandbox_win.cc b/sandbox/policy/win/sandbox_win.cc
-index 490ecf09ab4736ef3bb30b63f50e25a4448df493..49d770ed7189a15c3f222f9e126fcc8f3eb5cac4 100644
+index 2ee0182088f41846f352fae0b67fc90448855355..1a093e5d75a3ccfae240ca493628e3c5ce762af3 100644
--- a/sandbox/policy/win/sandbox_win.cc
+++ b/sandbox/policy/win/sandbox_win.cc
-@@ -702,6 +702,7 @@ ResultCode LaunchWithoutSandbox(
+@@ -711,6 +711,7 @@ ResultCode LaunchWithoutSandbox(
base::Process* process) {
base::LaunchOptions options;
options.handles_to_inherit = handles_to_inherit;
diff --git a/patches/sandbox-win-BUILD.gn.patch b/patches/sandbox-win-BUILD.gn.patch
index d5f7d95e4637..8766d547c9dc 100644
--- a/patches/sandbox-win-BUILD.gn.patch
+++ b/patches/sandbox-win-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/sandbox/win/BUILD.gn b/sandbox/win/BUILD.gn
-index 35acb314136dedd089a68e071a14ae78040a68c4..985804a223823dfe4cc75a44b72c9be3e5770590 100644
+index e9d67c43a84d6b1cf60743c4814b9e74e26a4e02..669883c32b824d615053dcc39823d320556b39d8 100644
--- a/sandbox/win/BUILD.gn
+++ b/sandbox/win/BUILD.gn
-@@ -173,6 +173,7 @@ static_library("sandbox") {
+@@ -186,6 +186,7 @@ static_library("sandbox") {
"ntdll.lib",
"userenv.lib",
]
diff --git a/patches/services-network-cookie_manager.cc.patch b/patches/services-network-cookie_manager.cc.patch
index ab129b78a2c2..c7d5fca8d8fa 100644
--- a/patches/services-network-cookie_manager.cc.patch
+++ b/patches/services-network-cookie_manager.cc.patch
@@ -1,8 +1,8 @@
diff --git a/services/network/cookie_manager.cc b/services/network/cookie_manager.cc
-index ad55d136252add1f85a53233d1063eb9ace3388c..0c64fb2e570f4bb092e882f5c9042878d7f9bf6b 100644
+index abe47939a03cec9aa08a46c49df569ff6c4c5763..988f7ba6bdefbc972ec78f8e445a4f575e7d62a2 100644
--- a/services/network/cookie_manager.cc
+++ b/services/network/cookie_manager.cc
-@@ -363,6 +363,7 @@ CookieDeletionInfo DeletionFilterToInfo(mojom::CookieDeletionFilterPtr filter) {
+@@ -389,6 +389,7 @@ CookieDeletionInfo DeletionFilterToInfo(mojom::CookieDeletionFilterPtr filter) {
delete_info.name = std::move(filter->cookie_name);
delete_info.url = std::move(filter->url);
delete_info.host = std::move(filter->host_name);
diff --git a/patches/services-network-cookie_settings.cc.patch b/patches/services-network-cookie_settings.cc.patch
deleted file mode 100644
index b73e8b230086..000000000000
--- a/patches/services-network-cookie_settings.cc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/services/network/cookie_settings.cc b/services/network/cookie_settings.cc
-index ebb05ccaac10a42bbacfba194ea9e3be27b077c5..6e9f3dc89e5882eb437bf9d30290e9b2c119f3e8 100644
---- a/services/network/cookie_settings.cc
-+++ b/services/network/cookie_settings.cc
-@@ -230,6 +230,7 @@ CookieSettings::GetCookieSettingWithMetadata(
- storage_access_result =
- net::cookie_util::StorageAccessResult::ACCESS_BLOCKED;
- }
-+ BRAVE_COOKIE_SETTINGS_GET_COOKIE_SETTINGS_INTERNAL
- }
-
- if (cookie_setting != CONTENT_SETTING_BLOCK && !found_explicit_setting &&
diff --git a/patches/services-network-cors-cors_url_loader.cc.patch b/patches/services-network-cors-cors_url_loader.cc.patch
index adb987fe46e9..afa5bc670188 100644
--- a/patches/services-network-cors-cors_url_loader.cc.patch
+++ b/patches/services-network-cors-cors_url_loader.cc.patch
@@ -1,8 +1,8 @@
diff --git a/services/network/cors/cors_url_loader.cc b/services/network/cors/cors_url_loader.cc
-index 71eba8cdc00f86e62550ba455b9448dc597be847..59a5537d57006a81ba8b2c9f399c04296863acb8 100644
+index d0614c83b2bb5b0fd58b497f69fdc7be2a54045d..505c29dc7a4d7e725a641845302e3c19eb1cae77 100644
--- a/services/network/cors/cors_url_loader.cc
+++ b/services/network/cors/cors_url_loader.cc
-@@ -732,6 +732,7 @@ void CorsURLLoader::StartRequest() {
+@@ -805,6 +805,7 @@ void CorsURLLoader::StartRequest() {
(fetch_cors_flag_ ||
(request_.method != net::HttpRequestHeaders::kGetMethod &&
request_.method != net::HttpRequestHeaders::kHeadMethod))) {
diff --git a/patches/services-network-public-cpp-BUILD.gn.patch b/patches/services-network-public-cpp-BUILD.gn.patch
index d215330ffba9..f154a68d3405 100644
--- a/patches/services-network-public-cpp-BUILD.gn.patch
+++ b/patches/services-network-public-cpp-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/services/network/public/cpp/BUILD.gn b/services/network/public/cpp/BUILD.gn
-index 3c49fcf0a1f9b936822d19a7206870bc14647ca7..f70da1ab4cec156a90897c335464975e92fd5d71 100644
+index 1ffcf713159f42639f664411471f2f2ffe135c97..45a8d8aededa7ee69fa72ccdd84d9a5034aa1bb3 100644
--- a/services/network/public/cpp/BUILD.gn
+++ b/services/network/public/cpp/BUILD.gn
-@@ -188,6 +188,7 @@ component("cpp") {
+@@ -189,6 +189,7 @@ component("cpp") {
"//services/proxy_resolver/public/mojom",
]
diff --git a/patches/services-network-public-cpp-cors-cors.cc.patch b/patches/services-network-public-cpp-cors-cors.cc.patch
index 7648c2d546b3..0f8814f521f7 100644
--- a/patches/services-network-public-cpp-cors-cors.cc.patch
+++ b/patches/services-network-public-cpp-cors-cors.cc.patch
@@ -1,8 +1,8 @@
diff --git a/services/network/public/cpp/cors/cors.cc b/services/network/public/cpp/cors/cors.cc
-index 56dcd2016f9fa38807165670ff63fa51504271f4..4bf496534bd4ece74558305f3788e3e63309aaa1 100644
+index e72cb977f6a29a3767f103ef29e3df2d31b23048..3fc6f27c4c2aad35319b7bf66a75372555d7de92 100644
--- a/services/network/public/cpp/cors/cors.cc
+++ b/services/network/public/cpp/cors/cors.cc
-@@ -322,6 +322,7 @@ bool IsCorsSafelistedHeader(const std::string& name, const std::string& value) {
+@@ -326,6 +326,7 @@ bool IsCorsSafelistedHeader(const std::string& name, const std::string& value) {
"sec-ch-ua-mobile",
"sec-ch-ua-full-version",
"sec-ch-ua-platform-version",
diff --git a/patches/third_party-blink-common-client_hints-client_hints.cc.patch b/patches/third_party-blink-common-client_hints-client_hints.cc.patch
index c373356d64a9..fe2a3fc0bac3 100644
--- a/patches/third_party-blink-common-client_hints-client_hints.cc.patch
+++ b/patches/third_party-blink-common-client_hints-client_hints.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/common/client_hints/client_hints.cc b/third_party/blink/common/client_hints/client_hints.cc
-index 36f6a35286f197ac5fdbf8662e8fb5f545e22a29..c67af7e801462e33d1ea5d21f152c8d87afb8e1e 100644
+index 5c0d77d82bdd251d3c21d8ae594d2ede534255c1..8c566149df04fed84862b4e6cf020514f7f61236 100644
--- a/third_party/blink/common/client_hints/client_hints.cc
+++ b/third_party/blink/common/client_hints/client_hints.cc
-@@ -101,6 +101,7 @@ const PolicyFeatureToClientHintMap& GetPolicyFeatureToClientHintMap() {
+@@ -103,6 +103,7 @@ const PolicyFeatureToClientHintMap& GetPolicyFeatureToClientHintMap() {
}
bool IsClientHintSentByDefault(network::mojom::WebClientHintsType type) {
diff --git a/patches/third_party-blink-renderer-bindings-BUILD.gn.patch b/patches/third_party-blink-renderer-bindings-BUILD.gn.patch
index 18c0da76d785..fce6cee38cf4 100644
--- a/patches/third_party-blink-renderer-bindings-BUILD.gn.patch
+++ b/patches/third_party-blink-renderer-bindings-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/bindings/BUILD.gn b/third_party/blink/renderer/bindings/BUILD.gn
-index 01d5bdc58ddc5e2b4e13c86bf16c8ca8e577dc72..9f7ba12f895783aaa036386f0767b4893626c8f6 100644
+index df522f5c4245f754c0197c4181869202fabb43c0..ccc0b7db8c25be34da985bb6520ece22bd133f52 100644
--- a/third_party/blink/renderer/bindings/BUILD.gn
+++ b/third_party/blink/renderer/bindings/BUILD.gn
@@ -174,6 +174,7 @@ template("generate_bindings") {
diff --git a/patches/third_party-blink-renderer-bindings-core-v8-v8_script_runner.cc.patch b/patches/third_party-blink-renderer-bindings-core-v8-v8_script_runner.cc.patch
index 308043781797..752a222b9242 100644
--- a/patches/third_party-blink-renderer-bindings-core-v8-v8_script_runner.cc.patch
+++ b/patches/third_party-blink-renderer-bindings-core-v8-v8_script_runner.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/bindings/core/v8/v8_script_runner.cc b/third_party/blink/renderer/bindings/core/v8/v8_script_runner.cc
-index 141eebfb386c09bcac13a136fc05abe6e2afcaab..500c238c175a44190bea1249917e731935e5ddcb 100644
+index 996c19fc0df15b5abfe3a4a2eceb9bc8a2f3da31..89c0c7e83a0dc1a96fe15f927f699aa87c68aeb6 100644
--- a/third_party/blink/renderer/bindings/core/v8/v8_script_runner.cc
+++ b/third_party/blink/renderer/bindings/core/v8/v8_script_runner.cc
-@@ -216,7 +216,7 @@ int GetMicrotasksScopeDepth(v8::Isolate* isolate,
+@@ -218,7 +218,7 @@ int GetMicrotasksScopeDepth(v8::Isolate* isolate,
} // namespace
@@ -11,7 +11,7 @@ index 141eebfb386c09bcac13a136fc05abe6e2afcaab..500c238c175a44190bea1249917e7319
ScriptState* script_state,
const ClassicScript& classic_script,
v8::ScriptOrigin origin,
-@@ -260,7 +260,7 @@ v8::MaybeLocal V8ScriptRunner::CompileScript(
+@@ -262,7 +262,7 @@ v8::MaybeLocal V8ScriptRunner::CompileScript(
return script;
}
diff --git a/patches/third_party-blink-renderer-bindings-generated_in_modules.gni.patch b/patches/third_party-blink-renderer-bindings-generated_in_modules.gni.patch
index e95bc657a673..618d9017204e 100644
--- a/patches/third_party-blink-renderer-bindings-generated_in_modules.gni.patch
+++ b/patches/third_party-blink-renderer-bindings-generated_in_modules.gni.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/bindings/generated_in_modules.gni b/third_party/blink/renderer/bindings/generated_in_modules.gni
-index d479a0547c8e36bcc8500581b00cdf390b958972..c1c9a2a3465e8716620a4058683f2bb3e48c1683 100644
+index 3449b2d09007295513c10ef31a784c01e3d07f28..2be8e24aa9d3f0409ab09f4640bc8b640c0d681a 100644
--- a/third_party/blink/renderer/bindings/generated_in_modules.gni
+++ b/third_party/blink/renderer/bindings/generated_in_modules.gni
-@@ -2796,6 +2796,7 @@ generated_interface_sources_in_modules = [
+@@ -2822,6 +2822,7 @@ generated_interface_sources_in_modules = [
"$root_gen_dir/third_party/blink/renderer/bindings/modules/v8/v8_xr_webgl_sub_image.cc",
"$root_gen_dir/third_party/blink/renderer/bindings/modules/v8/v8_xr_webgl_sub_image.h",
]
diff --git a/patches/third_party-blink-renderer-bindings-idl_in_modules.gni.patch b/patches/third_party-blink-renderer-bindings-idl_in_modules.gni.patch
index f717f6e3b7b8..15025dc7b401 100644
--- a/patches/third_party-blink-renderer-bindings-idl_in_modules.gni.patch
+++ b/patches/third_party-blink-renderer-bindings-idl_in_modules.gni.patch
@@ -1,12 +1,12 @@
diff --git a/third_party/blink/renderer/bindings/idl_in_modules.gni b/third_party/blink/renderer/bindings/idl_in_modules.gni
-index 8ce8ec4fea79b204f11da261a3efe49aae762a54..459e036cc962337675d112ff55c7ffa0c5da81c5 100644
+index ac78d27520c8b54905a327eb1669937675e85b0f..a7699d0a44dd7cd4d5f0efc024da89495de9eb36 100644
--- a/third_party/blink/renderer/bindings/idl_in_modules.gni
+++ b/third_party/blink/renderer/bindings/idl_in_modules.gni
-@@ -1204,6 +1204,7 @@ static_idl_files_in_modules = get_path_info(
- "//third_party/blink/renderer/modules/xr/xr_webgl_sub_image.idl",
- ],
- "abspath")
-+static_idl_files_in_modules += get_path_info(brave_static_idl_files_in_modules, "abspath")
+@@ -1210,6 +1210,7 @@ static_idl_files_in_modules = [
+ "//third_party/blink/renderer/modules/xr/xr_webgl_layer_init.idl",
+ "//third_party/blink/renderer/modules/xr/xr_webgl_sub_image.idl",
+ ]
++static_idl_files_in_modules += brave_static_idl_files_in_modules
# Direct Sockets
# This uses target_os rather than current_os (which is what is_android is set
diff --git a/patches/third_party-blink-renderer-bindings-scripts-bind_gen-interface.py.patch b/patches/third_party-blink-renderer-bindings-scripts-bind_gen-interface.py.patch
index eea03680fdbd..cc95a63645d8 100644
--- a/patches/third_party-blink-renderer-bindings-scripts-bind_gen-interface.py.patch
+++ b/patches/third_party-blink-renderer-bindings-scripts-bind_gen-interface.py.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/bindings/scripts/bind_gen/interface.py b/third_party/blink/renderer/bindings/scripts/bind_gen/interface.py
-index 70f6bd8a166c83fa629ec86a4b11bfb948fc88c2..102812a867d6931f03920ab8a1dc0956afd56018 100644
+index cfdef3a726650a9e800ae9315501358a81537e4a..3d18aacf5210341c016e1f4da938f6fe0b9edf70 100644
--- a/third_party/blink/renderer/bindings/scripts/bind_gen/interface.py
+++ b/third_party/blink/renderer/bindings/scripts/bind_gen/interface.py
-@@ -8306,3 +8306,4 @@ def generate_interfaces(task_queue):
+@@ -8314,3 +8314,4 @@ def generate_interfaces(task_queue):
"InitIDLInterfacesForTesting",
"init_idl_interfaces_for_testing",
for_testing=True)
diff --git a/patches/third_party-blink-renderer-bindings-scripts-bind_gen-task_queue.py.patch b/patches/third_party-blink-renderer-bindings-scripts-bind_gen-task_queue.py.patch
index a2dbd47bfb72..a1f2f62709e4 100644
--- a/patches/third_party-blink-renderer-bindings-scripts-bind_gen-task_queue.py.patch
+++ b/patches/third_party-blink-renderer-bindings-scripts-bind_gen-task_queue.py.patch
@@ -1,12 +1,12 @@
diff --git a/third_party/blink/renderer/bindings/scripts/bind_gen/task_queue.py b/third_party/blink/renderer/bindings/scripts/bind_gen/task_queue.py
-index fad978bd8a1eb4905796377b4f4504c360054a18..ca58c2fb5ac3a4b68d252e908eff6d828e528be5 100644
+index 39e7f5eefa7da758409e45f4962c7ec0e4780808..6292c46c79051f4fedc868f2fa85584ccf6e1937 100644
--- a/third_party/blink/renderer/bindings/scripts/bind_gen/task_queue.py
+++ b/third_party/blink/renderer/bindings/scripts/bind_gen/task_queue.py
-@@ -34,6 +34,7 @@ class TaskQueue(object):
+@@ -43,6 +43,7 @@ class TaskQueue(object):
# TODO(crbug.com/1190269) - we can't use more than 56
# cores on Windows or Python3 may hang.
self._pool_size = min(self._pool_size, 56)
+ from brave_task_queue_helper import limit_pool_size; limit_pool_size(self)
self._pool = multiprocessing.Pool(self._pool_size,
package_initializer().init)
- self._requested_tasks = [] # List of (workload, func, args, kwargs)
+ self._requested_tasks = [] # List of _Task
diff --git a/patches/third_party-blink-renderer-bindings-scripts-web_idl-composition_parts.py.patch b/patches/third_party-blink-renderer-bindings-scripts-web_idl-composition_parts.py.patch
index 3aa6ee919d59..21a28e4d26f7 100644
--- a/patches/third_party-blink-renderer-bindings-scripts-web_idl-composition_parts.py.patch
+++ b/patches/third_party-blink-renderer-bindings-scripts-web_idl-composition_parts.py.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/bindings/scripts/web_idl/composition_parts.py b/third_party/blink/renderer/bindings/scripts/web_idl/composition_parts.py
-index 9e3214af0354f44739f65478f6f97981d1d40339..b771d6f5550f433e99823187f7906d827932bdec 100644
+index 6d965b89b03d09860c0063251cf021424d3fe9a7..11c8c1697190c6d8795274acd7efc3381a6d5630 100644
--- a/third_party/blink/renderer/bindings/scripts/web_idl/composition_parts.py
+++ b/third_party/blink/renderer/bindings/scripts/web_idl/composition_parts.py
@@ -157,6 +157,7 @@ class Location(object):
diff --git a/patches/third_party-blink-renderer-core-BUILD.gn.patch b/patches/third_party-blink-renderer-core-BUILD.gn.patch
index 41aa4adb74c6..329e46b80fcd 100644
--- a/patches/third_party-blink-renderer-core-BUILD.gn.patch
+++ b/patches/third_party-blink-renderer-core-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/core/BUILD.gn b/third_party/blink/renderer/core/BUILD.gn
-index d1ab6d45d519dd131a854b01b90295b5e7316d71..9a6630b21c9a2e272f9e8ef0dd8766eabddc6ffe 100644
+index 7b327be8a003ae01f79f71f00979ef0b2f45ac2a..2d8bee95575aabfcced665bbff548993ef2dfc1e 100644
--- a/third_party/blink/renderer/core/BUILD.gn
+++ b/third_party/blink/renderer/core/BUILD.gn
-@@ -400,6 +400,7 @@ component("core") {
+@@ -399,6 +399,7 @@ component("core") {
"Carbon.framework",
]
}
diff --git a/patches/third_party-blink-renderer-core-dom-events-event_target.cc.patch b/patches/third_party-blink-renderer-core-dom-events-event_target.cc.patch
index f48698750ac3..756e300bd323 100644
--- a/patches/third_party-blink-renderer-core-dom-events-event_target.cc.patch
+++ b/patches/third_party-blink-renderer-core-dom-events-event_target.cc.patch
@@ -1,20 +1,20 @@
diff --git a/third_party/blink/renderer/core/dom/events/event_target.cc b/third_party/blink/renderer/core/dom/events/event_target.cc
-index e9e9eab7e1e75419eea085a19733d3a68be117a3..5d1039e77b3962b7ae630629ad2e6a380a8fdad6 100644
+index 606a43d2b5493e3f81c82d0a2396cbf3d7b63319..430f8a43c9bf24a70169a66da0a72b0c3567b9f1 100644
--- a/third_party/blink/renderer/core/dom/events/event_target.cc
+++ b/third_party/blink/renderer/core/dom/events/event_target.cc
@@ -478,6 +478,7 @@ bool EventTarget::AddEventListenerInternal(
- bool added = EnsureEventTargetData().event_listener_map.Add(
event_type, listener, options, ®istered_listener);
if (added) {
+ CHECK(registered_listener);
+ BRAVE_EVENT_TARGET_ADD_EVENT_LISTENER_INTERNAL
if (options->hasSignal()) {
// Instead of passing the entire |options| here, which could create a
// circular reference due to |options| holding a Member, just
-@@ -639,6 +640,7 @@ bool EventTarget::RemoveEventListenerInternal(
- &index_of_removed_listener,
- ®istered_listener))
+@@ -638,6 +639,7 @@ bool EventTarget::RemoveEventListenerInternal(
+ ®istered_listener)) {
return false;
+ }
+ BRAVE_EVENT_TARGET_REMOVE_EVENT_LISTENER_INTERNAL
- // Notify firing events planning to invoke the listener at 'index' that
- // they have one less listener to invoke.
+ CHECK(registered_listener);
+ RemovedEventListener(event_type, *registered_listener);
diff --git a/patches/third_party-blink-renderer-core-frame-dom_window.h.patch b/patches/third_party-blink-renderer-core-frame-dom_window.h.patch
index 2617aa580545..b0f8c35093b6 100644
--- a/patches/third_party-blink-renderer-core-frame-dom_window.h.patch
+++ b/patches/third_party-blink-renderer-core-frame-dom_window.h.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/core/frame/dom_window.h b/third_party/blink/renderer/core/frame/dom_window.h
-index 25642b379aa2f0ad45e9f8db5a3545df374f1df8..748bff51eabb2183b2eb54c3ca42be878d179fc1 100644
+index 6e86def1fd4a3f69704e79fe2fb2f041f9aeb655..1d09f2733477722489fcdc64993f0a9182de6861 100644
--- a/third_party/blink/renderer/core/frame/dom_window.h
+++ b/third_party/blink/renderer/core/frame/dom_window.h
-@@ -190,6 +190,7 @@ class CORE_EXPORT DOMWindow : public EventTargetWithInlineData {
+@@ -191,6 +191,7 @@ class CORE_EXPORT DOMWindow : public EventTarget {
void DisconnectFromFrame() { frame_ = nullptr; }
diff --git a/patches/third_party-blink-renderer-core-html-canvas-canvas_async_blob_creator.cc.patch b/patches/third_party-blink-renderer-core-html-canvas-canvas_async_blob_creator.cc.patch
index ebaadbbfb61b..08e19adc40c9 100644
--- a/patches/third_party-blink-renderer-core-html-canvas-canvas_async_blob_creator.cc.patch
+++ b/patches/third_party-blink-renderer-core-html-canvas-canvas_async_blob_creator.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc b/third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc
-index 4798a082e34e28e8b55c86a2ed795843f8da9a65..c53b0f78a874133bc01a7d2326a7e2b22c84e5f5 100644
+index 72b4a15778f605209ff2ffd593277460c5a6a38a..5543294c041c430927f72d678cb2c8ac46ea5dd1 100644
--- a/third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc
+++ b/third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc
-@@ -209,6 +209,7 @@ CanvasAsyncBlobCreator::CanvasAsyncBlobCreator(
+@@ -207,6 +207,7 @@ CanvasAsyncBlobCreator::CanvasAsyncBlobCreator(
src_data_.reset(info, src_data_.addr(), src_data_.rowBytes());
}
}
diff --git a/patches/third_party-blink-renderer-core-html-canvas-html_canvas_element.cc.patch b/patches/third_party-blink-renderer-core-html-canvas-html_canvas_element.cc.patch
index 2a5cd2698cd5..4abd460df913 100644
--- a/patches/third_party-blink-renderer-core-html-canvas-html_canvas_element.cc.patch
+++ b/patches/third_party-blink-renderer-core-html-canvas-html_canvas_element.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/core/html/canvas/html_canvas_element.cc b/third_party/blink/renderer/core/html/canvas/html_canvas_element.cc
-index ca9d0d350778c546d4e26bec2c19e11a72ace8cb..b7081455e1ed68d81726612e5e5e70d42bed01a5 100644
+index 7d8a59ea6e0d3983711e305ce98e99abbe0bc06a..e87dba4ae082bfdd36514e01dece759a28ccc236 100644
--- a/third_party/blink/renderer/core/html/canvas/html_canvas_element.cc
+++ b/third_party/blink/renderer/core/html/canvas/html_canvas_element.cc
-@@ -1166,6 +1166,7 @@ String HTMLCanvasElement::ToDataURLInternal(
+@@ -1169,6 +1169,7 @@ String HTMLCanvasElement::ToDataURLInternal(
if (!data_buffer)
return String("data:,");
diff --git a/patches/third_party-blink-renderer-core-loader-mixed_content_checker.cc.patch b/patches/third_party-blink-renderer-core-loader-mixed_content_checker.cc.patch
index 18c593cfd5f6..515040df363f 100644
--- a/patches/third_party-blink-renderer-core-loader-mixed_content_checker.cc.patch
+++ b/patches/third_party-blink-renderer-core-loader-mixed_content_checker.cc.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/core/loader/mixed_content_checker.cc b/third_party/blink/renderer/core/loader/mixed_content_checker.cc
-index d611b09547bb871a13df9bdfd61d813f1d5ca62f..5b9879c3b74cb2332e228d4a8388b1213afcc646 100644
+index 9740fcb48303171f40192cab4e9087c28f6edb58..10761b01ecb4b7c24145002ba7d1726ca37b3335 100644
--- a/third_party/blink/renderer/core/loader/mixed_content_checker.cc
+++ b/third_party/blink/renderer/core/loader/mixed_content_checker.cc
@@ -270,6 +270,7 @@ bool RequestIsSubframeSubresource(Frame* frame) {
diff --git a/patches/third_party-blink-renderer-core-loader-modulescript-module_script_loader.cc.patch b/patches/third_party-blink-renderer-core-loader-modulescript-module_script_loader.cc.patch
index 49406d420479..e9cda20142ab 100644
--- a/patches/third_party-blink-renderer-core-loader-modulescript-module_script_loader.cc.patch
+++ b/patches/third_party-blink-renderer-core-loader-modulescript-module_script_loader.cc.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/core/loader/modulescript/module_script_loader.cc b/third_party/blink/renderer/core/loader/modulescript/module_script_loader.cc
-index f58daab3916a364ad37ff9d625ada5a275eb4aa8..6656c48279f47e44581bdf314ca029d97492f5d5 100644
+index e6138a686984bac424dcbd3d36bd168578414e13..19b5520af9c6143b0ec7bc50005253462de0cc03 100644
--- a/third_party/blink/renderer/core/loader/modulescript/module_script_loader.cc
+++ b/third_party/blink/renderer/core/loader/modulescript/module_script_loader.cc
@@ -145,6 +145,7 @@ void ModuleScriptLoader::FetchInternal(
diff --git a/patches/third_party-blink-renderer-core-loader-modulescript-module_tree_linker.cc.patch b/patches/third_party-blink-renderer-core-loader-modulescript-module_tree_linker.cc.patch
index 0219df357ae0..d8b1d13aa07e 100644
--- a/patches/third_party-blink-renderer-core-loader-modulescript-module_tree_linker.cc.patch
+++ b/patches/third_party-blink-renderer-core-loader-modulescript-module_tree_linker.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/core/loader/modulescript/module_tree_linker.cc b/third_party/blink/renderer/core/loader/modulescript/module_tree_linker.cc
-index 4de68c34765a435c5fc24915e12d222839501cf2..2ac0fbca2f307f3cc68d6703bbdb30e53de9b24e 100644
+index 75d4407e3ef566c03505a78de33994598f8888c6..14f05fc23b24bb8d5272daa0a33a352c3d6104c4 100644
--- a/third_party/blink/renderer/core/loader/modulescript/module_tree_linker.cc
+++ b/third_party/blink/renderer/core/loader/modulescript/module_tree_linker.cc
-@@ -435,6 +435,7 @@ void ModuleTreeLinker::FetchDescendants(const ModuleScript* module_script) {
+@@ -443,6 +443,7 @@ void ModuleTreeLinker::FetchDescendants(const ModuleScript* module_script) {
module_script->FetchOptions().GetReferrerPolicy(),
mojom::blink::FetchPriorityHint::kAuto,
RenderBlockingBehavior::kNonBlocking);
diff --git a/patches/third_party-blink-renderer-core-permissions_policy-permissions_policy_features.json5.patch b/patches/third_party-blink-renderer-core-permissions_policy-permissions_policy_features.json5.patch
index 8a9ff0196312..1430c23508da 100644
--- a/patches/third_party-blink-renderer-core-permissions_policy-permissions_policy_features.json5.patch
+++ b/patches/third_party-blink-renderer-core-permissions_policy-permissions_policy_features.json5.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5 b/third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5
-index a4c9b715e9ab9147ff6fefaa6bd2ffa2244837bb..0df5e0fa305947ca96309e78edb9aa2168e132a5 100644
+index fb7b51e46e140953a9f9a52fd6c1c8d7509a96c3..546f6d5f8745c6f997c709f7e626f0266b0f394b 100644
--- a/third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5
+++ b/third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5
-@@ -416,5 +416,13 @@
+@@ -424,5 +424,13 @@
// Parser also accepts "window-management" alias (crbug.com/1328581).
permissions_policy_name: "window-placement",
},
diff --git a/patches/third_party-blink-renderer-core-script-dynamic_module_resolver.cc.patch b/patches/third_party-blink-renderer-core-script-dynamic_module_resolver.cc.patch
index 522145c41002..a1468b90577d 100644
--- a/patches/third_party-blink-renderer-core-script-dynamic_module_resolver.cc.patch
+++ b/patches/third_party-blink-renderer-core-script-dynamic_module_resolver.cc.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/core/script/dynamic_module_resolver.cc b/third_party/blink/renderer/core/script/dynamic_module_resolver.cc
-index cdc5ffd98e9625a12e78ff3188559138088088c1..9e724b50ce464e4bb0db85f36560715504d4a2ae 100644
+index 6081d670c80758054e72621c96bcc6b621a8213c..2f327a6953b1f812fae27e974c366b13313eb866 100644
--- a/third_party/blink/renderer/core/script/dynamic_module_resolver.cc
+++ b/third_party/blink/renderer/core/script/dynamic_module_resolver.cc
@@ -285,6 +285,7 @@ void DynamicModuleResolver::ResolveDynamically(
diff --git a/patches/third_party-blink-renderer-core-script-script_loader.cc.patch b/patches/third_party-blink-renderer-core-script-script_loader.cc.patch
index 357cd3120dfe..41ba46cc2311 100644
--- a/patches/third_party-blink-renderer-core-script-script_loader.cc.patch
+++ b/patches/third_party-blink-renderer-core-script-script_loader.cc.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/core/script/script_loader.cc b/third_party/blink/renderer/core/script/script_loader.cc
-index b219bdafce6b233094351528e659ee1ad8b0f495..f8b4e0f5fbe649bad1cf0e9bdb99da566c288940 100644
+index 4540de053db6d2af0dd8394bc49057864c904b48..02fe66ff72044efeb2d312b81cbbc14896bdd45d 100644
--- a/third_party/blink/renderer/core/script/script_loader.cc
+++ b/third_party/blink/renderer/core/script/script_loader.cc
@@ -714,6 +714,7 @@ PendingScript* ScriptLoader::PrepareScript(
diff --git a/patches/third_party-blink-renderer-modules-BUILD.gn.patch b/patches/third_party-blink-renderer-modules-BUILD.gn.patch
index f7c5012d231b..f0bb40963f4f 100644
--- a/patches/third_party-blink-renderer-modules-BUILD.gn.patch
+++ b/patches/third_party-blink-renderer-modules-BUILD.gn.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/modules/BUILD.gn b/third_party/blink/renderer/modules/BUILD.gn
-index a74b1b700365ab54237de560c985d45dfeb80d93..2a9b9befbb1470642281a2bda13b99412b2c174e 100644
+index f586c6f41738ff6a3c126fff752066d0ff80ac30..cd9204d7966cd468fd6578de9f25aa844514e34b 100644
--- a/third_party/blink/renderer/modules/BUILD.gn
+++ b/third_party/blink/renderer/modules/BUILD.gn
@@ -19,6 +19,7 @@ if (is_ios) {
diff --git a/patches/third_party-blink-renderer-modules-canvas-canvas2d-base_rendering_context_2d.cc.patch b/patches/third_party-blink-renderer-modules-canvas-canvas2d-base_rendering_context_2d.cc.patch
index e36cc0a2a96c..8dd72c8d853a 100644
--- a/patches/third_party-blink-renderer-modules-canvas-canvas2d-base_rendering_context_2d.cc.patch
+++ b/patches/third_party-blink-renderer-modules-canvas-canvas2d-base_rendering_context_2d.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc
-index 8ea02ffddf1a38ecb628ffd969738056ebf96ed8..29002264c682e35dc88461115d53aeb6d49c3425 100644
+index 8274015c0f15cfc5dee8ac65758ba09b6b2cf94e..22ef99206499c952a3cb68a797d8838ac7200e0a 100644
--- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc
+++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc
-@@ -2044,6 +2044,7 @@ ImageData* BaseRenderingContext2D::getImageData(
+@@ -2045,6 +2045,7 @@ ImageData* BaseRenderingContext2D::getImageData(
}
ImageData* BaseRenderingContext2D::getImageDataInternal(
@@ -10,7 +10,7 @@ index 8ea02ffddf1a38ecb628ffd969738056ebf96ed8..29002264c682e35dc88461115d53aeb6
int sx,
int sy,
int sw,
-@@ -2184,6 +2185,7 @@ ImageData* BaseRenderingContext2D::getImageDataInternal(
+@@ -2187,6 +2188,7 @@ ImageData* BaseRenderingContext2D::getImageDataInternal(
DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh)));
}
}
diff --git a/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.cc.patch b/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.cc.patch
index 59fceff4c27b..767ef63aeb11 100644
--- a/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.cc.patch
+++ b/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc
-index dcf9247f80d04d4bbb6b92c3132a2cb620328994..b2e0ce42512f7a477b1f8bf6b7a7b83012507d23 100644
+index a48dc6092ef6e50984faf6da698d117cb1005cbf..d4ec5e96ab4788d43f18c02aa882b68b5b11aee6 100644
--- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc
+++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc
-@@ -934,6 +934,7 @@ TextMetrics* CanvasRenderingContext2D::measureText(const String& text) {
+@@ -916,6 +916,7 @@ TextMetrics* CanvasRenderingContext2D::measureText(const String& text) {
if (!canvas()->GetDocument().GetFrame())
return MakeGarbageCollected();
diff --git a/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.idl.patch b/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.idl.patch
index 2f85c7165c80..b39feeda0900 100644
--- a/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.idl.patch
+++ b/patches/third_party-blink-renderer-modules-canvas-canvas2d-canvas_rendering_context_2d.idl.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl
-index 435f95f1374fff2c341120d3f2ff5414afcb4946..8ce7508c203c6829182618ef2c62376243f547e1 100644
+index 57a2e4278acedaba5a97755e8c10e8c6ce39d8e2..6b240e7aa76e8594d4314b091662cdc49ede952e 100644
--- a/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl
+++ b/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.idl
-@@ -112,10 +112,10 @@ interface CanvasRenderingContext2D {
+@@ -118,10 +118,10 @@ interface CanvasRenderingContext2D {
[RuntimeEnabled=Canvas2dScrollPathIntoView] void scrollPathIntoView(optional Path2D path);
void clip(optional CanvasFillRule winding);
void clip(Path2D path, optional CanvasFillRule winding);
@@ -17,7 +17,7 @@ index 435f95f1374fff2c341120d3f2ff5414afcb4946..8ce7508c203c6829182618ef2c623762
// text (see also the CanvasDrawingStyles interface)
[HighEntropy] void fillText(DOMString text, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth);
-@@ -134,8 +134,8 @@ interface CanvasRenderingContext2D {
+@@ -140,8 +140,8 @@ interface CanvasRenderingContext2D {
[RaisesException] ImageData createImageData(ImageData imagedata);
[RaisesException] ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh);
[RaisesException] ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh, ImageDataSettings imageDataSettings);
diff --git a/patches/third_party-blink-renderer-modules-canvas-offscreencanvas2d-offscreen_canvas_rendering_context_2d.idl.patch b/patches/third_party-blink-renderer-modules-canvas-offscreencanvas2d-offscreen_canvas_rendering_context_2d.idl.patch
index 19a8aa501f9c..3a6ddf710e46 100644
--- a/patches/third_party-blink-renderer-modules-canvas-offscreencanvas2d-offscreen_canvas_rendering_context_2d.idl.patch
+++ b/patches/third_party-blink-renderer-modules-canvas-offscreencanvas2d-offscreen_canvas_rendering_context_2d.idl.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl
-index 3b3fd1c1f3ecab0b81346f72bbce02f7613fce79..765ff35fa6fab37c8e94053e087e264808f3c665 100644
+index c49bdf3cc50d1ed293aa375605c84baa4968fb5e..050b469544d85041d43f016bc69dab25737cb590 100644
--- a/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl
+++ b/third_party/blink/renderer/modules/canvas/offscreencanvas2d/offscreen_canvas_rendering_context_2d.idl
@@ -68,10 +68,10 @@
diff --git a/patches/third_party-blink-renderer-modules-csspaint-paint_rendering_context_2d.idl.patch b/patches/third_party-blink-renderer-modules-csspaint-paint_rendering_context_2d.idl.patch
index 365dba1362e4..baa33aa41874 100644
--- a/patches/third_party-blink-renderer-modules-csspaint-paint_rendering_context_2d.idl.patch
+++ b/patches/third_party-blink-renderer-modules-csspaint-paint_rendering_context_2d.idl.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl b/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl
-index 404d6be12d6d697b98766f32ae832cbbba830627..f8e52113b88261744d5503816b34145c42a81afe 100644
+index 7db5f95341a0e2ef8039112afd3c64a00912f623..4367eff02314a9b7e17121ae4c9d2c936b0fc61d 100644
--- a/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl
+++ b/third_party/blink/renderer/modules/csspaint/paint_rendering_context_2d.idl
@@ -63,10 +63,10 @@
diff --git a/patches/third_party-blink-renderer-modules-encryptedmedia-navigator_request_media_key_system_access.cc.patch b/patches/third_party-blink-renderer-modules-encryptedmedia-navigator_request_media_key_system_access.cc.patch
index bb9d84169ed7..bbd5734ec093 100644
--- a/patches/third_party-blink-renderer-modules-encryptedmedia-navigator_request_media_key_system_access.cc.patch
+++ b/patches/third_party-blink-renderer-modules-encryptedmedia-navigator_request_media_key_system_access.cc.patch
@@ -1,9 +1,9 @@
diff --git a/third_party/blink/renderer/modules/encryptedmedia/navigator_request_media_key_system_access.cc b/third_party/blink/renderer/modules/encryptedmedia/navigator_request_media_key_system_access.cc
-index bd248c8ae02e5c1964696c5f38f84c07224cfaf4..69d850d803ae2e626241cf69731b500609a632c6 100644
+index 45903eeab344f7b3c934af43ec5ccb37d3addfb1..3671daf89cc4a8f1056baafbe473e794aa4fa0e6 100644
--- a/third_party/blink/renderer/modules/encryptedmedia/navigator_request_media_key_system_access.cc
+++ b/third_party/blink/renderer/modules/encryptedmedia/navigator_request_media_key_system_access.cc
-@@ -198,6 +198,7 @@ ScriptPromise NavigatorRequestMediaKeySystemAccess::requestMediaKeySystemAccess(
- controller->EncryptedMediaClient(window);
+@@ -194,6 +194,7 @@ ScriptPromise NavigatorRequestMediaKeySystemAccess::requestMediaKeySystemAccess(
+ EncryptedMediaUtils::GetEncryptedMediaClientFromLocalDOMWindow(window);
media_client->RequestMediaKeySystemAccess(
WebEncryptedMediaRequest(initializer));
+ BRAVE_NAVIGATOR_REQUEST_MEDIA_KEY_SYSTEM_ACCESS
diff --git a/patches/third_party-blink-renderer-modules-mediastream-media_devices.cc.patch b/patches/third_party-blink-renderer-modules-mediastream-media_devices.cc.patch
index b20f986c7f8a..3286953f82fc 100644
--- a/patches/third_party-blink-renderer-modules-mediastream-media_devices.cc.patch
+++ b/patches/third_party-blink-renderer-modules-mediastream-media_devices.cc.patch
@@ -1,12 +1,12 @@
diff --git a/third_party/blink/renderer/modules/mediastream/media_devices.cc b/third_party/blink/renderer/modules/mediastream/media_devices.cc
-index b1bc1fe263304b7d1409ee8c47af61c5186afad0..0cf35ce44dc21bac90ef20e26f40c829c14d41a5 100644
+index 0fcf8943a65cf971a61068bf26770fc3ceb2ba13..d6fcfa04537f6fd13cae181e786ea31167b0e9be 100644
--- a/third_party/blink/renderer/modules/mediastream/media_devices.cc
+++ b/third_party/blink/renderer/modules/mediastream/media_devices.cc
-@@ -956,6 +956,7 @@ void MediaDevices::DevicesEnumerated(
+@@ -1002,6 +1002,7 @@ void MediaDevices::DevicesEnumerated(
}
}
+ BRAVE_MEDIA_DEVICES_DEVICES_ENUMERATED
RecordEnumeratedDevices(result_tracker->GetScriptState(), media_devices);
-
- if (enumerate_devices_test_callback_) {
+ result_tracker->Resolve(media_devices);
+ }
diff --git a/patches/third_party-blink-renderer-modules-webgl-webgl2_rendering_context_base.cc.patch b/patches/third_party-blink-renderer-modules-webgl-webgl2_rendering_context_base.cc.patch
index 3a7988448c77..1b94cece11f2 100644
--- a/patches/third_party-blink-renderer-modules-webgl-webgl2_rendering_context_base.cc.patch
+++ b/patches/third_party-blink-renderer-modules-webgl-webgl2_rendering_context_base.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/modules/webgl/webgl2_rendering_context_base.cc b/third_party/blink/renderer/modules/webgl/webgl2_rendering_context_base.cc
-index 9fb81576f85ef6bb9f8beb129df6a2b3aab79174..63d03cdeffec1102e07cc5383d22efbf4655dc2f 100644
+index 0933654f42a6a367d9a9f03100d25861469ec29a..0a63dc25b998ee21ec04e5998d0baf451193a0fc 100644
--- a/third_party/blink/renderer/modules/webgl/webgl2_rendering_context_base.cc
+++ b/third_party/blink/renderer/modules/webgl/webgl2_rendering_context_base.cc
-@@ -5257,6 +5257,7 @@ ScriptValue WebGL2RenderingContextBase::getParameter(ScriptState* script_state,
+@@ -5259,6 +5259,7 @@ ScriptValue WebGL2RenderingContextBase::getParameter(ScriptState* script_state,
GLenum pname) {
if (isContextLost())
return ScriptValue::CreateNull(script_state->GetIsolate());
@@ -10,7 +10,7 @@ index 9fb81576f85ef6bb9f8beb129df6a2b3aab79174..63d03cdeffec1102e07cc5383d22efbf
switch (pname) {
case GL_SHADING_LANGUAGE_VERSION: {
return WebGLAny(
-@@ -5845,6 +5846,7 @@ ScriptValue WebGL2RenderingContextBase::getFramebufferAttachmentParameter(
+@@ -5858,6 +5859,7 @@ ScriptValue WebGL2RenderingContextBase::getFramebufferAttachmentParameter(
if (isContextLost() || !ValidateGetFramebufferAttachmentParameterFunc(
kFunctionName, target, attachment))
return ScriptValue::CreateNull(script_state->GetIsolate());
@@ -18,7 +18,7 @@ index 9fb81576f85ef6bb9f8beb129df6a2b3aab79174..63d03cdeffec1102e07cc5383d22efbf
WebGLFramebuffer* framebuffer_binding = GetFramebufferBinding(target);
DCHECK(!framebuffer_binding || framebuffer_binding->Object());
-@@ -6063,6 +6065,7 @@ ScriptValue WebGL2RenderingContextBase::getTexParameter(
+@@ -6076,6 +6078,7 @@ ScriptValue WebGL2RenderingContextBase::getTexParameter(
GLenum pname) {
if (isContextLost() || !ValidateTextureBinding("getTexParameter", target))
return ScriptValue::CreateNull(script_state->GetIsolate());
diff --git a/patches/third_party-blink-renderer-modules-webgl-webgl_rendering_context_base.cc.patch b/patches/third_party-blink-renderer-modules-webgl-webgl_rendering_context_base.cc.patch
index 61954fd7b6ee..b31559b29543 100644
--- a/patches/third_party-blink-renderer-modules-webgl-webgl_rendering_context_base.cc.patch
+++ b/patches/third_party-blink-renderer-modules-webgl-webgl_rendering_context_base.cc.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc b/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
-index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325ccaaddeab1d 100644
+index 74a289a88a95318a6a1020e762b2adc1aa79911f..8d1ac8b185332f98dcadc0bf9fe90f3d16f57c51 100644
--- a/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
+++ b/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc
-@@ -3137,6 +3137,7 @@ WebGLActiveInfo* WebGLRenderingContextBase::getActiveAttrib(
+@@ -3170,6 +3170,7 @@ WebGLActiveInfo* WebGLRenderingContextBase::getActiveAttrib(
GLuint index) {
if (!ValidateWebGLProgramOrShader("getActiveAttrib", program))
return nullptr;
@@ -10,7 +10,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
GLuint program_id = ObjectNonZero(program);
GLint max_name_length = -1;
ContextGL()->GetProgramiv(program_id, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH,
-@@ -3168,6 +3169,7 @@ WebGLActiveInfo* WebGLRenderingContextBase::getActiveUniform(
+@@ -3201,6 +3202,7 @@ WebGLActiveInfo* WebGLRenderingContextBase::getActiveUniform(
GLuint index) {
if (!ValidateWebGLProgramOrShader("getActiveUniform", program))
return nullptr;
@@ -18,7 +18,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
GLuint program_id = ObjectNonZero(program);
GLint max_name_length = -1;
ContextGL()->GetProgramiv(program_id, GL_ACTIVE_UNIFORM_MAX_LENGTH,
-@@ -3198,6 +3200,7 @@ absl::optional>>
+@@ -3231,6 +3233,7 @@ absl::optional>>
WebGLRenderingContextBase::getAttachedShaders(WebGLProgram* program) {
if (!ValidateWebGLProgramOrShader("getAttachedShaders", program))
return absl::nullopt;
@@ -26,7 +26,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
HeapVector> shader_objects;
for (GLenum shaderType : {GL_VERTEX_SHADER, GL_FRAGMENT_SHADER}) {
-@@ -3212,6 +3215,7 @@ GLint WebGLRenderingContextBase::getAttribLocation(WebGLProgram* program,
+@@ -3245,6 +3248,7 @@ GLint WebGLRenderingContextBase::getAttribLocation(WebGLProgram* program,
const String& name) {
if (!ValidateWebGLProgramOrShader("getAttribLocation", program))
return -1;
@@ -34,7 +34,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (!ValidateLocationLength("getAttribLocation", name))
return -1;
if (!ValidateString("getAttribLocation", name))
-@@ -3245,6 +3249,7 @@ ScriptValue WebGLRenderingContextBase::getBufferParameter(
+@@ -3278,6 +3282,7 @@ ScriptValue WebGLRenderingContextBase::getBufferParameter(
GLenum pname) {
if (isContextLost() || !ValidateBufferTarget("getBufferParameter", target))
return ScriptValue::CreateNull(script_state->GetIsolate());
@@ -42,7 +42,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
switch (pname) {
case GL_BUFFER_USAGE: {
-@@ -3385,6 +3390,7 @@ ScriptValue WebGLRenderingContextBase::getFramebufferAttachmentParameter(
+@@ -3418,6 +3423,7 @@ ScriptValue WebGLRenderingContextBase::getFramebufferAttachmentParameter(
return ScriptValue::CreateNull(script_state->GetIsolate());
}
@@ -50,7 +50,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (!framebuffer_binding_ || !framebuffer_binding_->Object()) {
SynthesizeGLError(GL_INVALID_OPERATION, kFunctionName,
"no framebuffer bound");
-@@ -3781,6 +3787,7 @@ ScriptValue WebGLRenderingContextBase::getParameter(ScriptState* script_state,
+@@ -3814,6 +3820,7 @@ ScriptValue WebGLRenderingContextBase::getParameter(ScriptState* script_state,
"invalid parameter name, OES_standard_derivatives not enabled");
return ScriptValue::CreateNull(script_state->GetIsolate());
case WebGLDebugRendererInfo::kUnmaskedRendererWebgl:
@@ -58,7 +58,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (ExtensionEnabled(kWebGLDebugRendererInfoName)) {
if (IdentifiabilityStudySettings::Get()->ShouldSampleType(
blink::IdentifiableSurface::Type::kWebGLParameter)) {
-@@ -3796,6 +3803,7 @@ ScriptValue WebGLRenderingContextBase::getParameter(ScriptState* script_state,
+@@ -3829,6 +3836,7 @@ ScriptValue WebGLRenderingContextBase::getParameter(ScriptState* script_state,
"invalid parameter name, WEBGL_debug_renderer_info not enabled");
return ScriptValue::CreateNull(script_state->GetIsolate());
case WebGLDebugRendererInfo::kUnmaskedVendorWebgl:
@@ -66,7 +66,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (ExtensionEnabled(kWebGLDebugRendererInfoName)) {
if (IdentifiabilityStudySettings::Get()->ShouldSampleType(
blink::IdentifiableSurface::Type::kWebGLParameter)) {
-@@ -3888,6 +3896,7 @@ ScriptValue WebGLRenderingContextBase::getProgramParameter(
+@@ -3921,6 +3929,7 @@ ScriptValue WebGLRenderingContextBase::getProgramParameter(
// intended to prevent applications from entering an infinite polling loop.
if (isContextLost() && pname == GL_COMPLETION_STATUS_KHR)
return WebGLAny(script_state, true);
@@ -74,7 +74,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (!ValidateWebGLProgramOrShader("getProgramParamter", program)) {
return ScriptValue::CreateNull(script_state->GetIsolate());
}
-@@ -3943,6 +3952,7 @@ ScriptValue WebGLRenderingContextBase::getProgramParameter(
+@@ -3976,6 +3985,7 @@ ScriptValue WebGLRenderingContextBase::getProgramParameter(
String WebGLRenderingContextBase::getProgramInfoLog(WebGLProgram* program) {
if (!ValidateWebGLProgramOrShader("getProgramInfoLog", program))
return String();
@@ -82,7 +82,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
GLStringQuery query(ContextGL());
return query.Run(ObjectNonZero(program));
}
-@@ -3953,6 +3963,7 @@ ScriptValue WebGLRenderingContextBase::getRenderbufferParameter(
+@@ -3986,6 +3996,7 @@ ScriptValue WebGLRenderingContextBase::getRenderbufferParameter(
GLenum pname) {
if (isContextLost())
return ScriptValue::CreateNull(script_state->GetIsolate());
@@ -90,7 +90,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (target != GL_RENDERBUFFER) {
SynthesizeGLError(GL_INVALID_ENUM, "getRenderbufferParameter",
"invalid target");
-@@ -4004,6 +4015,7 @@ ScriptValue WebGLRenderingContextBase::getShaderParameter(
+@@ -4037,6 +4048,7 @@ ScriptValue WebGLRenderingContextBase::getShaderParameter(
// intended to prevent applications from entering an infinite polling loop.
if (isContextLost() && pname == GL_COMPLETION_STATUS_KHR)
return WebGLAny(script_state, true);
@@ -98,7 +98,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (!ValidateWebGLProgramOrShader("getShaderParameter", shader)) {
return ScriptValue::CreateNull(script_state->GetIsolate());
}
-@@ -4035,6 +4047,7 @@ ScriptValue WebGLRenderingContextBase::getShaderParameter(
+@@ -4068,6 +4080,7 @@ ScriptValue WebGLRenderingContextBase::getShaderParameter(
String WebGLRenderingContextBase::getShaderInfoLog(WebGLShader* shader) {
if (!ValidateWebGLProgramOrShader("getShaderInfoLog", shader))
return String();
@@ -106,7 +106,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
GLStringQuery query(ContextGL());
return query.Run(ObjectNonZero(shader));
}
-@@ -4065,6 +4078,7 @@ WebGLShaderPrecisionFormat* WebGLRenderingContextBase::getShaderPrecisionFormat(
+@@ -4098,6 +4111,7 @@ WebGLShaderPrecisionFormat* WebGLRenderingContextBase::getShaderPrecisionFormat(
GLint precision = 0;
ContextGL()->GetShaderPrecisionFormat(shader_type, precision_type, range,
&precision);
@@ -114,7 +114,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
auto* result = MakeGarbageCollected(
range[0], range[1], precision);
if (IdentifiabilityStudySettings::Get()->ShouldSampleType(
-@@ -4077,6 +4091,7 @@ WebGLShaderPrecisionFormat* WebGLRenderingContextBase::getShaderPrecisionFormat(
+@@ -4110,6 +4124,7 @@ WebGLShaderPrecisionFormat* WebGLRenderingContextBase::getShaderPrecisionFormat(
String WebGLRenderingContextBase::getShaderSource(WebGLShader* shader) {
if (!ValidateWebGLProgramOrShader("getShaderSource", shader))
return String();
@@ -122,7 +122,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
return EnsureNotNull(shader->Source());
}
-@@ -4102,6 +4117,7 @@ ScriptValue WebGLRenderingContextBase::getTexParameter(
+@@ -4135,6 +4150,7 @@ ScriptValue WebGLRenderingContextBase::getTexParameter(
GLenum pname) {
if (isContextLost())
return ScriptValue::CreateNull(script_state->GetIsolate());
@@ -130,7 +130,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (!ValidateTextureBinding("getTexParameter", target))
return ScriptValue::CreateNull(script_state->GetIsolate());
switch (pname) {
-@@ -4136,6 +4152,7 @@ ScriptValue WebGLRenderingContextBase::getUniform(
+@@ -4169,6 +4185,7 @@ ScriptValue WebGLRenderingContextBase::getUniform(
const WebGLUniformLocation* uniform_location) {
if (!ValidateWebGLProgramOrShader("getUniform", program))
return ScriptValue::CreateNull(script_state->GetIsolate());
@@ -138,7 +138,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
DCHECK(uniform_location);
if (uniform_location->Program() != program) {
SynthesizeGLError(GL_INVALID_OPERATION, "getUniform",
-@@ -4395,6 +4412,7 @@ WebGLUniformLocation* WebGLRenderingContextBase::getUniformLocation(
+@@ -4428,6 +4445,7 @@ WebGLUniformLocation* WebGLRenderingContextBase::getUniformLocation(
const String& name) {
if (!ValidateWebGLProgramOrShader("getUniformLocation", program))
return nullptr;
@@ -146,7 +146,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (!ValidateLocationLength("getUniformLocation", name))
return nullptr;
if (!ValidateString("getUniformLocation", name))
-@@ -4419,6 +4437,7 @@ ScriptValue WebGLRenderingContextBase::getVertexAttrib(
+@@ -4452,6 +4470,7 @@ ScriptValue WebGLRenderingContextBase::getVertexAttrib(
GLenum pname) {
if (isContextLost())
return ScriptValue::CreateNull(script_state->GetIsolate());
@@ -154,7 +154,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
if (index >= max_vertex_attribs_) {
SynthesizeGLError(GL_INVALID_VALUE, "getVertexAttrib",
"index out of range");
-@@ -4496,6 +4515,7 @@ int64_t WebGLRenderingContextBase::getVertexAttribOffset(GLuint index,
+@@ -4529,6 +4548,7 @@ int64_t WebGLRenderingContextBase::getVertexAttribOffset(GLuint index,
GLenum pname) {
if (isContextLost())
return 0;
@@ -162,7 +162,7 @@ index ebe31c7960c7d99da253d1d2259e43e0b3923803..a209d69db35e5d96012878e34e325cca
GLvoid* result = nullptr;
// NOTE: If pname is ever a value that returns more than 1 element
// this will corrupt memory.
-@@ -4855,6 +4875,7 @@ void WebGLRenderingContextBase::ReadPixelsHelper(GLint x,
+@@ -4888,6 +4908,7 @@ void WebGLRenderingContextBase::ReadPixelsHelper(GLint x,
int64_t offset) {
if (isContextLost())
return;
diff --git a/patches/third_party-blink-renderer-platform-BUILD.gn.patch b/patches/third_party-blink-renderer-platform-BUILD.gn.patch
index d47fa5f58034..450ac6d30022 100644
--- a/patches/third_party-blink-renderer-platform-BUILD.gn.patch
+++ b/patches/third_party-blink-renderer-platform-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
-index ef3439d07ad4202ee91c2fdb919d8324b5e5a4ba..7102ef32d8854a2d9b3d3c6c333ab346d74d83c0 100644
+index 92b45cb4939df8fc71802a6828543cedf2a73664..384ca9e38c5ddab5991a4bbdbd9d87f7920e54c9 100644
--- a/third_party/blink/renderer/platform/BUILD.gn
+++ b/third_party/blink/renderer/platform/BUILD.gn
-@@ -1851,6 +1851,7 @@ component("platform") {
+@@ -1841,6 +1841,7 @@ component("platform") {
configs -= [ "//build/config/compiler:default_symbols" ]
configs += blink_symbols_config
diff --git a/patches/third_party-blink-renderer-platform-fonts-font_fallback_list.cc.patch b/patches/third_party-blink-renderer-platform-fonts-font_fallback_list.cc.patch
index b05636d63e63..9a1ba70db8c2 100644
--- a/patches/third_party-blink-renderer-platform-fonts-font_fallback_list.cc.patch
+++ b/patches/third_party-blink-renderer-platform-fonts-font_fallback_list.cc.patch
@@ -1,5 +1,5 @@
diff --git a/third_party/blink/renderer/platform/fonts/font_fallback_list.cc b/third_party/blink/renderer/platform/fonts/font_fallback_list.cc
-index b3964e3aa3cfe776a215e6f0a1b94c1cccb14601..c27cd71452ba830d634a71b05c9142e3517be525 100644
+index 0921ae1f23ef660c58c778fdf70ebe1b594655db..ebe3280811634fd2608a8a5fa5314c2b69c3264d 100644
--- a/third_party/blink/renderer/platform/fonts/font_fallback_list.cc
+++ b/third_party/blink/renderer/platform/fonts/font_fallback_list.cc
@@ -182,6 +182,7 @@ scoped_refptr FontFallbackList::GetFontData(
diff --git a/patches/third_party-rust-itoa-v0_4-BUILD.gn.patch b/patches/third_party-rust-itoa-v0_4-BUILD.gn.patch
index ec0e8089500f..b2012b74697a 100644
--- a/patches/third_party-rust-itoa-v0_4-BUILD.gn.patch
+++ b/patches/third_party-rust-itoa-v0_4-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/rust/itoa/v0_4/BUILD.gn b/third_party/rust/itoa/v0_4/BUILD.gn
-index c1cb11bc32529df38b8579ceb92d47283cd5f87e..6c1752f9889d3d1c5523446718618bd9b0ae9dce 100644
+index c3426bb2fa7d5a45be45d743d5971e2680b1870c..7cd4f2f73f6d15e2035cd114d5f5033c5d6d39d7 100644
--- a/third_party/rust/itoa/v0_4/BUILD.gn
+++ b/third_party/rust/itoa/v0_4/BUILD.gn
-@@ -27,4 +27,5 @@ cargo_crate("lib") {
+@@ -36,4 +36,5 @@ cargo_crate("lib") {
library_configs += [ "//build/config/compiler:no_chromium_code" ]
executable_configs -= [ "//build/config/compiler:chromium_code" ]
executable_configs += [ "//build/config/compiler:no_chromium_code" ]
diff --git a/patches/third_party-rust-rand-v0_8-BUILD.gn.patch b/patches/third_party-rust-rand-v0_8-BUILD.gn.patch
index 9db90667b0c8..20600f99e4a7 100644
--- a/patches/third_party-rust-rand-v0_8-BUILD.gn.patch
+++ b/patches/third_party-rust-rand-v0_8-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/rust/rand/v0_8/BUILD.gn b/third_party/rust/rand/v0_8/BUILD.gn
-index edb6299865e033cc1962517cc7df7fbb1f3c4861..5fe869d2a3216dadb840ca845f378728c4ec8f1d 100644
+index 8a863fb66fc0dea0fdcce5a486c8ab18509f830b..717a635e3e42744a0bf721080765ad028243c89f 100644
--- a/third_party/rust/rand/v0_8/BUILD.gn
+++ b/third_party/rust/rand/v0_8/BUILD.gn
-@@ -42,6 +42,7 @@ cargo_crate("lib") {
+@@ -76,6 +76,7 @@ cargo_crate("lib") {
"std",
"std_rng",
]
diff --git a/patches/third_party-rust-serde-v1-BUILD.gn.patch b/patches/third_party-rust-serde-v1-BUILD.gn.patch
index f79b46f6ebd1..b120a29bde5c 100644
--- a/patches/third_party-rust-serde-v1-BUILD.gn.patch
+++ b/patches/third_party-rust-serde-v1-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/rust/serde/v1/BUILD.gn b/third_party/rust/serde/v1/BUILD.gn
-index 0cc7bd91f39cd6cff8349a73791d04e6cca24509..a38b6be5763eaf26914291d9f685f4f38192dff0 100644
+index d0ca46e3b1f2867098e01121892b5c90dbdfa825..73bda1ba3fe2530f8a4541472311ed14ab4384a5 100644
--- a/third_party/rust/serde/v1/BUILD.gn
+++ b/third_party/rust/serde/v1/BUILD.gn
-@@ -30,4 +30,5 @@ cargo_crate("lib") {
+@@ -59,4 +59,5 @@ cargo_crate("lib") {
]
build_root = "crate/build.rs"
build_sources = [ "crate/build.rs" ]
diff --git a/patches/third_party-rust-syn-v1-BUILD.gn.patch b/patches/third_party-rust-syn-v1-BUILD.gn.patch
index e038ebbfd4f2..6f7a475c23ed 100644
--- a/patches/third_party-rust-syn-v1-BUILD.gn.patch
+++ b/patches/third_party-rust-syn-v1-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/rust/syn/v1/BUILD.gn b/third_party/rust/syn/v1/BUILD.gn
-index 3bfb0e5f677a6f3510fa1fc71f7f43c1cc1d041f..abd77087aa85de7cdf9d1096ef595f306f6745fb 100644
+index 60fceb7f061ec9f1415e281de351a297dfdf6b32..d3b07faf9a409ec33ddf806407ab3df2464ab1e6 100644
--- a/third_party/rust/syn/v1/BUILD.gn
+++ b/third_party/rust/syn/v1/BUILD.gn
-@@ -41,4 +41,5 @@ cargo_crate("lib") {
+@@ -136,4 +136,5 @@ cargo_crate("lib") {
]
build_root = "crate/build.rs"
build_sources = [ "crate/build.rs" ]
diff --git a/patches/third_party-rust-winapi-v0_3-BUILD.gn.patch b/patches/third_party-rust-winapi-v0_3-BUILD.gn.patch
index d44d8ba62f9b..0cbf515a4e05 100644
--- a/patches/third_party-rust-winapi-v0_3-BUILD.gn.patch
+++ b/patches/third_party-rust-winapi-v0_3-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/third_party/rust/winapi/v0_3/BUILD.gn b/third_party/rust/winapi/v0_3/BUILD.gn
-index f7edafac06ae7c016abd3e3f28c0764ec04bdfa0..5c0d1e01968abd311f5aba42a7e7b0c878ac3c72 100644
+index 95af7eea1cd47086ebabaac7ab42a6305d4e70b0..bf63b4083dbd5c8496bd363818dc1f3f3bff8beb 100644
--- a/third_party/rust/winapi/v0_3/BUILD.gn
+++ b/third_party/rust/winapi/v0_3/BUILD.gn
-@@ -42,4 +42,5 @@ cargo_crate("lib") {
+@@ -452,4 +452,5 @@ cargo_crate("lib") {
]
build_root = "crate/build.rs"
build_sources = [ "crate/build.rs" ]
diff --git a/patches/third_party/catapult/common-py_utils-py_utils-cloud_storage.py.patch b/patches/third_party/catapult/common-py_utils-py_utils-cloud_storage.py.patch
index f57328e089cd..8b6ace29cfac 100644
--- a/patches/third_party/catapult/common-py_utils-py_utils-cloud_storage.py.patch
+++ b/patches/third_party/catapult/common-py_utils-py_utils-cloud_storage.py.patch
@@ -1,5 +1,5 @@
diff --git a/common/py_utils/py_utils/cloud_storage.py b/common/py_utils/py_utils/cloud_storage.py
-index cfea52349d9edca46da62446875ce7e113b3e20a..6722b7263ac374b4d42c69bab50223010986486b 100644
+index 3a36a573d8d986a724760769b858435da3936bdc..c4c4914cbf466a34f82a2f1a4980302f3446e4b1 100644
--- a/common/py_utils/py_utils/cloud_storage.py
+++ b/common/py_utils/py_utils/cloud_storage.py
@@ -30,7 +30,7 @@ logger = logging.getLogger(__name__) # pylint: disable=invalid-name
diff --git a/patches/third_party/devtools-frontend/src/front_end-panels-application-ApplicationPanelSidebar.ts.patch b/patches/third_party/devtools-frontend/src/front_end-panels-application-ApplicationPanelSidebar.ts.patch
index 12cc0debf956..994751a7fa70 100644
--- a/patches/third_party/devtools-frontend/src/front_end-panels-application-ApplicationPanelSidebar.ts.patch
+++ b/patches/third_party/devtools-frontend/src/front_end-panels-application-ApplicationPanelSidebar.ts.patch
@@ -1,8 +1,8 @@
diff --git a/front_end/panels/application/ApplicationPanelSidebar.ts b/front_end/panels/application/ApplicationPanelSidebar.ts
-index 6d2b584f4779e6bc10de5558ca0f46fa80b2abaa..218e6f0f2044d189bf13c32e1a5979bc79d3cdef 100644
+index b161036288c86f1e582dda55305ab13db3c5d484..fe02715bc5d88db506fea3d00b3eae9ee368980c 100644
--- a/front_end/panels/application/ApplicationPanelSidebar.ts
+++ b/front_end/panels/application/ApplicationPanelSidebar.ts
-@@ -357,7 +357,7 @@ export class ApplicationPanelSidebar extends UI.Widget.VBox implements SDK.Targe
+@@ -366,7 +366,7 @@ export class ApplicationPanelSidebar extends UI.Widget.VBox implements SDK.Targe
storageTreeElement.appendChild(this.cookieListTreeElement);
this.trustTokensTreeElement = new TrustTokensTreeElement(panel);
diff --git a/patches/tools-clang-pylib-clang-compile_db.py.patch b/patches/tools-clang-pylib-clang-compile_db.py.patch
index 71d8e6b21bf9..25afa08660c6 100644
--- a/patches/tools-clang-pylib-clang-compile_db.py.patch
+++ b/patches/tools-clang-pylib-clang-compile_db.py.patch
@@ -1,8 +1,8 @@
diff --git a/tools/clang/pylib/clang/compile_db.py b/tools/clang/pylib/clang/compile_db.py
-index ca06d706bbf6afb6aaa40b98f1c505bfe820e388..ea49762cbe4dea3672539de2e412233007896847 100755
+index 06bb1da03ffa5243c3cde9ef7b2f1a36b5eccb5d..aaa00c88f6a6b999cb2fb476551d4701e7db767d 100755
--- a/tools/clang/pylib/clang/compile_db.py
+++ b/tools/clang/pylib/clang/compile_db.py
-@@ -211,3 +211,4 @@ def Read(path):
+@@ -224,3 +224,4 @@ def Read(path):
"""
with open(os.path.join(path, 'compile_commands.json'), 'rb') as db:
return json.load(db)
diff --git a/patches/tools-gritsettings-resource_ids.spec.patch b/patches/tools-gritsettings-resource_ids.spec.patch
index ba2b5c400532..5e76e7a7cf4b 100644
--- a/patches/tools-gritsettings-resource_ids.spec.patch
+++ b/patches/tools-gritsettings-resource_ids.spec.patch
@@ -1,5 +1,5 @@
diff --git a/tools/gritsettings/resource_ids.spec b/tools/gritsettings/resource_ids.spec
-index a34293da9026018a3e733ed58e4eabde666c0198..709346c672d1e996cf26b6afd16da8c89bbdb309 100644
+index a327136986b82869f394f47e4609e431c9f3a3ac..d319efc39086c0efc76d6babc78263527edca349 100644
--- a/tools/gritsettings/resource_ids.spec
+++ b/tools/gritsettings/resource_ids.spec
@@ -38,6 +38,9 @@
@@ -12,25 +12,25 @@ index a34293da9026018a3e733ed58e4eabde666c0198..709346c672d1e996cf26b6afd16da8c8
"chrome/app/google_chrome_strings.grd": {
"messages": [800],
},
-@@ -248,7 +251,7 @@
- "includes": [2960],
+@@ -252,7 +255,7 @@
+ "includes": [3060],
},
"<(SHARED_INTERMEDIATE_DIR)/chrome/browser/resources/history/resources.grd": {
- "META": {"sizes": {"includes": [40]}},
+ "META": {"sizes": {"includes": [44]}},
- "includes": [2980],
+ "includes": [3080],
},
"<(SHARED_INTERMEDIATE_DIR)/chrome/browser/resources/identity_internals/resources.grd": {
-@@ -375,7 +378,7 @@
- "includes": [3520],
+@@ -383,7 +386,7 @@
+ "includes": [3710],
},
"<(SHARED_INTERMEDIATE_DIR)/chrome/browser/resources/settings/resources.grd": {
- "META": {"sizes": {"includes": [500],}},
+ "META": {"sizes": {"includes": [650],}},
- "includes": [3540],
+ "includes": [3720],
},
"<(SHARED_INTERMEDIATE_DIR)/chrome/browser/resources/settings_shared/resources.grd": {
-@@ -860,6 +863,9 @@
+@@ -868,6 +871,9 @@
"components/components_chromium_strings.grd": {
"messages": [6020],
},
diff --git a/patches/tools-licenses-licenses.py.patch b/patches/tools-licenses-licenses.py.patch
index 405682ff1481..9a9413c45bb0 100644
--- a/patches/tools-licenses-licenses.py.patch
+++ b/patches/tools-licenses-licenses.py.patch
@@ -1,5 +1,5 @@
diff --git a/tools/licenses/licenses.py b/tools/licenses/licenses.py
-index 2a6a4733128dfc5916163c1c91c26f27da1d2f0a..184496827a8001539ad54fb9496b438a921a59ea 100755
+index 15b461326e2ce4bd255cbe779b449261a7f63f09..4ad542a3e8d1b806f7e63b7c10a4d37cd9b56b0a 100755
--- a/tools/licenses/licenses.py
+++ b/tools/licenses/licenses.py
@@ -39,6 +39,7 @@ _REPOSITORY_ROOT = os.path.abspath(
@@ -10,15 +10,15 @@ index 2a6a4733128dfc5916163c1c91c26f27da1d2f0a..184496827a8001539ad54fb9496b438a
# Paths from the root of the tree to directories to skip.
PRUNE_PATHS = set([
-@@ -414,6 +415,7 @@ SPECIAL_CASES = {
- "License File": "/third_party/selenium-atoms/LICENSE.closure",
+@@ -425,6 +426,7 @@ SPECIAL_CASES = {
+ "License File": ["//third_party/selenium-atoms/LICENSE.closure"],
},
}
+(PRUNE_DIRS, ADDITIONAL_PATHS) = AddBraveCredits(_REPOSITORY_ROOT, PRUNE_PATHS, SPECIAL_CASES, PRUNE_DIRS, ADDITIONAL_PATHS)
- # Soon-to-be-deprecated special value for 'License File' field used to indicate
- # that the library is not shipped so the license file should not be used in
-@@ -643,7 +645,8 @@ def FindThirdPartyDirs(prune_paths, root, extra_third_party_dirs=None):
+ # These buildtools/third_party directories only contain
+ # chromium build files. The actual third_party source files and their
+@@ -708,7 +710,8 @@ def FindThirdPartyDirs(prune_paths, root, extra_third_party_dirs=None):
if skip in dirs:
dirs.remove(skip)
@@ -28,10 +28,10 @@ index 2a6a4733128dfc5916163c1c91c26f27da1d2f0a..184496827a8001539ad54fb9496b438a
# Add all subdirectories that are not marked for skipping.
for dir in dirs:
dirpath = os.path.join(path, dir)
-@@ -870,7 +873,8 @@ def GenerateCredits(file_template_file,
- metadata = ParseDir(path,
- _REPOSITORY_ROOT,
+@@ -956,7 +959,8 @@ def GenerateCredits(file_template_file,
enable_warnings=enable_warnings)
+ if not metadata:
+ continue
- except LicenseError:
+ except LicenseError as e:
+ CheckBraveMissingLicense(target_os, path, e)
diff --git a/patches/tools-metrics-histograms-metadata-histogram_suffixes_list.xml.patch b/patches/tools-metrics-histograms-metadata-histogram_suffixes_list.xml.patch
index c137efc12a63..03836a75e5ad 100644
--- a/patches/tools-metrics-histograms-metadata-histogram_suffixes_list.xml.patch
+++ b/patches/tools-metrics-histograms-metadata-histogram_suffixes_list.xml.patch
@@ -1,8 +1,8 @@
diff --git a/tools/metrics/histograms/metadata/histogram_suffixes_list.xml b/tools/metrics/histograms/metadata/histogram_suffixes_list.xml
-index 823ed407276f16b083444f11931fea8cd9b8032f..86abe78dfcfd67cd06bcde795595c9497c0a4eee 100644
+index 910c79ec77ee34d427b1ba912cc8443d4c274c3c..723238c1a29bc27c85e95129116968877b16d3da 100644
--- a/tools/metrics/histograms/metadata/histogram_suffixes_list.xml
+++ b/tools/metrics/histograms/metadata/histogram_suffixes_list.xml
-@@ -3608,6 +3608,7 @@ chromium-metrics-reviews@google.com.
+@@ -3458,6 +3458,7 @@ chromium-metrics-reviews@google.com.
diff --git a/patches/tools-symsrc-source_index.py.patch b/patches/tools-symsrc-source_index.py.patch
index beab2b653d34..79da32e7c7ee 100644
--- a/patches/tools-symsrc-source_index.py.patch
+++ b/patches/tools-symsrc-source_index.py.patch
@@ -1,8 +1,8 @@
diff --git a/tools/symsrc/source_index.py b/tools/symsrc/source_index.py
-index 536c5c5263980f639a05899e77bf1a21b6c0fe4e..b19bb9ad72c8293720c425e25e11b30c88300c2c 100755
+index d23e2f22d3379eb03314a909c4e16194a53c8626..915e51caf915fc91cbf986fec68477aa6b571618 100755
--- a/tools/symsrc/source_index.py
+++ b/tools/symsrc/source_index.py
-@@ -595,5 +595,6 @@ def main():
+@@ -600,5 +600,6 @@ def main():
return 0
diff --git a/patches/ui-accessibility-platform-ax_platform_node_cocoa.mm.patch b/patches/ui-accessibility-platform-ax_platform_node_cocoa.mm.patch
index ba6090dac5a5..dc72a374548c 100644
--- a/patches/ui-accessibility-platform-ax_platform_node_cocoa.mm.patch
+++ b/patches/ui-accessibility-platform-ax_platform_node_cocoa.mm.patch
@@ -1,8 +1,8 @@
diff --git a/ui/accessibility/platform/ax_platform_node_cocoa.mm b/ui/accessibility/platform/ax_platform_node_cocoa.mm
-index 16de7b843b122d57fb1a63308bfa588fafd614b9..dc435afb2ae06de8e10c6fcd66494adbc5bbe340 100644
+index 5b73bea06e2d038e674bf44927a6015b18ff1f41..d379d1c61b991818da43966d48aa0fbe7456c958 100644
--- a/ui/accessibility/platform/ax_platform_node_cocoa.mm
+++ b/ui/accessibility/platform/ax_platform_node_cocoa.mm
-@@ -2529,6 +2529,7 @@ void CollectAncestorRoles(
+@@ -2576,6 +2576,7 @@ void CollectAncestorRoles(
if (!_node)
return nil;
diff --git a/patches/ui-native_theme-native_theme_win.cc.patch b/patches/ui-native_theme-native_theme_win.cc.patch
index 40827ff8abf3..9f7c1aeae8ed 100644
--- a/patches/ui-native_theme-native_theme_win.cc.patch
+++ b/patches/ui-native_theme-native_theme_win.cc.patch
@@ -1,8 +1,8 @@
diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
-index 87807be3558a2fdd222241b046718f9f1f0b7858..620e14a4b6f91edc5d628b57fce69a9a2ab7df43 100644
+index d3f9fcbed28f92a113fc2734cc0789e663ccfff9..ab8b87aa3ea25f49ef2f970e5a21bf621e658836 100644
--- a/ui/native_theme/native_theme_win.cc
+++ b/ui/native_theme/native_theme_win.cc
-@@ -1587,6 +1587,7 @@ void NativeThemeWin::UpdateDarkModeStatus() {
+@@ -1597,6 +1597,7 @@ void NativeThemeWin::UpdateDarkModeStatus() {
&apps_use_light_theme);
dark_mode_enabled = (apps_use_light_theme == 0);
}
diff --git a/patches/ui-native_theme-native_theme_win.h.patch b/patches/ui-native_theme-native_theme_win.h.patch
index f6f4bf37d140..85f44ddfb0fe 100644
--- a/patches/ui-native_theme-native_theme_win.h.patch
+++ b/patches/ui-native_theme-native_theme_win.h.patch
@@ -1,5 +1,5 @@
diff --git a/ui/native_theme/native_theme_win.h b/ui/native_theme/native_theme_win.h
-index 2793ad166bfc872b456a6536f7401b150e39bc61..a8255c5eb712f628191ffd5e658d0504a960f3de 100644
+index ea47878d12046bca8ceb01bc8459de77a6402a44..2a574a60ba72d23d1b85d0b52a394eedcf10c1cb 100644
--- a/ui/native_theme/native_theme_win.h
+++ b/ui/native_theme/native_theme_win.h
@@ -76,6 +76,7 @@ class NATIVE_THEME_EXPORT NativeThemeWin : public NativeTheme,
diff --git a/patches/ui-views-controls-menu-menu_separator.cc.patch b/patches/ui-views-controls-menu-menu_separator.cc.patch
index 7f93f4b65ecf..2577912c9a5d 100644
--- a/patches/ui-views-controls-menu-menu_separator.cc.patch
+++ b/patches/ui-views-controls-menu-menu_separator.cc.patch
@@ -1,12 +1,12 @@
diff --git a/ui/views/controls/menu/menu_separator.cc b/ui/views/controls/menu/menu_separator.cc
-index 6a895c94473f854b0cc3797338cf60005bb6bc9c..15b8361bd63a9ade7fa1147c3523a9c422fb3863 100644
+index 19a1d9cd66600daf055e04fd573021fab7adf81e..ac624b11a035b938d3e8c3acefba66da570d523d 100644
--- a/ui/views/controls/menu/menu_separator.cc
+++ b/ui/views/controls/menu/menu_separator.cc
-@@ -43,6 +43,7 @@ void MenuSeparator::OnPaint(gfx::Canvas* canvas) {
- }
-
- gfx::Rect paint_rect(0, pos, width(), separator_thickness);
-+ BRAVE_MENU_SEPARATOR_ON_PAINT
+@@ -48,6 +48,7 @@ void MenuSeparator::OnPaint(gfx::Canvas* canvas) {
+ menu_config.separator_horizontal_border_padding, y,
+ width() - menu_config.separator_horizontal_border_padding * 2,
+ separator_thickness);
++ BRAVE_MENU_SEPARATOR_ON_PAINT
if (type_ == ui::PADDED_SEPARATOR) {
paint_rect.Inset(
- gfx::Insets::TLBR(0, menu_config.padded_separator_left_margin, 0,
+ gfx::Insets::TLBR(0, menu_config.padded_separator_start_padding, 0, 0));
diff --git a/patches/ui-webui-resources-BUILD.gn.patch b/patches/ui-webui-resources-BUILD.gn.patch
index cebd585ef54e..445e4c8faf80 100644
--- a/patches/ui-webui-resources-BUILD.gn.patch
+++ b/patches/ui-webui-resources-BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/ui/webui/resources/BUILD.gn b/ui/webui/resources/BUILD.gn
-index aba27396fbc6ce9337309a3d7b2673c1ca085a71..84757f2e2f307a74215fb7a3ab06e54579e36fa6 100644
+index 4c72877dc5255a74ad9a014fadf99c3f5bccd10d..44d5afc6d853801d48eba1c75ffb2354a0499947 100644
--- a/ui/webui/resources/BUILD.gn
+++ b/ui/webui/resources/BUILD.gn
-@@ -116,6 +116,7 @@ generate_grd("build_grd") {
+@@ -118,6 +118,7 @@ generate_grd("build_grd") {
"$root_gen_dir/ui/webui/resources/cr_components/page_image_service/resources.grdp",
]
}
diff --git a/patches/ui-webui-resources-cr_elements-cr_radio_button-cr_radio_button_style.css.patch b/patches/ui-webui-resources-cr_elements-cr_radio_button-cr_radio_button_style.css.patch
index 6d1340296970..a8252c6b5487 100644
--- a/patches/ui-webui-resources-cr_elements-cr_radio_button-cr_radio_button_style.css.patch
+++ b/patches/ui-webui-resources-cr_elements-cr_radio_button-cr_radio_button_style.css.patch
@@ -1,5 +1,5 @@
diff --git a/ui/webui/resources/cr_elements/cr_radio_button/cr_radio_button_style.css b/ui/webui/resources/cr_elements/cr_radio_button/cr_radio_button_style.css
-index 3bf953f5b7526422123c4e751183f15423939ef7..b1c3e0c02f93198a38e739a1c3fe8fe55014ef50 100644
+index e37d6bd00442915ece35a9021f45aa4d9b9d29c9..eb067c13c8a94d4fb7d78f5114ca8a540d6f5635 100644
--- a/ui/webui/resources/cr_elements/cr_radio_button/cr_radio_button_style.css
+++ b/ui/webui/resources/cr_elements/cr_radio_button/cr_radio_button_style.css
@@ -6,6 +6,8 @@
diff --git a/patches/ui-webui-resources-cr_elements-cr_shared_vars.css.patch b/patches/ui-webui-resources-cr_elements-cr_shared_vars.css.patch
index ecb21e0bd145..57731a525a68 100644
--- a/patches/ui-webui-resources-cr_elements-cr_shared_vars.css.patch
+++ b/patches/ui-webui-resources-cr_elements-cr_shared_vars.css.patch
@@ -1,5 +1,5 @@
diff --git a/ui/webui/resources/cr_elements/cr_shared_vars.css b/ui/webui/resources/cr_elements/cr_shared_vars.css
-index 4284ed5cacfce7abdab11886b13961e737085dff..f4b0538dad940fe4a333ef15ea6ad186b58e019a 100644
+index 84997fba2cecac4e296abdb5be6a79ec15118fc0..41155a924dcd98e97cc0320f57c5bc2a77178c8b 100644
--- a/ui/webui/resources/cr_elements/cr_shared_vars.css
+++ b/ui/webui/resources/cr_elements/cr_shared_vars.css
@@ -5,6 +5,7 @@
diff --git a/patches/v8/BUILD.gn.patch b/patches/v8/BUILD.gn.patch
index 2768d7d2b2b9..88b8b4e16335 100644
--- a/patches/v8/BUILD.gn.patch
+++ b/patches/v8/BUILD.gn.patch
@@ -1,8 +1,8 @@
diff --git a/BUILD.gn b/BUILD.gn
-index c13cf053a80d212b836a9be3ec6e76b11627a19d..b45085c85460d50a1f496a3b063e0e6932db541d 100644
+index ca081a790959d22b12f10e9c08f9acbc339e7ed7..75e8633e06650893a6be06e1edd2753360602fcf 100644
--- a/BUILD.gn
+++ b/BUILD.gn
-@@ -700,6 +700,7 @@ config("internal_config_base") {
+@@ -724,6 +724,7 @@ config("internal_config_base") {
"$target_gen_dir",
"$target_gen_dir/include",
]
@@ -10,7 +10,7 @@ index c13cf053a80d212b836a9be3ec6e76b11627a19d..b45085c85460d50a1f496a3b063e0e69
}
config("internal_config") {
-@@ -2851,6 +2852,7 @@ v8_header_set("v8_headers") {
+@@ -2974,6 +2975,7 @@ v8_header_set("v8_headers") {
":cppgc_headers",
":v8_version",
]
diff --git a/patches/v8/src-codegen-compiler.cc.patch b/patches/v8/src-codegen-compiler.cc.patch
index daa736ac906a..69bce2002744 100644
--- a/patches/v8/src-codegen-compiler.cc.patch
+++ b/patches/v8/src-codegen-compiler.cc.patch
@@ -1,8 +1,8 @@
diff --git a/src/codegen/compiler.cc b/src/codegen/compiler.cc
-index 19dd1cb14137a6681d771eccf36d0c6f80654696..6297dff9058331a50bdab568613944f222222859 100644
+index 8de7d7398bb01475ff58c1575e6cfb4823e3e836..5d36d8c3590beb2475ef281502705b86e7de53b5 100644
--- a/src/codegen/compiler.cc
+++ b/src/codegen/compiler.cc
-@@ -2935,6 +2935,7 @@ MaybeHandle Compiler::GetFunctionFromEval(
+@@ -2954,6 +2954,7 @@ MaybeHandle Compiler::GetFunctionFromEval(
}
}
DCHECK(is_compiled_scope.is_compiled());
diff --git a/resources/resource_ids.spec b/resources/resource_ids.spec
index 722e24136453..0651f42619cf 100644
--- a/resources/resource_ids.spec
+++ b/resources/resource_ids.spec
@@ -4,235 +4,209 @@
{
"SRCDIR": "../..",
"brave/common/extensions/api/brave_api_resources.grd": {
- "includes": [49500],
+ "includes": [50800],
},
"brave/components/resources/brave_components_resources.grd": {
- "includes": [49550],
+ "includes": [50810],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_adblock/brave_adblock.grd": {
- "META": {"sizes": {"includes": [50]}},
- "includes": [49600],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [50900],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_new_tab/brave_new_tab.grd": {
- "META": {"sizes": {"includes": [350]}},
- "includes": [49650],
+ "META": {"sizes": {"includes": [50]}},
+ "includes": [50920],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_welcome/brave_welcome.grd": {
- "META": {"sizes": {"includes": [200]}},
- "includes": [51000],
+ "META": {"sizes": {"includes": [20]}},
+ "includes": [50970],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/browser/resources/settings/brave_settings_resources.grd": {
- "META": {"sizes": {"includes": [400]}},
- "includes": [51200],
+ "META": {"sizes": {"includes": [20]}},
+ "includes": [50990],
},
"brave/app/brave_generated_resources.grd": {
- "includes": [51600],
- "messages": [52100],
+ "includes": [51000],
+ "messages": [51050],
},
"brave/app/theme/brave_theme_resources.grd": {
- "structures": [52600],
+ "structures": [52000],
},
"brave/app/theme/brave_unscaled_resources.grd": {
- "includes": [53100],
- },
- "brave/components/brave_sync/resources.grd": {
- "includes": [53600],
- },
- # This file is generated during the build.
- "<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_sync/brave_sync.grd": {
- "META": {"sizes": {"includes": [500]}},
- "includes": [53700],
+ "includes": [52100],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_webtorrent/brave_webtorrent.grd": {
- "META": {"sizes": {"includes": [500]}},
- "includes": [54200],
- },
- "brave/components/brave_rewards/resources/extension/extension_static_resources.grd": {
- "includes": [54700],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [52110],
},
"brave/components/brave_webtorrent/resources.grd": {
- "includes": [55300],
- },
- # This file is generated during the build.
- "<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_rewards_extension_panel/brave_rewards_extension_panel.grd": {
- "META": {"sizes": {"includes": [100]}},
- "includes": [55400],
+ "includes": [52120],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_rewards_panel/brave_rewards_panel.grd": {
- "META": {"sizes": {"includes": [100]}},
- "includes": [55500],
+ "META": {"sizes": {"includes": [20]}},
+ "includes": [52130],
},
"brave/components/brave_rewards/resources/brave_rewards_static_resources.grd": {
- "includes": [55600],
+ "includes": [52150],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_rewards_page/brave_rewards_page.grd": {
- "META": {"sizes": {"includes": [500]}},
- "includes": [55800],
+ "META": {"sizes": {"includes": [20]}},
+ "includes": [52160],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_rewards_internals/brave_rewards_internals.grd": {
- "META": {"sizes": {"includes": [300]}},
- "includes": [56300],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [52180],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_rewards_tip/brave_rewards_tip.grd": {
- "META": {"sizes": {"includes": [200]}},
- "includes": [56600],
+ "META": {"sizes": {"includes": [20]}},
+ "includes": [52190],
},
"brave/components/resources/brave_components_strings.grd": {
- "messages": [56800],
+ "messages": [52250],
},
"brave/components/brave_ads/resources/bat_ads_resources.grd": {
- "includes": [56900]
+ "includes": [54750]
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_wallet_page/brave_wallet_page.grd": {
"META": {"sizes": {"includes": [200]}},
- "includes": [57800],
+ "includes": [54760],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-ethereum_remote_client_page/ethereum_remote_client_page.grd": {
- "META": {"sizes": {"includes": [100]}},
- "includes": [57900],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [54960],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_wallet_panel/brave_wallet_panel.grd": {
"META": {"sizes": {"includes": [200]}},
- "includes": [58000],
+ "includes": [54970],
},
"brave/components/brave_extension/extension/resources.grd": {
- "includes": [58200],
+ "includes": [55250],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_extension/brave_extension.grd": {
- "META": {"sizes": {"includes": [500]}},
- "includes": [58700],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55270],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-webcompat_reporter/webcompat_reporter.grd": {
- "META": {"sizes": {"includes": [500]}},
- "includes": [59200],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55280],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-ipfs/ipfs.grd": {
- "META": {"sizes": {"includes": [500]}},
- "includes": [59700],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55290],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-cosmetic_filters/cosmetic_filters.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [60200],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55300],
},
"brave/components/tor/resources/tor_static_resources.grd": {
- "includes": [60450],
+ "includes": [55310],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-tor_internals/tor_internals.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [60700],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55320],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_wallet_script/brave_wallet_script.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [60950],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55330],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_vpn_panel/brave_vpn_panel.grd": {
- "META": {"sizes": {"includes": [50]}},
- "includes": [61200],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55340],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_shields_panel/brave_shields_panel.grd": {
- "META": {"sizes": {"includes": [200]}},
- "includes": [61250],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55350],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-trezor_bridge/trezor_bridge.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [61450],
- },
- # This file is generated during the build.
- "<(SHARED_INTERMEDIATE_DIR)/brave/browser/resources/sidebar/sidebar_resources.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [61700],
- },
- # This file is generated during the build.
- "<(SHARED_INTERMEDIATE_DIR)/brave/browser/resources/federated_internals/federated_internals_resources.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [61950],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55360],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-market_display/market_display.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [62200],
+ "META": {"sizes": {"includes": [100]}},
+ "includes": [55370],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_private_new_tab/brave_private_new_tab.grd": {
- "META": {"sizes": {"includes": [20]}},
- "includes": [62220],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55470],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-playlist/playlist.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [62470],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55480],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-ledger_bridge/ledger_bridge.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [62720],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55490],
},
# This file is generated during the build.
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-nft_display/nft_display.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [62970],
+ "META": {"sizes": {"includes": [40]}},
+ "includes": [55500],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-cookie_list_opt_in/cookie_list_opt_in.grd": {
- "META": {"sizes": {"includes": [30]}},
- "includes": [63000],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55540],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_speedreader_toolbar/brave_speedreader_toolbar.grd": {
- "META": {"sizes": {"includes": [20]}},
- "includes": [63020],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55550],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_adblock_internals/brave_adblock_internals.grd": {
- "META": {"sizes": {"includes": [50]}},
- "includes": [63040],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55560],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-commands/commands.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [63290],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [55570],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_wallet_swap_page/brave_wallet_swap_page.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [63300],
+ "META": {"sizes": {"includes": [150]}},
+ "includes": [55580],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_wallet_send_page/brave_wallet_send_page.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [63350],
+ "META": {"sizes": {"includes": [100]}},
+ "includes": [55720],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_wallet_deposit_page/brave_wallet_deposit_page.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [63370],
+ "META": {"sizes": {"includes": [100]}},
+ "includes": [55820],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-brave_wallet_fund_wallet_page/brave_wallet_fund_wallet_page.grd": {
- "META": {"sizes": {"includes": [250]}},
- "includes": [63390],
+ "META": {"sizes": {"includes": [100]}},
+ "includes": [55920],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-tip_panel/tip_panel.grd": {
- "META": {"sizes": {"includes": [100]}},
- "includes": [63400]
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [56020]
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-ai_chat_ui/ai_chat_ui.grd": {
- "META": {"sizes": {"includes": [50]}},
- "includes": [63500],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [56030],
},
"<(SHARED_INTERMEDIATE_DIR)/brave/web-ui-skus_internals/skus_internals.grd": {
- "META": {"sizes": {"includes": [100]}},
- "includes": [63550],
+ "META": {"sizes": {"includes": [10]}},
+ "includes": [56040],
}
}
diff --git a/sandbox/win/src/module_file_name_interception.cc b/sandbox/win/src/module_file_name_interception.cc
index d752b364241c..7bc0514f2f7f 100644
--- a/sandbox/win/src/module_file_name_interception.cc
+++ b/sandbox/win/src/module_file_name_interception.cc
@@ -61,7 +61,7 @@ template class FromTo, typename CharT>
absl::optional PatchFilenameImpl(CharT* filename,
DWORD length,
DWORD size) {
- if (!base::EndsWith(base::BasicStringPiece(filename, length),
+ if (!base::EndsWith(base::BasicStringPiece(filename, length),
FromTo::kBrave,
base::CompareCase::INSENSITIVE_ASCII)) {
return absl::nullopt;
diff --git a/script/brave_license_helper.py b/script/brave_license_helper.py
index 94dd3bba441a..e20a9a0b429d 100644
--- a/script/brave_license_helper.py
+++ b/script/brave_license_helper.py
@@ -75,57 +75,59 @@ def AddBraveCredits(root, prune_paths, special_cases, prune_dirs,
"Name": "Omaha",
"URL": "https://github.com/brave/omaha",
"License": "Apache-2.0",
- "License File": "/brave/vendor/omaha/LICENSE.txt",
+ "License File": ["/brave/vendor/omaha/LICENSE.txt"],
},
os.path.join('brave', 'vendor', 'omaha', 'third_party', 'breakpad'): {
"Name": "Breakpad",
"URL": "https://chromium.googlesource.com/breakpad/breakpad",
- "License File": "/brave/vendor/omaha/third_party/breakpad/LICENSE",
+ "License File": [
+ "/brave/vendor/omaha/third_party/breakpad/LICENSE"
+ ],
},
os.path.join('brave', 'vendor', 'omaha', 'third_party', 'googletest'): {
"Name": "GoogleTest",
"URL": "https://github.com/google/googletest",
"License": "BSD",
"License File":
- "/brave/vendor/omaha/third_party/googletest/LICENSE",
+ ["/brave/vendor/omaha/third_party/googletest/LICENSE"],
},
os.path.join('brave', 'vendor', 'omaha', 'third_party', 'libzip'): {
"Name": "libzip",
"URL": "https://libzip.org",
"License": "BSD",
- "License File": "/brave/vendor/omaha/third_party/libzip/LICENSE",
+ "License File": ["/brave/vendor/omaha/third_party/libzip/LICENSE"],
},
os.path.join('brave', 'third_party', 'rapidjson'): {
"Name": "RapidJSON",
"URL": "https://github.com/Tencent/rapidjson",
"License": "MIT",
- "License File": "/brave/third_party/rapidjson/src/license.txt",
+ "License File": ["/brave/third_party/rapidjson/src/license.txt"],
},
os.path.join('brave', 'third_party', 'rust'): {
"Name": "rust-cxx",
"URL": "https://crates.io/crates/cxx",
"License": "Apache-2.0",
"License File": \
- "/brave/third_party/rust/cxx/v1/crate/LICENSE-APACHE",
+ ["/brave/third_party/rust/cxx/v1/crate/LICENSE-APACHE"],
},
os.path.join('brave', 'third_party', 'rust'): {
"Name": "rust-cxx",
"URL": "https://crates.io/crates/either",
"License": "MIT",
"License File": \
- "/brave/third_party/rust/either/v1/crate/LICENSE-MIT",
+ ["/brave/third_party/rust/either/v1/crate/LICENSE-MIT"],
},
os.path.join('brave', 'vendor', 'omaha', 'third_party', 'zlib'): {
"Name": "zlib",
"URL": "https://zlib.net",
"License": "zlib",
- "License File": "/brave/vendor/omaha/third_party/zlib/README",
+ "License File": ["/brave/vendor/omaha/third_party/zlib/README"],
},
os.path.join('brave', 'vendor', 'python-patch'): {
"Name": "Python Patch",
"URL": "https://github.com/brave/python-patch",
"License": "MIT",
- "License File": "/brave/vendor/python-patch/doc/LICENSE",
+ "License File": ["/brave/vendor/python-patch/doc/LICENSE"],
},
os.path.join('brave', 'vendor', 'requests'): {
"Name": "Requests",
@@ -141,7 +143,7 @@ def AddBraveCredits(root, prune_paths, special_cases, prune_dirs,
"Name": "cryptography",
"URL": "https://cryptography.io",
"License": "Apache-2.0",
- "License File": "/brave/common/licenses/Apache-2.0",
+ "License File": ["/brave/common/licenses/Apache-2.0"],
},
os.path.join('brave', 'third_party', 'macholib'): {
"Name": "macholib",
diff --git a/test/BUILD.gn b/test/BUILD.gn
index 3bd362412910..20fd235ae15f 100644
--- a/test/BUILD.gn
+++ b/test/BUILD.gn
@@ -970,10 +970,6 @@ test("brave_browser_tests") {
]
}
- if (is_apple) {
- configs += [ "//build/config/compiler:enable_arc" ]
- }
-
if (use_aura) {
deps += [ "//ui/aura:test_support" ]
}
@@ -1208,7 +1204,6 @@ if (is_android) {
sources = [
"//brave/android/javatests/org/chromium/chrome/browser/BytecodeTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/brave_wallet/BraveWalletUtilsTest.java",
- "//brave/android/javatests/org/chromium/chrome/browser/contextmenu/BraveContextMenuPopulatorTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/language/settings/BraveLanguageSettingsTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/password_manager/settings/BravePasswordSettingsTest.java",
"//brave/android/javatests/org/chromium/chrome/browser/privacy/settings/BravePrivacySettingsTest.java",
diff --git a/test/filters/browser_tests-linux.filter b/test/filters/browser_tests-linux.filter
index 8cc21992c63d..b5b9b79e2621 100644
--- a/test/filters/browser_tests-linux.filter
+++ b/test/filters/browser_tests-linux.filter
@@ -12,6 +12,13 @@
-PersistentBackground/ExtensionWebRequestApiTestWithContextType.WebRequestTestOSDD/0
-ServiceWorker/ExtensionWebRequestApiTestWithContextType.WebRequestTestOSDD/0
+# These tests pass locally but fail on CI.
+-InfoBarUiTest.InvokeUi_bad_flags
+-InfoBarUiTest.InvokeUi_reload_plugin
+-PageInfoBubbleViewBrowserTest.BlockedAndInvalidCert
+-PageInfoBubbleViewBrowserTest.MalwareAndEvCert
+-PageInfoBubbleViewBrowserTest.VerifyEnterprisePasswordReusePageInfoBubble
+
# Tests below this point have not been diagnosed or had issues created yet.
-AccessCodeCastHandlerBrowserTest.*
-AdsPageLoadMetricsObserverBrowserTest.*
diff --git a/test/filters/browser_tests-windows.filter b/test/filters/browser_tests-windows.filter
index 839d8d1b581f..3359d3556a07 100644
--- a/test/filters/browser_tests-windows.filter
+++ b/test/filters/browser_tests-windows.filter
@@ -7,6 +7,9 @@
# These tests fail on CI but pass locally
-AutofillContextMenuManagerFeedbackUIBrowserTest.DisplaysFeedbackDialogUI
+-AutomationApiTest.*
+-AutomationApiTestWithLanguageDetection.DetectedLanguage
+-ManifestUpdateManagerBrowserTest.UninstallDialogCancelStillShowsAppUpdateDialog
-SaveDesktopSnapshotTest.SaveDesktopSnapshot
-TabHoverCardBubbleViewDialogBrowserTest.InvokeUi_tab_hover_card
@@ -44,7 +47,6 @@
-All/MediaEngagementAutoplayBrowserTest.*
-All/ExternallyManagedBrowserTestWithPrefMigrationRead.ReinstallPolicyAppWithLocallyInstalledApp/1
--All/PDFExtensionAccessibilityTreeDumpTest.*
-All/PDFPluginDisabledTest.*
-All/WebAppOfflinePageTest.WebAppOfflinePageIsDisplayed/*
-All/WebAppOfflinePageTest.WebAppOfflineWithEmptyServiceWorker/*
diff --git a/test/filters/browser_tests.filter b/test/filters/browser_tests.filter
index 3aa6769b9c4b..cf9a0cc40244 100644
--- a/test/filters/browser_tests.filter
+++ b/test/filters/browser_tests.filter
@@ -8,6 +8,7 @@
# These tests fail because they expect the infobar count to be 1, but we
# display an additional confirmation infobar for P3A
-All/PageSpecificSiteDataDialogBrowserTest.*/*
+-PageSpecificSiteDataDialogBrowserTest.*
# These tests fail because they expect an additional Manifest V2 deprecation
# warning, which is disabled in Brave.
@@ -98,6 +99,7 @@
-NoCancelSearchPreloadUnifiedBrowserTest.SuggestionChangeAfterStartPrerender
-NoCancelSearchPreloadUnifiedFallbackBrowserTest.OpenPrefetchedResponseInBackgroundedTab
-NoCancelSearchPreloadUnifiedFallbackBrowserTest.ServingToPrerenderingUntilCompletion
+-PreloadingConfigHoldbackSearchPreloadUnifiedBrowserTest.PrerenderDSEHoldbackTest
-PrerenderDataSaverProtocolTest.CheckReportedDisabledByDataSaverPreloadingState
-SearchPreloadUnifiedFallbackBrowserTest.FetchPrerenderActivated
-SearchPreloadUnifiedFallbackBrowserTest.FetchPrerenderFetch
@@ -118,8 +120,10 @@
-All/LookalikeUrlNavigationThrottlePrerenderBrowserTest.ShowInterstitialAfterActivation/*
-All/LookalikeUrlNavigationThrottleSignedExchangeBrowserTest.*/*
-All/PDFExtensionPrerenderTest.*
--All/PrerenderOmniboxSearchSuggestionReloadBrowserTest.*
-All/PrerenderingChangePasswordNavigationThrottleBrowserTest.*
+-All/PrerenderNewTabPageBrowserTest.NewTabPagePrerenderNonHttps/*
+-All/PrerenderNewTabPageBrowserTest.PrerenderTriggeredByNewTabPageAndActivate/*
+-All/PrerenderOmniboxSearchSuggestionReloadBrowserTest.*
-All/SafeBrowsingBlockingPageDelayedWarningPrerenderingBrowserTest.*
-All/SafeBrowsingPrerenderBrowserTest.*
-All/SafeBrowsingThreatDetailsPrerenderBrowserTest.*
@@ -139,6 +143,7 @@
-CredentialManagerPrerenderBrowserTest.*
-DevToolsAutofillTest.TriggerCreditCardInIframe
-DomDistillerTabUtilsPrerenderTest.*
+-DSEPrerenderHoldbackSearchPreloadUnifiedBrowserTest.PrerenderDSEHoldbackTest
-EventPage/DeclarativeNetRequestApiPrerenderingTest.*
-ExtensionApiTabPrerenderingTest.Prerendering
-ExtensionWebRequestApiPrerenderingTest.Load
@@ -225,6 +230,7 @@
-TabUIHelperWithPrerenderingTest.*
-ThumbnailReadinessTrackerPrerenderTest.*
-TranslateFrameBinderPrerenderBrowserTest.*
+-TranslateManagerPrerenderBrowserTest.*
-ViewSourcePrerenderTest.*
-WebAppDeclarativeLinkCapturingPrerenderBrowserTest.*
-WebAppNavigatePrerenderingBrowserTest.*
@@ -241,9 +247,11 @@
# Fledge, and Interest Groups, etc.)
-All/BrowsingDataModelBrowserTest.AttributionReportingAccessReportedCorrectly/*
-All/BrowsingDataModelBrowserTest.AuctionWinReportedCorrectly/*
+-All/BrowsingDataModelBrowserTest.PrivateAggregationHandledCorrectly/*
-All/BrowsingDataModelBrowserTest.TopicsAccessReportedCorrectly/*
--AttestationBrowsingTopicsBrowserTest.AttestedSiteCanGetBrowsingTopics
+-AttestationBrowsingTopicsBrowserTest.*
-ChromeAttributionBrowserTest.AttestedSiteCanReceiveAttributionReport
+-ChromeAttributionBrowserTest.UnattestedSiteCannotReceiveAttributionReport
-PrivacySandboxSettingsEventReportingBrowserTest.AutomaticBeaconDestinationEnrolled
-PrivacySandboxSettingsEventReportingBrowserTest.AutomaticBeaconDestinationNotEnrolled
-PrivacySandboxSettingsAttestPrivateAggregationInProtectedAudienceBrowserTest.CrossOrigin_Enrolled_Success
@@ -268,15 +276,18 @@
-GetIsolatedWebAppBrowsingDataCommandBrowserTest.*
-InstallIsolatedWebAppFromCommandLineFromFileBrowserTest.AppFromCommandLineIsInstalled
-InstallIsolatedWebAppFromCommandLineFromUrlBrowserTest.AppFromCommandLineIsInstalled
+-IsolatedWebAppApplyUpdateCommandBrowserTest.Succeeds/DevModeBundle
-IsolatedWebAppBrowserServiceWorkerPushTest.ServiceWorkerPartitionedWhenWakingUpDueToPushNotification
-IsolatedWebAppBrowserServiceWorkerTest.ServiceWorkerPartitioned
-IsolatedWebAppBrowsingDataClearingTest.CacheCleared
+-IsolatedWebAppBrowsingDataClearingTest.ClearBrowserDataAllTime
-IsolatedWebAppBrowsingDataClearingTest.CookieCleared
+-IsolatedWebAppBrowsingDataClearingTest.DataClearedOnUninstall
+-IsolatedWebAppBrowsingDataClearingTest.LocalStorageCleared
-IsolatedWebAppDevToolsTest.ErrorPage
--IsolatedWebAppsDeveloperModeAllowedPolicyTest.MockTcp/0
--IsolatedWebAppsDeveloperModeAllowedPolicyTest.MockUdp/0
-IsolatedWebAppErrorPageTest.SetsCorrectMessageForErrorCode
-IsolatedWebAppErrorPageTest.UsesWebAppErrorPage
+-IsolatedWebAppUpdatePrepareAndStoreCommandBrowserTest.Succeeds/DevModeBundle
-WebAppTagIsolatedWebAppTest.IsolatedWebAppTaskCreated
-WebAppTagIsolatedWebAppTest.IsolatedWebAppTaskTitleFallbackToAppName
@@ -307,14 +318,16 @@
-TrustedVaultEncryptionKeysTabHelperBrowserTest.ShouldBindAddRecoveryMethodApiInMainFrame
-TrustedVaultEncryptionKeysTabHelperBrowserTest.ShouldNotBindEncryptionKeysApiInPrerendering
-# These tests fail because BRAVE_COSMETIC_FILTERING has an initial default value
-# of CONTENT_SETTING_DEFAULT which is not allowed as an integer value by
-# content_settings::ParseContentSettingValue
-# https://github.com/brave/brave-browser/issues/25733
--UnusedSitePermissionsServiceBrowserTest.RevokeAllContentSettingTypes
--UnusedSitePermissionsServiceBrowserTest.TestIncognitoProfile
--UnusedSitePermissionsServiceBrowserTest.TestNavigationUpdatesLastUsedDate
--UnusedSitePermissionsServiceBrowserTest.TestRevokeUnusedPermissions
+# These tests fail because we patch
+# AccountConsistencyModeManager::ComputeAccountConsistencyMethod to return
+# AccountConsistencyMethod::kDisabled
+-ContextMenuWithFilteringForSupervisedUsersBrowserTest.SaveLinkAsEntryIsEnabledForUrlsAllowedByAsyncCheckerForChild
+-ContextMenuWithoutFilteringForSupervisedUsersBrowserTest.SaveLinkAsEntryIsDisabledForUrlsBlockedByAsyncCheckerForChild
+-ContextMenuWithoutFilteringForSupervisedUsersBrowserTest.SaveLinkAsEntryIsEnabledForUrlsAllowedByAsyncCheckerForChild
+
+# These tests fail because "Isolated Web Apps are not enabled, or Isolated Web
+# App Developer Mode is not enabled or blocked by policy."
+-GarbageCollectStoragePartitionsCommandBrowserTest.UninstalledAppsHaveStoragePartitionsCleanedUp
# These tests fail because of the following failed DCHECK in web_view_guest.cc:
# render_frame_host->IsActive() || (content::SiteIsolationPolicy::IsSiteIsolationForGuestsEnabled() && render_frame_host->IsInLifecycleState( RenderFrameHost::LifecycleState::kPendingDeletion))
@@ -328,7 +341,7 @@
# these channels, which breaks test communication.
-FileSystemAccessBrowserTest.RevokePermissionAfter*
-# This test checks data sent do DownloadProtectionService (url, filename, etc.)
+# This test checks data sent to DownloadProtectionService (url, filename, etc.)
# which we filter for privacy reasons.
-FileSystemAccessBrowserTest.SafeBrowsing
@@ -355,15 +368,20 @@
# service to set ANTI_ABUSE setting to BLOCK).
-ExtensionContentSettingsApiTest.Standard
-# These tests fails because we block 3p cookies
+# These tests fail because we block 3p cookies
-RuntimeFeatureStateBrowserTest.ThirdPartyCookieAllowedByUserBypass
-BackgroundPage/ExtensionPreferenceApiTest.OnChange/0
-BackgroundPage/ExtensionPreferenceApiTest.OnChangeSplit/0
-BackgroundPage/ExtensionPreferenceApiTest.Standard/0
-EventPage/ExtensionPreferenceApiEventPageTest.ThirdPartyCookiesAllowed/0
+# These tests fail because we disable creation of CookieControlsIconView in
+# PageActionIconController::Init's switch
+-OldCookieControlsBubbleViewTest.*
+
# These tests fail because we set kPrivacySandboxApisEnabled pref to false.
-BackgroundPage/ExtensionPreferenceApiTest.PrivacySandboxMigration/0
+-PrivacySandboxSettingsEventReportingBrowserTest.ReportEventCustomURLDestinationEnrolled
# These tests fail because of the shields. Didn't investigate in depth, but
# the tests pass when run with --disable-brave-extension.
@@ -538,6 +556,8 @@
# These tests fail because we intentionally disable prefs::kEnableMediaRouter
-All/CastMirroringServiceHostBrowserTestTabSwitcher.SwitchTabSource/*
-CastMirroringServiceHostBrowserTest.PauseSession
+-ProfileKeyedServiceBrowserTest.SystemProfileOTR_ServicesThatCanBeCreated
+-ProfileKeyedServiceBrowserTest.SystemProfileParent_ServicesThatCanBeCreated
# These tests fail because of the following CHECK in identity_test_utils.cc:
# identity_manager->AreRefreshTokensLoaded()
@@ -550,6 +570,12 @@
# This test fails because of the following CHECK in identity_test_utils.cc:
# !primary_account_info.IsEmpty()
+-All/SupervisedUserRegionalURLFilterTest.RegionIsAdded/*
+-All/SupervisedUserServiceBrowserTest.LocalPolicies/Regular
+-All/SupervisedUserServiceBrowserTest.LocalPolicies/Supervised
+-All/SupervisedUserServiceBrowserTest.ProfileName/Regular
+-All/SupervisedUserServiceBrowserTest.ProfileName/Supervised
+-IpProtectionAuthTokenProviderBrowserTest.NetworkServiceCanRequestTokens
-SupervisionRemovalExtensionTest.RemoveCustodianApprovalRequirement
# These tests fail or time out because IdentityManager never loads refresh
@@ -584,11 +610,15 @@
-All/DIPSTabHelperBrowserTest.*/*
-DIPSBounceDetectorBrowserTest.*
-DIPSBounceTrackingDevToolsIssueTest.BounceTrackingDevToolsIssue
+-DIPSWebAuthnBrowserTest.ReportRedirectorsInChain_OmitSitesWithWebAuthnAssertions
-DIPSWebAuthnBrowserTest.WebAuthnAssertion_ConfirmWCOCallback
-OpenerHeuristicBrowserTest.*
# These tests fail on CI but pass locally
-All/PermissionPromptBubbleBaseViewBrowserTest.InvokeUi_storage_access/*
+-AutoPictureInPictureTabHelperBrowserTest.ImmediatelyClosesAutopipIfTabIsAlreadyFocused
+-AutoPictureInPictureTabHelperBrowserTest.OpensAndClosesVideoAutopip
+-AutoPictureInPictureTabHelperBrowserTest.ShowsMostRecentlyHiddenTab
-DeviceChooserExtensionBrowserTests/DeviceChooserExtensionBrowserTest.ChooserAnchoredToExtensionIcon/WebHid
-DeviceChooserExtensionBrowserTests/DeviceChooserExtensionBrowserTest.ChooserAnchoredToExtensionIcon/WebUsb
-InstallPreloadedVerifiedAppCommandTest.SuccessCrossOriginManifest
@@ -646,6 +676,7 @@
# These tests fail because we are modifying the HttpsUpgrades feature.
-HttpsUpgradesBrowserTest.AllowlistEntryExpires/*
+-HttpsUpgradesBrowserTest.EnterpriseAllowlistDisablesHttpsFirstModeForSiteEngagament/*
-HttpsUpgradesBrowserTest.EnterpriseAllowlistDisablesUpgrades/*
-HttpsUpgradesBrowserTest.HttpPageHttpPost_NotUpgraded/*
-HttpsUpgradesBrowserTest.HttpParentHttpSubframeNavigation_NotUpgraded/*
@@ -662,12 +693,16 @@
-HttpsUpgradesBrowserTest.SlowHttps_ShouldInterstitial/*
-HttpsUpgradesBrowserTest.URLsAutocompletedWithHttpSchemeAreUpgraded/*
-HttpsUpgradesBrowserTest.URLsTypedWithHttpSchemeNoUpgrades/*
+-HttpsUpgradesBrowserTest.UrlWithHttpScheme_BrokenSSL_ShouldInterstitial_TypicallySecureUser/*
+-HttpsUpgradesBrowserTest.URLsTypedWithHttpSchemeNoUpgradesAllowlist/AllAutoHFM
+-HttpsUpgradesBrowserTest.URLsTypedWithHttpSchemeNoUpgradesAllowlist/HttpsFirstModeForTypicallySecureUsersAndHttpsUpgrades
-HttpsUpgradesBrowserTest.URLsTypedWithHttpSchemeNoUpgradesAllowlist/HttpsFirstModeWithSiteEngagementAndHttpsUpgrades
-HttpsUpgradesBrowserTest.URLsTypedWithHttpSchemeNoUpgradesAllowlist/HttpsUpgradesOnly
-HttpsUpgradesBrowserTest.UrlWithHttpScheme_BrokenSSL_ShouldInterstitial/*
-HttpsUpgradesBrowserTest.UrlWithHttpScheme_BrokenSSL_ShouldInterstitial_SiteEngagement/*
-HttpsUpgradesBrowserTest.UrlWithHttpScheme_ShouldUpgrade/*
-HttpsUpgradesBrowserTest.UrlWithHttpsScheme_ShouldLoad/*
+-HttpsUpgradesPrefsBrowserTest.PrefStatesRecorded
# These tests fail because we change the Learn More link in the HTTPS First
# interstitial.
@@ -678,15 +713,22 @@
-HttpsUpgradesBrowserTest.InterstitialLearnMoreLink/HttpsFirstModeAndHttpsUpgrades
-HttpsUpgradesBrowserTest.InterstitialLearnMoreLink/HttpsFirstModeOnly
-# These tests fail because we change the Learn More link in the HTTPS First
-# interstitial.
--HttpsOnlyModeBrowserTest.InterstitialLearnMoreLink
--HttpsUpgradesBrowserTest.InterstitialLearnMoreLink
--HttpsUpgradesBrowserTest.InterstitialLearnMoreLink/BothHttpsFirstModeAndHttpsUpgrades
--HttpsUpgradesBrowserTest.InterstitialLearnMoreLink/HttpsFirstModeOnly
-
# These tests crash because we disable
# enterprise_connectors::kLocalContentAnalysisEnabled feature
+-All/ContentAnalysisAfterPrintPreviewBrowserTest.*/*
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.PrintWithPreview/4
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.PrintWithPreview/5
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.PrintWithPreview/6
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.PrintWithPreview/7
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.SystemPrintFromPrintPreview/4
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.SystemPrintFromPrintPreview/5
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.SystemPrintFromPrintPreview/6
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.SystemPrintFromPrintPreview/7
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.WindowDotPrint/4
+-All/ContentAnalysisBeforePrintPreviewBrowserTest.WindowDotPrint/6
+-All/ContentAnalysisScriptedPreviewlessPrintAfterDialogBrowserTest.*/*
+-All/ContentAnalysisScriptedPreviewlessPrintBeforeDialogBrowserTest.*/*
+-ConnectorsServiceAnalysisProfileBrowserTest.Affiliation/*
-ConnectorsServiceAnalysisProfileBrowserTest.DeviceReporting/1
-ConnectorsServiceAnalysisProfileBrowserTest.DeviceReporting/10
-ConnectorsServiceAnalysisProfileBrowserTest.DeviceReporting/11
@@ -777,6 +819,8 @@
-ConnectorsServiceAnalysisProfileBrowserTest.ProfileReporting/6
-ConnectorsServiceAnalysisProfileBrowserTest.ProfileReporting/7
-ConnectorsServiceAnalysisProfileBrowserTest.ProfileReporting/9
+-ContentAnalysisDialogAppearanceBrowserTest.*
+-ContentAnalysisDialogCustomMessageAppearanceBrowserTest.*
-EnterpriseReportingPrivateGetContextInfoBaseBrowserTest.TestAllProviderNamesSet
-IsClipboardPasteContentAllowedTest.AllFilesBlocked
-IsClipboardPasteContentAllowedTest.SomeFilesBlocked
@@ -786,12 +830,20 @@
-ThreadProfilerBrowserTest.*
# These fail because we disable kPartitionedCookies
+-All/BrowsingDataModelBrowserTest.PartitionedLocalStorageRemoved/*
-ReadAnythingAppControllerTest.*
-StorageAccessAPIEnterprisePolicyBrowserTest.PartitionedStorage/*
-StorageAccessAPIWithNoRequiredTopLevelInteractionBrowserTest.TopLevelUserInteractionNotRequired
-StorageAccessAPIWithoutImplicitGrantBrowserTest.NestedSameOriginCookieAccess_CrossSiteAncestorChain
-StorageAccessAPIWithoutImplicitGrantBrowserTest.NestedSameSiteCookieAccess_CrossSiteAncestorChain
+# These tests fail because we override CookieSettingsBase::IsCookieAccessAllowed
+# (specifically, CookieSettingsBase::IsCookieAccessAllowedImpl) and the override
+# allows access to the cookie to which Chromium disallows access
+# (BraveIsAllowedThirdParty)
+-ChromeSharedDictionaryBrowserTest.BlockReadingCrossOrigin
+-ChromeSharedDictionaryBrowserTest.BlockWritingCrossOrigin
+
# These fail because we disable kFirstPartySets
-RequestStorageAccessForBrowserTest.ThirdPartyGrantsExpireOverIPC
-RequestStorageAccessForWithCHIPSBrowserTest.RequestStorageAccessFor_CoexistsWithCHIPS
@@ -818,8 +870,10 @@
# This test fails because we override the support article URL to point to our
# own support article
+-WebHidExtensionBrowserTest.DeviceConnectAndOpenDeviceWhenServiceWorkerStopped
-WebHidExtensionBrowserTest.HidConnectionTracker
-WebHidExtensionFeatureEnabledBrowserTest.HidConnectionTracker
+-WebUsbExtensionFeatureEnabledBrowserTest.UsbConnectionTracker
# These tests fail because we disable field trials via
# disable_fieldtrial_testing_config
@@ -834,26 +888,27 @@
# can be removed at that time
-ExtensionActionRunnerWithUserHostControlsBrowserTest.HandleUserSiteSettingModified_ExtensionHasNoAccess
-# These tests fail because we disable page_info::kPageInfoCookiesSubpage
--PageInfoBubbleViewBrowserTestCookiesSubpage.ClickingFpsButton
--PageInfoBubbleViewBrowserTestCookiesSubpage.ToggleForBlockingThirdPartyCookies
-
# These tests fail because we don't support the search companion.
-CompanionPage*
-SidePanelCompanion2BrowserEnabledTest.FeatureEnabled
# These tests fail because they enable the kChromeRefresh2023 feature, which our
# code is not expecting.
+-All/BrowserFrameColorProviderTest.BaselineThemeIgnoresNativeThemeColor/1
+-All/BrowserFrameColorProviderTest.BrowserFrameTracksBrowserColorVariant/1
-All/BrowserFrameColorProviderTest.BrowserFrameTracksIsGrayscale/1
+-All/BrowserFrameColorProviderTest.GrayscaleUsesBaselinePalette/1
-All/BrowserFrameColorProviderTest.IncognitoAlwaysDarkMode/1
--All/BrowserFrameColorProviderTest.IncognitoAlwaysIgnoresIsGrayscale/1
-All/BrowserFrameColorProviderTest.IncognitoAlwaysIgnoresUserColor/1
+-All/BrowserFrameColorProviderTest.IncognitoIsAlwaysGrayscale/1
-All/BrowserFrameColorProviderTest.TracksBrowserColorScheme/1
+-All/BrowserFrameColorProviderTest.UseDeviceIgnoresTheme/1
-All/BrowserFrameColorProviderTest.UserColorProfilePrefTrackedCorrectly/1
-All/BrowserFrameColorProviderTest.UserColorTracksAutogeneratedThemeColor/1
-AppMenuBrowserTestRefreshOnly.*
-BrowserCommandControllerBrowserTestRefreshOnly.*
-FirstRunIntroPixelTest.InvokeUi_default/CR2023
+-ProfileMenuViewPixelTest.InvokeUi_default/*
-ProfilePickerUIPixelTest.InvokeUi_default/CR2023
-RealboxHandlerIconTest/BrowserTestWithParam.ActionVectorIcons/0
-RealboxHandlerIconTest/BrowserTestWithParam.ActionVectorIcons/2
@@ -863,6 +918,8 @@
-RealboxHandlerIconTest/BrowserTestWithParam.MatchVectorIcons/2
-RealboxHandlerIconTest/BrowserTestWithParam.PedalVectorIcons/0
-RealboxHandlerIconTest/BrowserTestWithParam.PedalVectorIcons/2
+-TestWebAppMenuModelCR2023.CommandStatusTest
+-TestWebAppMenuModelCR2023.ModelHasIcons
# These tests fail because we do not allow most request client hints
-RedirectUaReductionBrowserTest.NormalRedirectRequest
@@ -884,6 +941,7 @@
# These tests fail because we set kSafeBrowsingExtendedReportingOptInAllowed
# pref value to false.
+-AntiPhishingTelemetryBrowserTestWithThreatTypeAndIsolationSetting/AntiPhishingTelemetryBrowserTest.CheckReportCloseTabOnInterstitial/*
-AntiPhishingTelemetryBrowserTestWithThreatTypeAndIsolationSetting/AntiPhishingTelemetryBrowserTest.CheckReportListsInteractions/*
-AntiPhishingTelemetryBrowserTestWithThreatTypeAndIsolationSetting/AntiPhishingTelemetryBrowserTest.CheckReportListsInteractionsNoExplicitInterstitialDecision/*
@@ -904,6 +962,15 @@
# These fail because we disalbe history_clusters::internal::kJourneys.
-RenameJourneys/HistoryClustersPolicyTest.HistoryClustersVisible/*
+# These tests fail because we disable
+# optimization_guide::features::kRemoteOptimizationGuideFetching
+-ParametrizedTests/PreloadingModelKeyedServiceTest.FeatureFlagIsWorking/*
+
+# These test fail because we remove description and 3p cookies toggle from the
+# Page Info cookies view.
+-All/PageInfoBubbleViewBrowserTestCookiesSubpage.LinkInDescriptionForCookiesSettings/*
+-All/PageInfoBubbleViewBrowserTestCookiesSubpage.ToggleForBlockingThirdPartyCookies/1
+
# Tests below this point have not been diagnosed or had issues created yet.
-_/WebrtcLoggingPrivateApiStartEventLoggingTestFeatureAndPolicyEnabled.*
-AccessCodeCastHandlerBrowserTest.*
@@ -937,6 +1004,7 @@
-All/DownloadReferrerPolicyTest.*
-All/ExtensionWebstorePrivateApiTestParameterized.*
-All/GetAuthTokenFunctionEnableGranularPermissionsTest.EnableGranularPermissions/*
+-All/HeadlessModeDumpDomCommandBrowserTestWithSubResourceTimeout.HeadlessDumpDomWithSubResourceTimeout/*
-All/IdentityGetProfileUserInfoFunctionTestWithAccountStatusParam.*
-All/IntentPickerBubbleViewBrowserTest.*
-All/LoginPromptBrowserTest.*
@@ -949,9 +1017,11 @@
-All/OtherFrameNavigationDownloadBrowserTest_AdFrame.*
-All/PageLoadMetricsBackForwardCacheBrowserTest.*
-All/PasswordBubbleBrowserTest.*
+-All/PDFExtensionAccessibilityTreeDumpTest.*
-All/PDFExtensionContentSettingJSTest.*
-All/PDFExtensionHitTestTest.*
-All/PDFExtensionJSTest.*
+-All/PDFExtensionPrintingTest.*
-All/PDFExtensionServiceWorkerJSTest.*
-All/PDFExtensionTest.*
-All/PDFExtensionWebUICodeCacheJSTest.*
@@ -1022,6 +1092,7 @@
-BrowserTabRestoreTest.RecentTabsMenuTabDisposition
-BrowserTest.*
-BrowserViewTest.*
+-BrowserViewTestRefreshOnly.*
-BrowsingDataCounterUtilsBrowserTest.*
-BrowsingDataRemoverBrowserTest.*
-BrowsingTopicsAnnotationGoldenDataBrowserTest.GoldenData
@@ -1060,13 +1131,12 @@
-ComponentCloudPolicyTest.*
-ComponentUpdaterPolicyTest.*
-ConsumerDeepScanningBrowserTest.*
--ContentAnalysisDialogAppearanceBrowserTest.*
--ContentAnalysisDialogCustomMessageAppearanceBrowserTest.*
-ContentAutofillDriverBrowserTest.*
-ContentFaviconDriverTest.*
-ContentScriptApiPrerenderingTest.*
-ContentScriptApiTest.*
-ContentSettingBubbleDialogTest.*
+-ContentSettingBubbleModelMediaStreamTest.BubbleContentForNonBlockedMic
-ContentSettingImageModelBrowserTest.*
-ContentSettingsBackForwardCacheBrowserTest.*
-ContentSettingsTest.*
@@ -1186,8 +1256,11 @@
-GuestStartupBrowserCreatorPickerTest.*
-HangoutServicesBrowserTest.*
-HeadlessModeDumpDomCommandBrowserTest.HeadlessDumpDom
+-HeadlessModeDumpDomCommandBrowserTestWithTimeout.HeadlessDumpDomWithTimeout
-HeadlessModeLazyLoadingPrintToPdfCommandBrowserTest.HeadlessLazyLoadingPrintToPdf
-HeadlessModePrintToPdfCommandBrowserTest.HeadlessPrintToPdf
+-HeadlessModePrintToPdfCommandBrowserTest.HeadlessTaggedPrintToPdf/*
+-HeadlessModeTaggedPrintToPdfCommandBrowserTest.HeadlessTaggedPrintToPdf/*
-HintsFetcherBrowserTest.*
-HintsFetcherSearchPageBrowserTest.*
-HistoryBrowserTest.*
@@ -1367,12 +1440,16 @@
-PrivacyBudgetBrowserTestWithUkmRecording.*
-PrivacyBudgetReidScoreBrowserTestWithUkmRecording.ReidIsReported
-PrivacySandboxDialogHelperTestWithParamInstance/PrivacySandboxDialogHelperTestWithParam.*
+-PrivacySandboxDialogViewBrowserTest.InvokeUi_Notice
+-PrivacySandboxNoticeBubbleBrowserTest.InvokeUi_NoticeBubble
-PrivacySandboxSettingsBrowserTest.*
+-PrivacySandboxSettingsEventReportingBrowserTest.ReportEventCustomURLDestinationNotEnrolled
-PrivateNetworkAccessWithFeatureEnabledBrowserTest.*
-ProcessManagementTest.*
-ProcessManagerBrowserTest.*
-ProfileBrowserTest.*
-ProfileBrowserTestWithoutDestroyProfile.*
+-ProfileCustomizationBrowserTest.IPH
-ProfileCustomizationBubbleBrowserTest.*
-ProfileCustomizationDialogBrowserTest.*
-ProfileKeyedServiceBrowserTest.GuestProfileOTR_NeededServices
@@ -1429,8 +1506,10 @@
-RunInBackgroundTest.*
-SafeBrowsingBlockingPageBrowserTestWithThreatTypeAndIsolationSetting/SafeBrowsingBlockingPageBrowserTest.*
-SafeBrowsingBlockingPageEnhancedProtectionMessageTest.*
+-SafeBrowsingBlockingPageHashRealTimeCheckTest.TriggerHitReportAndClientSafeBrowsingReportRequest
-SafeBrowsingBlockingPageRealTimeUrlCheckTest.*
-SafeBrowsingBlockingPageWithDelayedWarningsBrowserTest/SafeBrowsingBlockingPageDelayedWarningBrowserTest.*
+-SafeBrowsingHatsSurveyBrowserTestWithThreatTypeAndIsolationSetting/SafeBrowsingHatsSurveyBrowserTest.ReportSentToSbAndAttachedForHats/*
-SafeBrowsingNetworkContext/NetworkContextConfigurationBrowserTest.*
-SafeBrowsingNetworkContext/NetworkContextConfigurationDataPacBrowserTest.*
-SafeBrowsingNetworkContext/NetworkContextConfigurationFilePacBrowserTest.*
@@ -1586,6 +1665,7 @@
-UkmConsentParamBrowserTests/UkmConsentParamBrowserTest.*
-UkmWorkerBrowserTest.*
-UnifiedConsentBrowserTest.*
+-UnifiedConsentSyncToSigninBrowserTest.*
-UpdatedGreaseFeatureParamTest.*
-UpdateServiceTest.*
-UseCounterPageLoadMetricsObserverBrowserTest.*
diff --git a/test/filters/unit_tests-linux.filter b/test/filters/unit_tests-linux.filter
index ca6a7b8e9875..081eb9994d07 100644
--- a/test/filters/unit_tests-linux.filter
+++ b/test/filters/unit_tests-linux.filter
@@ -8,6 +8,10 @@
# These fail because we override IdentityManager::GetAccountsInCookieJar
-SupervisedUserURLFilterTest.UrlsNotRequiringGuardianApprovalAllowed
+# These fail because we disable DIPS via dips::kFeature
+-All/DIPSDatabasePopupsTest.*
+-DIPSDatabaseBounceTableGarbageCollectionTest.*
+
# These fail because we disable prefs::kSafeBrowsingScoutReportingEnabled.
-Impl/TrialComparisonCertVerifierControllerTest.OfficialBuildTrialEnabled/1
-Impl/TrialComparisonCertVerifierControllerTest.OfficialBuildTrialEnabledTwoClients/1
diff --git a/test/filters/unit_tests.filter b/test/filters/unit_tests.filter
index b8f3626afa7b..83d57afcefa7 100644
--- a/test/filters/unit_tests.filter
+++ b/test/filters/unit_tests.filter
@@ -11,12 +11,17 @@
-All/AppLauncherHandlerTest.HandleClosedWhileUninstallingExtension/OSIntegrationSubManagers_Disabled
-All/AppLauncherHandlerTest.HandleClosedWhileUninstallingExtension/OSIntegrationSubManagers_Enabled
-All/AppLauncherHandlerTest.HandleClosedWhileUninstallingExtension/OSIntegrationSubManagers_SaveStateToDB
+-All/CookieControlsBubbleViewControllerTest.ThirdPartyCookiesAllowedPermanent/*
+-All/CookieControlsBubbleViewControllerTest.ThirdPartyCookiesAllowedTemporary/*
+-All/CookieControlsBubbleViewControllerTest.ThirdPartyCookiesBlocked/*
+-All/CookieControlsUserBypassTest.*
-All/DiceWebSigninInterceptorWithManagedDisclaimerForSyncPromoTest.*
-All/ExtensionContextMenuModelWithUserHostControlsAndPermittedSitesTest.PageAccessItemsVisibilityBasedOnSiteSettings/*
-All/ExtensionContextMenuModelWithUserHostControlsTest.PageAccessItemsVisibilityBasedOnSiteSettings/*
-All/ExtensionContextMenuModelWithUserHostControlsTest.PageAccessItemsVisibility_PolicyInstalled/*
-All/ExtensionContextMenuModelWithUserHostControlsTest.TestClickingPageAccessPermissionsPage/*
-All/HighEfficiencyBubbleViewMemorySavingsImprovementsTest.ShowsCorrectLabelsForDifferentSavings/*
+-All/PageInfoCookiesContentViewTest.*
-All/PriceTrackingViewFeatureFlagTest.PriceTrackingViewCreation/*
-All/PrintContentAnalysisUtilsTest.*/*
-ApcScrimManagerImplTest.DisabledScrimCannotBeShown
@@ -27,13 +32,19 @@
-ApcScrimManagerImplTest.UpdatesVisibilityOnWebcontentsVisibilityChanged
-BatterySaverButtonNoExperimentsAvailableTest.*
-BatterySaverButtonTest.*
+-BrowserFeaturePromoControllerViewsTest.*
+-BrowserFinderTest.ScheduledForDeletion
-BrowserViewTestWithStopLoadingAnimationForHiddenWindow.LoadingAnimationNotRenderedWhenWindowHidden
-ChromeBrowsingDataRemoverDelegateOriginTrialsTest.PersistentOriginTrialsAreDeleted
+-CookieControlsBubbleCoordinatorTest.ShowBubbleTest
+-CookieControlsBubbleViewImplTest.BubbleWidth
+-CookieControlsContentViewUnitTest.FeedbackSection
+-CookieControlsContentViewUnitTest.ToggleButton_Initial
+-CookieControlsContentViewUnitTest.ToggleButton_UpdatedSites
+-CookieControlsIconViewUnitTest.*
-CookieControlsUserBypassTest.SiteCounts
-CoreTabHelperWindowUnitTest.SearchWithLens_LensPingEnabled_TriggersLensPing
--CustomizeChromeFeaturePromoHelperTest.CloseCustomizeChromeFeaturePromoHelper
--CustomizeChromeFeaturePromoHelperTest.MaybeShowCustomizeChromeFeaturePromoHelper
--CustomizeChromeFeaturePromoHelperTest.RecordCustomizeChromeFeatureUsage
+-CustomizeChromeFeaturePromoHelperTest.*
-DownloadBubbleRowListViewTest.AddRow
-DownloadBubbleRowListViewTest.RemoveRow
-DownloadBubbleRowViewTest.CopyAcceleratorCopiesFile
@@ -49,18 +60,18 @@
-ExtensionMenuItemViewTest.*
-ExtensionsSitePermissionsPageViewUnitTest.*
-ExtensionsToolbarControlsWithPermittedSitesUnitTest.RequestAccessButtonVisibilityOnPermittedSites
--FirstShowAndReshow/MandatoryReauthBubbleControllerImplMetricsTest.MetricsMandatoryReauthOptInBubbleMetric_NotInteracted/*
--FirstShowAndReshow/MandatoryReauthBubbleControllerImplMetricsTest.Metrics_MandatoryReauthOptInBubbleMetric_Accepted/*
--FirstShowAndReshow/MandatoryReauthBubbleControllerImplMetricsTest.Metrics_MandatoryReauthOptInBubbleMetric_Cancelled/*
--FirstShowAndReshow/MandatoryReauthBubbleControllerImplMetricsTest.Metrics_MandatoryReauthOptInBubbleMetric_Closed/*
--FirstShowAndReshow/MandatoryReauthBubbleControllerImplMetricsTest.Metrics_MandatoryReauthOptInBubbleMetric_LostFocus/*
--FirstShowAndReshow/MandatoryReauthBubbleControllerImplMetricsTest.Metrics_MandatoryReauthOptInBubbleMetric_Shown/*
+-FirstShowAndReshow/MandatoryReauthBubbleControllerImplMetricsTest.*
+-FirstShowAndReshow/MandatoryReauthBubbleControllerOptInBubbleMetricsTest.*
-HighEfficiencyBubbleViewMemorySavingsImprovementsTest.*
-HighEfficiencyBubbleViewTest.*
-HighEfficiencyChipViewDiscardedTabTreatmentDisabledTest.ShouldNotExpandWhenFeatureIsDisabled
-HighEfficiencyChipViewMemorySavingsImprovementsTest.*
-HighEfficiencyChipViewTest.*
-IbanBubbleControllerImplTest.*
+-IsolatedWebAppChromeBrowsingDataRemoverDelegateTest.ControlledFramesIgnoreFilter
+-ManagePasswordsUIControllerWithBrowserTest.OnAutofillingSharedPasswordNotNotifiedYet
+-ManagePasswordsUIControllerWithBrowserTest.OnAutofillingSharedPasswordNotifiedAlready
+-MandatoryReauthBubbleControllerImplTest.Metrics_OptInConfirmationBubble_Shown
-MandatoryReauthBubbleControllerImplTest.SuccessfullyInvokesAcceptCallback
-MandatoryReauthBubbleControllerImplTest.SuccessfullyInvokesCancelCallback
-MandatoryReauthBubbleControllerImplTest.SuccessfullyInvokesCloseCallback
@@ -71,9 +82,11 @@
-PeopleHandlerSignoutTest.SignoutNotAllowedSyncOn
-PeopleHandlerSignoutTest.SignoutWithSyncOff
-PeopleHandlerSignoutTest.SignoutWithSyncOn
+-ProfileManagementNavigationThrottleRedirectTest.*
-ProfileManagementNavigationThrottleTest.*
-ProfileTokenNavigationThrottleTest.*
-ProfileTokenWebSigninInterceptorTest.*
+-SaveCvcBubbleLoggingTest.Metrics_*
-SavedTabGroupModelListenerTest.CreatesRemovesBrowserListener
-SavedTabGroupModelListenerTest.GetTabStripModelWithTabGroupId
-SaveIbanBubbleControllerImplTest.LocalIbanSavedSuccessfully
@@ -103,6 +116,15 @@
# TestExtensionSystem
# https://github.com/brave/brave-browser/issues/25727
-AppHomePageHandlerTest.*
+-ChromeUsbDelegateExtensionRenderFrameFeatureEnabledTest.OpenAndCloseDevice
+-ChromeUsbDelegateExtensionRenderFrameFeatureEnabledTest.OpenAndDisconnectDevice
+-ChromeUsbDelegateExtensionRenderFrameTest.*
+-ChromeUsbDelegateExtensionServiceWorkerFeatureEnabledTest.*
+-ChromeUsbDelegateExtensionServiceWorkerTest.WebUsbServiceNotConnected
+-ChromeUsbDelegateImprivataExtensionRenderFrameTest.AllowlistedImprivataExtension
+-ChromeUsbDelegateImprivataExtensionServiceWorkerFeatureEnabledTest.AllowlistedImprivataExtension
+-ChromeUsbDelegateSmartCardExtensionRenderFrameTest.AllowlistedSmartCardConnectorExtension
+-ChromeUsbDelegateSmartCardExtensionServiceWorkerFeatureEnabledTest.AllowlistedSmartCardConnectorExtension
# These tests fail because we customize the download status messages with our
# own verbiage
@@ -146,6 +168,10 @@
# attempting to check Tor statuses, which dereferences an uninitialised
# g_browser_process->local_state().
-AutofillContextMenuManagerTest.AutofillContextMenuContents
+-AutofillContextMenuManagerTest.AutocompleteUnrecognizedFallback_ContextMenuEntry
+-AutofillContextMenuManagerTest.AutocompleteUnrecognizedFallback_ExplicitlyTriggeredMetric_Accepted
+-AutofillContextMenuManagerTest.AutocompleteUnrecognizedFallback_ExplicitlyTriggeredMetric_NotAccepted
+-AutofillContextMenuManagerTest.AutocompleteUnrecognizedFallback_TriggerSuggestions
-AutofillContextMenuManagerTest.ExecuteCommand
-AutofillContextMenuManagerTest.RecordContextMenuIsShownOnField
-PasswordsPrivateDelegateImplTest.ShowAddShortcutDialog
@@ -210,11 +236,11 @@
-DIPSServiceHistogramTest.*
-DIPSServiceStateRemovalTest.*
-GetSitesToClearTest.*
--StorageAccessGrantPermissionContextAPIDisabledTest.AllowedByCookieSettings
--StorageAccessGrantPermissionContextAPIDisabledTest.InsecureOriginsDisallowed
--StorageAccessGrantPermissionContextAPIDisabledTest.PermissionBlocked
--StorageAccessGrantPermissionContextAPIDisabledTest.PermissionStatusBlocked
--StorageAccessGrantPermissionContextAPIWithFirstPartySetsTest.ImplicitGrant_AutograntedWithinFPS
+-StorageAccessGrantPermissionContextAPIDisabledTest.AllowedByCookieSettings*
+-StorageAccessGrantPermissionContextAPIDisabledTest.InsecureOriginsDisallowed*
+-StorageAccessGrantPermissionContextAPIDisabledTest.PermissionBlocked*
+-StorageAccessGrantPermissionContextAPIDisabledTest.PermissionStatusBlocked*
+-StorageAccessGrantPermissionContextAPIWithFirstPartySetsTest.ImplicitGrant_AutograntedWithinFPS*
# These tests fail a CalledOnValidSequence check when calling
# TorProfileServiceFactory::IsTorDisabled
@@ -228,21 +254,12 @@
-SavedTabGroupKeyedServiceUnitTest.*
-TabLifecycleUnitTest.CannotDiscardPictureInPictureWindow
-# These tests fail because BRAVE_COSMETIC_FILTERING has an initial default value
-# of CONTENT_SETTING_DEFAULT which is not allowed as an integer value by
-# content_settings::ParseContentSettingValue
-# https://github.com/brave/brave-browser/issues/25733
--SafetyHubHandlerTest.HandleAcknowledgeRevokedUnusedSitePermissionsList
--SafetyHubHandlerTest.HandleAllowPermissionsAgainForUnusedSite
--SafetyHubHandlerTest.RevokeAllContentSettingTypes
--SiteSettingsPermissionsHandlerTest.HandleAcknowledgeRevokedUnusedSitePermissionsList
--SiteSettingsPermissionsHandlerTest.HandleAllowPermissionsAgainForUnusedSite
-
# These tests fail because we disable the media router via
# prefs::kEnableMediaRouter
-CastDialogSinkViewTest.ButtonsAccessibleName
-MediaDialogViewWithRemotePlaybackTest.*
-MediaRouterActionControllerUnitTest.*
+-MediaRouterDebuggerImplTest.ShouldFetchMirroringStatsAccessCodeCastFeature
-MediaRouterEnabledTest.*
-MediaRouterUIServiceFactoryUnitTest.*
-MediaRouterViewsUITest.*
@@ -350,9 +367,6 @@
# Flaky upstream test.
-EncryptedReportingUploadProviderTest.SuccessfullyUploadsRecord
-# This test fails because we disable page_info::kPageInfoCookiesSubpage
--PageInfoBubbleViewCookiesSubpageTest.TextsOnButtonsAreCorrect
-
# This test fails because we insert our own bookmarks submenu into the app menu
# model
-TestAppMenuModelCR2023.ModelHasIcons
@@ -373,6 +387,10 @@
# optimization_guide::features::kOptimizationGuideFetchingForSRP
-ChromeHintsManagerFetchingTest.HintsFetched_*
+# These test fail because we remove description and 3p cookies toggle from the
+# Page Info cookies view.
+-PageInfoBubbleViewCookiesSubpageTest.TextsOnButtonsAreCorrect
+
# Tests below this point have not been diagnosed or had issues created yet.
-AboutFlagsHistogramTest.*
-AboutFlagsTest.*
diff --git a/third_party/android_deps/BUILD.gn b/third_party/android_deps/BUILD.gn
index 4dcfa6601032..2707266e9b11 100644
--- a/third_party/android_deps/BUILD.gn
+++ b/third_party/android_deps/BUILD.gn
@@ -82,7 +82,7 @@ android_aar_prebuilt("com_github_bumptech_disklrucache_java") {
}
android_aar_prebuilt("com_google_android_play_core_java") {
- aar_path = "libs/com_google_android_play_core/core-1.10.0.aar"
+ aar_path = "libs/com_google_android_play_core/core-1.10.3.aar"
info_path =
"libs/com_google_android_play_core/com_google_android_play_core.info"
}
diff --git a/third_party/android_deps/libs/com_google_android_play_core/com_google_android_play_core.info b/third_party/android_deps/libs/com_google_android_play_core/com_google_android_play_core.info
index 1015a5c4da26..c1114e357e28 100644
--- a/third_party/android_deps/libs/com_google_android_play_core/com_google_android_play_core.info
+++ b/third_party/android_deps/libs/com_google_android_play_core/com_google_android_play_core.info
@@ -6,11 +6,11 @@ assets = []
has_classes_jar = true
has_native_libraries = false
has_proguard_flags = true
-has_r_text_file = false
+has_r_text_file = true
is_manifest_empty = false
manifest_package = "com.google.android.play.core.client"
resources = [
- "res/values/styles.xml"
+ "res/values/values.xml"
]
subjar_tuples = []
subjars = []
diff --git a/third_party/blink/renderer/core/brave_page_graph/page_graph.cc b/third_party/blink/renderer/core/brave_page_graph/page_graph.cc
index c2e84d89b00d..864ccd61e127 100644
--- a/third_party/blink/renderer/core/brave_page_graph/page_graph.cc
+++ b/third_party/blink/renderer/core/brave_page_graph/page_graph.cc
@@ -595,8 +595,7 @@ void PageGraph::DidFinishLoading(uint64_t identifier,
blink::DocumentLoader*,
base::TimeTicks finish_time,
int64_t encoded_data_length,
- int64_t decoded_body_length,
- bool should_report_corb_blocking) {
+ int64_t decoded_body_length) {
if (TrackedRequestRecord* request_record =
request_tracker_.GetTrackingRecord(identifier)) {
RegisterRequestComplete(identifier, encoded_data_length);
diff --git a/third_party/blink/renderer/core/brave_page_graph/page_graph.h b/third_party/blink/renderer/core/brave_page_graph/page_graph.h
index aef4283851bf..c536973034d5 100644
--- a/third_party/blink/renderer/core/brave_page_graph/page_graph.h
+++ b/third_party/blink/renderer/core/brave_page_graph/page_graph.h
@@ -164,8 +164,7 @@ class CORE_EXPORT PageGraph : public GarbageCollected,
blink::DocumentLoader* loader,
base::TimeTicks finish_time,
int64_t encoded_data_length,
- int64_t decoded_body_length,
- bool should_report_corb_blocking);
+ int64_t decoded_body_length);
void DidFailLoading(
blink::CoreProbeSink* sink,
uint64_t identifier,
diff --git a/third_party/rust/adblock/v0_7/BUILD.gn b/third_party/rust/adblock/v0_7/BUILD.gn
index a4b7ef605dad..b753bc63b22b 100644
--- a/third_party/rust/adblock/v0_7/BUILD.gn
+++ b/third_party/rust/adblock/v0_7/BUILD.gn
@@ -9,10 +9,43 @@ cargo_crate("lib") {
epoch = "0.7"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/adblock/v0_7/crate/benches/bench_cosmetic_matching.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/benches/bench_matching.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/benches/bench_redirect_performance.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/benches/bench_regex.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/benches/bench_rules.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/benches/bench_url.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/blocker.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/content_blocking.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/cosmetic_filter_cache.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/data_format/legacy.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/data_format/mod.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/data_format/utils.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/data_format/v0.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/engine.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/filters/cosmetic.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/filters/mod.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/filters/network.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/lib.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/lists.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/optimizer.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/regex_manager.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/request.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/resources/mod.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/resources/resource_assembler.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/resources/scriptlet_resource_storage.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/serialization.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/url_parser/mod.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/url_parser/parser.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/url_parser/parser_full.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/url_parser/parser_regex.rs",
+ "//brave/third_party/rust/adblock/v0_7/crate/src/utils.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/adblock/v0_7/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.7.17"
cargo_pkg_authors =
diff --git a/third_party/rust/addchain/v0_2/BUILD.gn b/third_party/rust/addchain/v0_2/BUILD.gn
index 76a91a12f908..7695761abc82 100644
--- a/third_party/rust/addchain/v0_2/BUILD.gn
+++ b/third_party/rust/addchain/v0_2/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/addchain/v0_2/crate/src/bbbd.rs",
+ "//brave/third_party/rust/addchain/v0_2/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/addchain/v0_2/crate/CHANGELOG.md",
+ "//brave/third_party/rust/addchain/v0_2/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.2.0"
cargo_pkg_authors = "Jack Grigg "
@@ -27,7 +34,7 @@ cargo_crate("lib") {
executable_configs -= [ "//build/config/compiler:chromium_code" ]
executable_configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
- "//brave/third_party/rust/num_bigint/v0_4:lib",
+ "//brave/third_party/rust/num_bigint/v0_3:lib",
"//brave/third_party/rust/num_integer/v0_1:lib",
"//brave/third_party/rust/num_traits/v0_2:lib",
]
diff --git a/third_party/rust/adler/v1/BUILD.gn b/third_party/rust/adler/v1/BUILD.gn
index 000bf9542e0a..eb290f0645cb 100644
--- a/third_party/rust/adler/v1/BUILD.gn
+++ b/third_party/rust/adler/v1/BUILD.gn
@@ -13,10 +13,19 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/adler/v1/crate/benches/bench.rs",
+ "//brave/third_party/rust/adler/v1/crate/src/algo.rs",
+ "//brave/third_party/rust/adler/v1/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/adler/v1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/adler/v1/crate/README.md",
+ "//brave/third_party/rust/adler/v1/crate/RELEASE_PROCESS.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "1.0.2"
cargo_pkg_authors = "Jonas Schievink "
diff --git a/third_party/rust/adss_rs/v0_2/BUILD.gn b/third_party/rust/adss_rs/v0_2/BUILD.gn
index a1da8532d797..da391f55dc13 100644
--- a/third_party/rust/adss_rs/v0_2/BUILD.gn
+++ b/third_party/rust/adss_rs/v0_2/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/adss_rs/v0_2/crate/src/lib.rs" ]
+ inputs = [
+ "//brave/third_party/rust/adss_rs/v0_2/crate/README.md",
+ "//brave/third_party/rust/adss_rs/v0_2/crate/SECURITY.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.2.0"
cargo_pkg_authors = "eV "
diff --git a/third_party/rust/ahash/v0_7/BUILD.gn b/third_party/rust/ahash/v0_7/BUILD.gn
index 5fc47648217e..3c094763e769 100644
--- a/third_party/rust/ahash/v0_7/BUILD.gn
+++ b/third_party/rust/ahash/v0_7/BUILD.gn
@@ -13,10 +13,29 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/ahash/v0_7/crate/build.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/aes_hash.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/convert.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/fallback_hash.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/hash_map.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/hash_quality_test.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/hash_set.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/lib.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/operations.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/random_state.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/src/specialize.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/tests/bench.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/tests/map_tests.rs",
+ "//brave/third_party/rust/ahash/v0_7/crate/tests/nopanic.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/ahash/v0_7/crate/FAQ.md",
+ "//brave/third_party/rust/ahash/v0_7/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.7.6"
cargo_pkg_authors = "Tom Kaitchuck "
diff --git a/third_party/rust/android_system_properties/v0_1/BUILD.gn b/third_party/rust/android_system_properties/v0_1/BUILD.gn
index 7437a7e5e93e..0fc8d67d4eb2 100644
--- a/third_party/rust/android_system_properties/v0_1/BUILD.gn
+++ b/third_party/rust/android_system_properties/v0_1/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/android_system_properties/v0_1/crate/examples/time_zone.rs",
+ "//brave/third_party/rust/android_system_properties/v0_1/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/android_system_properties/v0_1/crate/CONTRIBUTING.md",
+ "//brave/third_party/rust/android_system_properties/v0_1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.5"
cargo_pkg_authors = "Nicolas Silva "
diff --git a/third_party/rust/ansi_term/v0_12/BUILD.gn b/third_party/rust/ansi_term/v0_12/BUILD.gn
index c16cca61c50e..072937adcd31 100644
--- a/third_party/rust/ansi_term/v0_12/BUILD.gn
+++ b/third_party/rust/ansi_term/v0_12/BUILD.gn
@@ -13,10 +13,24 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/ansi_term/v0_12/crate/examples/256_colours.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/examples/basic_colours.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/examples/rgb_colours.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/ansi.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/debug.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/difference.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/display.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/lib.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/style.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/util.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/windows.rs",
+ "//brave/third_party/rust/ansi_term/v0_12/crate/src/write.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/ansi_term/v0_12/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.12.1"
cargo_pkg_authors = "ogham@bsago.me, Ryan Scheel (Havvy) , Josh Triplett "
diff --git a/third_party/rust/arrayref/v0_3/BUILD.gn b/third_party/rust/arrayref/v0_3/BUILD.gn
index 2b96536c5bb9..2e7c03f0ede5 100644
--- a/third_party/rust/arrayref/v0_3/BUILD.gn
+++ b/third_party/rust/arrayref/v0_3/BUILD.gn
@@ -13,10 +13,16 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/arrayref/v0_3/crate/examples/array_refs.rs",
+ "//brave/third_party/rust/arrayref/v0_3/crate/examples/array_refs_with_const.rs",
+ "//brave/third_party/rust/arrayref/v0_3/crate/examples/simple-case.rs",
+ "//brave/third_party/rust/arrayref/v0_3/crate/src/lib.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/arrayref/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.3.7"
cargo_pkg_authors = "David Roundy "
diff --git a/third_party/rust/arrayvec/v0_7/BUILD.gn b/third_party/rust/arrayvec/v0_7/BUILD.gn
index bf7906c0b92d..8a32bc378e38 100644
--- a/third_party/rust/arrayvec/v0_7/BUILD.gn
+++ b/third_party/rust/arrayvec/v0_7/BUILD.gn
@@ -13,10 +13,26 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/arrayvec/v0_7/crate/benches/arraystring.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/benches/extend.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/src/array_string.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/src/arrayvec.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/src/arrayvec_impl.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/src/char.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/src/errors.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/src/lib.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/src/utils.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/tests/serde.rs",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/tests/tests.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/arrayvec/v0_7/crate/CHANGELOG.md",
+ "//brave/third_party/rust/arrayvec/v0_7/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.7.2"
cargo_pkg_authors = "bluss"
diff --git a/third_party/rust/async_trait/v0_1/BUILD.gn b/third_party/rust/async_trait/v0_1/BUILD.gn
index 3fd08f3fa939..898ed2a8e5c5 100644
--- a/third_party/rust/async_trait/v0_1/BUILD.gn
+++ b/third_party/rust/async_trait/v0_1/BUILD.gn
@@ -9,10 +9,37 @@ cargo_crate("lib") {
epoch = "0.1"
crate_type = "proc-macro"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/async_trait/v0_1/crate/build.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/src/args.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/src/bound.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/src/expand.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/src/lifetime.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/src/parse.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/src/receiver.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/compiletest.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/executor/mod.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/test.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/arg-implementation-detail.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/bare-trait-object.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/consider-restricting.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/delimiter-span.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/lifetime-defined-here.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/lifetime-span.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/missing-async-in-impl.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/missing-async-in-trait.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/missing-body.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/must-use.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/self-span.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/send-not-implemented.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/unreachable.rs",
+ "//brave/third_party/rust/async_trait/v0_1/crate/tests/ui/unsupported-self.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/async_trait/v0_1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.64"
cargo_pkg_authors = "David Tolnay "
diff --git a/third_party/rust/base_x/v0_2/BUILD.gn b/third_party/rust/base_x/v0_2/BUILD.gn
index fc5616ef95b2..584908fbed27 100644
--- a/third_party/rust/base_x/v0_2/BUILD.gn
+++ b/third_party/rust/base_x/v0_2/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/base_x/v0_2/crate/benches/base.rs",
+ "//brave/third_party/rust/base_x/v0_2/crate/src/alphabet.rs",
+ "//brave/third_party/rust/base_x/v0_2/crate/src/bigint.rs",
+ "//brave/third_party/rust/base_x/v0_2/crate/src/decoder.rs",
+ "//brave/third_party/rust/base_x/v0_2/crate/src/encoder.rs",
+ "//brave/third_party/rust/base_x/v0_2/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/base_x/v0_2/crate/LICENSE.md",
+ "//brave/third_party/rust/base_x/v0_2/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.2.11"
cargo_pkg_authors = "Alex R. "
diff --git a/third_party/rust/bigdecimal/v0_1/BUILD.gn b/third_party/rust/bigdecimal/v0_1/BUILD.gn
index a910fb621017..0bfb72d11d66 100644
--- a/third_party/rust/bigdecimal/v0_1/BUILD.gn
+++ b/third_party/rust/bigdecimal/v0_1/BUILD.gn
@@ -9,10 +9,16 @@ cargo_crate("lib") {
epoch = "0.1"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/bigdecimal/v0_1/crate/examples/floating-precision.rs",
+ "//brave/third_party/rust/bigdecimal/v0_1/crate/examples/repeated_squares.rs",
+ "//brave/third_party/rust/bigdecimal/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/bigdecimal/v0_1/crate/src/macros.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.1.2"
cargo_pkg_authors = "Andrew Kubera"
diff --git a/third_party/rust/bincode/v1/BUILD.gn b/third_party/rust/bincode/v1/BUILD.gn
index 6e8223c01eb3..1237cbf48590 100644
--- a/third_party/rust/bincode/v1/BUILD.gn
+++ b/third_party/rust/bincode/v1/BUILD.gn
@@ -13,10 +13,29 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/bincode/v1/crate/src/byteorder.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/config/endian.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/config/int.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/config/legacy.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/config/limit.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/config/mod.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/config/trailing.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/de/mod.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/de/read.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/error.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/internal.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/bincode/v1/crate/src/ser/mod.rs",
+ "//brave/third_party/rust/bincode/v1/crate/tests/test.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/bincode/v1/crate/LICENSE.md",
+ "//brave/third_party/rust/bincode/v1/crate/readme.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "1.3.3"
cargo_pkg_authors = "Ty Overby , Francesco Mazzoli , David Tolnay , Zoey Riordan "
diff --git a/third_party/rust/bitvec/v1/BUILD.gn b/third_party/rust/bitvec/v1/BUILD.gn
index 473b92ad5c8b..272839c1b7d6 100644
--- a/third_party/rust/bitvec/v1/BUILD.gn
+++ b/third_party/rust/bitvec/v1/BUILD.gn
@@ -8,11 +8,251 @@ cargo_crate("lib") {
crate_name = "bitvec"
epoch = "1"
crate_type = "rlib"
+
+ # Only for usage from third-party crates. Add the crate to
+ # third_party.toml to use it from first-party code.
+ visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/bitvec/v1/crate/benches/eq.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/benches/iter.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/benches/macros.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/benches/memcpy.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/benches/mut_access.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/benches/slice.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/access.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/array.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/array/api.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/array/iter.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/array/ops.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/array/tests.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/array/traits.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/boxed.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/boxed/api.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/boxed/iter.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/boxed/ops.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/boxed/tests.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/boxed/traits.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/devel.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/domain.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/field.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/field/io.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/field/tests.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/index.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/macros.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/macros/internal.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/macros/tests.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/mem.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/order.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/ptr.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/ptr/addr.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/ptr/proxy.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/ptr/range.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/ptr/single.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/ptr/span.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/ptr/tests.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/serdes.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/serdes/array.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/serdes/slice.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/serdes/utils.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/api.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/iter.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/ops.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/specialization.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/specialization/lsb0.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/specialization/msb0.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/tests.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/tests/api.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/tests/iter.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/tests/ops.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/tests/traits.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/slice/traits.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/store.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/api.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/iter.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/ops.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/tests.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/tests/api.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/tests/iter.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/tests/traits.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/vec/traits.rs",
+ "//brave/third_party/rust/bitvec/v1/crate/src/view.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/bitvec/v1/crate/README.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/README.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/access/BitAccess.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/access/BitSafe.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/access/impl_BitSafe.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/access.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/array/BitArray.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/array/IntoIter.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/array/TryFromBitSliceError.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/array/api.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/array/iter.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/array.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/boxed/BitBox.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/boxed/iter.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/boxed.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/domain/BitDomain.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/domain/Domain.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/domain/PartialElement.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/domain.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Lsb0.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Lsb0_load_be.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Lsb0_load_le.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Lsb0_store_be.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Lsb0_store_le.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Msb0.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Msb0_load_be.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Msb0_load_le.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Msb0_store_be.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_Msb0_store_le.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_load.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_load_be.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_load_le.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_store.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_store_be.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/BitField_store_le.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/get.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/impl_BitArray.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/io/Read_BitSlice.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/io/Read_BitVec.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/io/Write_BitSlice.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/io/Write_BitVec.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/io.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/resize.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/set.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field/sign.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/field.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/index/BitEnd.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/index/BitIdx.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/index/BitIdxError.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/index/BitMask.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/index/BitPos.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/index/BitSel.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/index.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/BitArr_type.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/bitarr_value.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/bitbox.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/bits.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/bitvec.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/encode_bits.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/internal.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros/make_elem.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/macros.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/mem/BitElement.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/mem/BitRegister.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/mem/elts.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/mem.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/order/BitOrder.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/order/LocalBits.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/order/Lsb0.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/order/Msb0.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/order/verify.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/order/verify_for_type.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/order.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/prelude.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/BitPtr.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/BitPtrRange.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/BitRef.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/BitSpan.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/addr.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/bitslice_from_raw_parts.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/bitslice_from_raw_parts_mut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/copy.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/copy_nonoverlapping.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/drop_in_place.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/eq.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/hash.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/null.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/null_mut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/proxy.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/range.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/read.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/read_unaligned.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/read_volatile.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/replace.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/single.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/slice_from_raw_parts.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/slice_from_raw_parts_mut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/span.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/swap.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/swap_nonoverlapping.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/write.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/write_bits.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/write_bytes.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/write_unaligned.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr/write_volatile.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/ptr.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/serdes/array.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/serdes/slice.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/serdes/utils.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/serdes.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/BitSlice.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/BitSliceIndex.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/api.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/bitop_assign.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/format.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/from_raw_parts.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/from_raw_parts_mut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/from_raw_parts_unchecked.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/from_raw_parts_unchecked_mut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/Chunks.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/ChunksExact.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/ChunksExactMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/ChunksMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/Iter.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/IterMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/IterOnes.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/IterZeros.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/NoAlias.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RChunks.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RChunksExact.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RChunksExactMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RChunksMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RSplit.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RSplitMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RSplitN.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/RSplitNMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/Split.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/SplitInclusive.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/SplitInclusiveMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/SplitMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/SplitN.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/SplitNMut.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter/Windows.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/iter.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/ops.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/specialization.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/threadsafe.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice/traits.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/slice.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/store/BitStore.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/store.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/BitVec.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/Drain.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/Extend_BitRef.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/Extend_bool.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/FillStatus.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/FromIterator_BitRef.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/FromIterator_bool.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/IntoIterator.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter/Splice.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec/iter.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/vec.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/view/AsBits.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/view/AsMutBits.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/view/BitView.md",
+ "//brave/third_party/rust/bitvec/v1/crate/doc/view.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "1.0.1"
cargo_pkg_name = "bitvec"
diff --git a/third_party/rust/blake2b_simd/v1/BUILD.gn b/third_party/rust/blake2b_simd/v1/BUILD.gn
index 8a649e3e56bb..de408bc26be7 100644
--- a/third_party/rust/blake2b_simd/v1/BUILD.gn
+++ b/third_party/rust/blake2b_simd/v1/BUILD.gn
@@ -9,10 +9,20 @@ cargo_crate("lib") {
epoch = "1"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/avx2.rs",
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/blake2bp.rs",
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/guts.rs",
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/many.rs",
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/portable.rs",
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/sse41.rs",
+ "//brave/third_party/rust/blake2b_simd/v1/crate/src/test.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/blake2b_simd/v1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "1.0.1"
cargo_pkg_authors = "Jack O'Connor"
diff --git a/third_party/rust/block_buffer/v0_10/BUILD.gn b/third_party/rust/block_buffer/v0_10/BUILD.gn
index c69d65be0a22..e54ea81b79ea 100644
--- a/third_party/rust/block_buffer/v0_10/BUILD.gn
+++ b/third_party/rust/block_buffer/v0_10/BUILD.gn
@@ -13,10 +13,18 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/block_buffer/v0_10/crate/src/lib.rs",
+ "//brave/third_party/rust/block_buffer/v0_10/crate/src/sealed.rs",
+ "//brave/third_party/rust/block_buffer/v0_10/crate/tests/mod.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/block_buffer/v0_10/crate/CHANGELOG.md",
+ "//brave/third_party/rust/block_buffer/v0_10/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.10.4"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/block_buffer/v0_9/BUILD.gn b/third_party/rust/block_buffer/v0_9/BUILD.gn
index d78852dacd09..3dcdd0fcbcbe 100644
--- a/third_party/rust/block_buffer/v0_9/BUILD.gn
+++ b/third_party/rust/block_buffer/v0_9/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/block_buffer/v0_9/crate/src/lib.rs" ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.9.0"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/bls12_381/v0_7/BUILD.gn b/third_party/rust/bls12_381/v0_7/BUILD.gn
index d431fac4d533..53d103e430fe 100644
--- a/third_party/rust/bls12_381/v0_7/BUILD.gn
+++ b/third_party/rust/bls12_381/v0_7/BUILD.gn
@@ -13,10 +13,36 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/bls12_381/v0_7/crate/benches/groups.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/benches/hash_to_curve.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/fp.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/fp12.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/fp2.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/fp6.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/g1.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/g2.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/hash_to_curve/chain.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/hash_to_curve/expand_msg.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/hash_to_curve/map_g1.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/hash_to_curve/map_g2.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/hash_to_curve/map_scalar.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/hash_to_curve/mod.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/lib.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/notes/design.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/notes/serialization.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/pairings.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/scalar.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/tests/mod.rs",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/src/util.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/bls12_381/v0_7/crate/README.md",
+ "//brave/third_party/rust/bls12_381/v0_7/crate/RELEASES.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.7.0"
cargo_pkg_authors =
diff --git a/third_party/rust/bls_signatures/v0_12/BUILD.gn b/third_party/rust/bls_signatures/v0_12/BUILD.gn
index 67ad559e2b0c..21001fe8c413 100644
--- a/third_party/rust/bls_signatures/v0_12/BUILD.gn
+++ b/third_party/rust/bls_signatures/v0_12/BUILD.gn
@@ -9,10 +9,20 @@ cargo_crate("lib") {
epoch = "0.12"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/benches/serialize.rs",
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/benches/sign.rs",
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/benches/verify.rs",
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/examples/verify.rs",
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/src/error.rs",
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/src/key.rs",
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/src/lib.rs",
+ "//brave/third_party/rust/bls_signatures/v0_12/crate/src/signature.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/bls_signatures/v0_12/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.12.0"
cargo_pkg_authors = "dignifiedquire "
diff --git a/third_party/rust/byteorder/v1/BUILD.gn b/third_party/rust/byteorder/v1/BUILD.gn
index 2b4929d1d873..348123134c0a 100644
--- a/third_party/rust/byteorder/v1/BUILD.gn
+++ b/third_party/rust/byteorder/v1/BUILD.gn
@@ -8,11 +8,23 @@ cargo_crate("lib") {
crate_name = "byteorder"
epoch = "1"
crate_type = "rlib"
+
+ # Only for usage from third-party crates. Add the crate to
+ # third_party.toml to use it from first-party code.
+ visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/byteorder/v1/crate/benches/bench.rs",
+ "//brave/third_party/rust/byteorder/v1/crate/src/io.rs",
+ "//brave/third_party/rust/byteorder/v1/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/byteorder/v1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/byteorder/v1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "1.4.3"
cargo_pkg_authors = "Andrew Gallant "
diff --git a/third_party/rust/bytes/v0_4/BUILD.gn b/third_party/rust/bytes/v0_4/BUILD.gn
index b217dbe5f99a..40bad8bbe0c7 100644
--- a/third_party/rust/bytes/v0_4/BUILD.gn
+++ b/third_party/rust/bytes/v0_4/BUILD.gn
@@ -13,10 +13,42 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/bytes/v0_4/crate/benches/bytes.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/buf.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/buf_mut.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/chain.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/from_buf.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/into_buf.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/iter.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/mod.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/reader.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/take.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/vec_deque.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/buf/writer.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/bytes.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/debug.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/either.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/lib.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/src/serde.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_buf.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_buf_mut.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_bytes.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_chain.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_debug.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_from_buf.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_iter.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_reader.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_serde.rs",
+ "//brave/third_party/rust/bytes/v0_4/crate/tests/test_take.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/bytes/v0_4/crate/CHANGELOG.md",
+ "//brave/third_party/rust/bytes/v0_4/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.4.12"
cargo_pkg_authors = "Carl Lerche "
diff --git a/third_party/rust/cbor4ii/v0_2/BUILD.gn b/third_party/rust/cbor4ii/v0_2/BUILD.gn
index cc17bdfec468..7243250d8c7f 100644
--- a/third_party/rust/cbor4ii/v0_2/BUILD.gn
+++ b/third_party/rust/cbor4ii/v0_2/BUILD.gn
@@ -13,10 +13,28 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/benches/bench_de.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/benches/bench_ser.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/core.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/core/dec.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/core/enc.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/core/types.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/core/utils.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/error.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/lib.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/serde.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/serde/de.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/serde/ser.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/src/util.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/tests/decode.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/tests/serde.rs",
+ "//brave/third_party/rust/cbor4ii/v0_2/crate/tests/serde_cbor.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/cbor4ii/v0_2/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.2.14"
cargo_pkg_authors = "quininer "
diff --git a/third_party/rust/challenge_bypass_ristretto/v1/BUILD.gn b/third_party/rust/challenge_bypass_ristretto/v1/BUILD.gn
index 83a8aad945bd..16a57291a505 100644
--- a/third_party/rust/challenge_bypass_ristretto/v1/BUILD.gn
+++ b/third_party/rust/challenge_bypass_ristretto/v1/BUILD.gn
@@ -9,10 +9,24 @@ cargo_crate("lib") {
epoch = "1"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/benches/benchmarks.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/src/dleq.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/src/dleq_merlin.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/src/errors.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/src/macros.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/src/oprf.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/src/voprf.rs",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/tests/e2e.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/README.md",
+ "//brave/third_party/rust/challenge_bypass_ristretto/v1/crate/docs/PROTOCOL.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "1.0.1"
cargo_pkg_authors = "eV "
diff --git a/third_party/rust/chrono/v0_4/BUILD.gn b/third_party/rust/chrono/v0_4/BUILD.gn
index 71244d5b0608..85467cf3ac8c 100644
--- a/third_party/rust/chrono/v0_4/BUILD.gn
+++ b/third_party/rust/chrono/v0_4/BUILD.gn
@@ -9,10 +9,60 @@ cargo_crate("lib") {
epoch = "0.4"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/chrono/v0_4/crate/benches/chrono.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/benches/serde.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/date.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/datetime/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/datetime/rustc_serialize.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/datetime/serde.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/datetime/tests.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/format/locales.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/format/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/format/parse.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/format/parsed.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/format/scan.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/format/strftime.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/lib.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/month.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/date.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/datetime/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/datetime/rustc_serialize.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/datetime/serde.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/datetime/tests.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/internals.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/isoweek.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/time/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/time/rustc_serialize.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/time/serde.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/naive/time/tests.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/fixed.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/stub.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/tz_info/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/tz_info/parser.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/tz_info/rule.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/tz_info/timezone.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/unix.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/local/windows.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/mod.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/offset/utc.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/oldtime.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/round.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/traits.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/src/weekday.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/tests/dateutils.rs",
+ "//brave/third_party/rust/chrono/v0_4/crate/tests/wasm.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/chrono/v0_4/crate/.github/pull_request_template.md",
+ "//brave/third_party/rust/chrono/v0_4/crate/CHANGELOG.md",
+ "//brave/third_party/rust/chrono/v0_4/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.4.24"
cargo_pkg_name = "chrono"
diff --git a/third_party/rust/cid/v0_8/BUILD.gn b/third_party/rust/cid/v0_8/BUILD.gn
index 2303660cc315..793cd1fe103d 100644
--- a/third_party/rust/cid/v0_8/BUILD.gn
+++ b/third_party/rust/cid/v0_8/BUILD.gn
@@ -13,10 +13,20 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/cid/v0_8/crate/examples/readme.rs",
+ "//brave/third_party/rust/cid/v0_8/crate/src/arb.rs",
+ "//brave/third_party/rust/cid/v0_8/crate/src/cid.rs",
+ "//brave/third_party/rust/cid/v0_8/crate/src/error.rs",
+ "//brave/third_party/rust/cid/v0_8/crate/src/lib.rs",
+ "//brave/third_party/rust/cid/v0_8/crate/src/serde.rs",
+ "//brave/third_party/rust/cid/v0_8/crate/src/version.rs",
+ "//brave/third_party/rust/cid/v0_8/crate/tests/lib.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/cid/v0_8/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.8.6"
cargo_pkg_authors = "Friedel Ziegelmayer "
diff --git a/third_party/rust/constant_time_eq/v0_2/BUILD.gn b/third_party/rust/constant_time_eq/v0_2/BUILD.gn
index e5d781d8ce83..a061815a9aa8 100644
--- a/third_party/rust/constant_time_eq/v0_2/BUILD.gn
+++ b/third_party/rust/constant_time_eq/v0_2/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/constant_time_eq/v0_2/crate/benches/bench.rs",
+ "//brave/third_party/rust/constant_time_eq/v0_2/crate/src/lib.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.2.5"
cargo_pkg_authors = "Cesar Eduardo Barros "
diff --git a/third_party/rust/convert_case/v0_4/BUILD.gn b/third_party/rust/convert_case/v0_4/BUILD.gn
index 48c086ef1a4a..78442885581a 100644
--- a/third_party/rust/convert_case/v0_4/BUILD.gn
+++ b/third_party/rust/convert_case/v0_4/BUILD.gn
@@ -13,10 +13,15 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/convert_case/v0_4/crate/src/case.rs",
+ "//brave/third_party/rust/convert_case/v0_4/crate/src/lib.rs",
+ "//brave/third_party/rust/convert_case/v0_4/crate/src/words.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/convert_case/v0_4/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.4.0"
cargo_pkg_authors = "David Purdum "
diff --git a/third_party/rust/core2/v0_4/BUILD.gn b/third_party/rust/core2/v0_4/BUILD.gn
index 0cec43a55029..668c7b0bc305 100644
--- a/third_party/rust/core2/v0_4/BUILD.gn
+++ b/third_party/rust/core2/v0_4/BUILD.gn
@@ -13,10 +13,22 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/core2/v0_4/crate/src/error.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/io/buffered.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/io/cursor.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/io/error.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/io/impls.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/io/mod.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/io/traits.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/io/util.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/src/lib.rs",
+ "//brave/third_party/rust/core2/v0_4/crate/tests/tests.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/core2/v0_4/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.4.0"
cargo_pkg_authors = "Brendan Molloy "
diff --git a/third_party/rust/core_foundation_sys/v0_8/BUILD.gn b/third_party/rust/core_foundation_sys/v0_8/BUILD.gn
index d10b46ceb58a..171c78f7468a 100644
--- a/third_party/rust/core_foundation_sys/v0_8/BUILD.gn
+++ b/third_party/rust/core_foundation_sys/v0_8/BUILD.gn
@@ -13,10 +13,34 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/build.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/array.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/attributed_string.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/base.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/bundle.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/characterset.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/data.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/date.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/dictionary.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/error.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/filedescriptor.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/lib.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/mach_port.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/messageport.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/number.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/propertylist.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/runloop.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/set.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/string.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/timezone.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/url.rs",
+ "//brave/third_party/rust/core_foundation_sys/v0_8/crate/src/uuid.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.8.3"
cargo_pkg_authors = "The Servo Project Developers"
diff --git a/third_party/rust/cpufeatures/v0_2/BUILD.gn b/third_party/rust/cpufeatures/v0_2/BUILD.gn
index 8000154235c0..7739e15fb023 100644
--- a/third_party/rust/cpufeatures/v0_2/BUILD.gn
+++ b/third_party/rust/cpufeatures/v0_2/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/src/aarch64.rs",
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/src/lib.rs",
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/src/miri.rs",
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/src/x86.rs",
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/tests/aarch64.rs",
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/tests/x86.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/CHANGELOG.md",
+ "//brave/third_party/rust/cpufeatures/v0_2/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.2.5"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/crc32fast/v1/BUILD.gn b/third_party/rust/crc32fast/v1/BUILD.gn
index 6b8fffcffbcc..fbf77829edd0 100644
--- a/third_party/rust/crc32fast/v1/BUILD.gn
+++ b/third_party/rust/crc32fast/v1/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/crc32fast/v1/crate/benches/bench.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/build.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/src/baseline.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/src/combine.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/src/specialized/aarch64.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/src/specialized/mod.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/src/specialized/pclmulqdq.rs",
+ "//brave/third_party/rust/crc32fast/v1/crate/src/table.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/crc32fast/v1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "1.3.2"
cargo_pkg_authors =
diff --git a/third_party/rust/crunchy/v0_2/BUILD.gn b/third_party/rust/crunchy/v0_2/BUILD.gn
index 784b0cf18047..2a8378174b7d 100644
--- a/third_party/rust/crunchy/v0_2/BUILD.gn
+++ b/third_party/rust/crunchy/v0_2/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/crunchy/v0_2/crate/build.rs",
+ "//brave/third_party/rust/crunchy/v0_2/crate/src/lib.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/crunchy/v0_2/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.2.2"
cargo_pkg_authors = "Vurich "
diff --git a/third_party/rust/crypto_common/v0_1/BUILD.gn b/third_party/rust/crypto_common/v0_1/BUILD.gn
index 0820a5250a88..667cead72c8e 100644
--- a/third_party/rust/crypto_common/v0_1/BUILD.gn
+++ b/third_party/rust/crypto_common/v0_1/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/crypto_common/v0_1/crate/src/lib.rs" ]
+ inputs = [
+ "//brave/third_party/rust/crypto_common/v0_1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/crypto_common/v0_1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.6"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/crypto_mac/v0_10/BUILD.gn b/third_party/rust/crypto_mac/v0_10/BUILD.gn
index ec3436425412..9abc8aa115f1 100644
--- a/third_party/rust/crypto_mac/v0_10/BUILD.gn
+++ b/third_party/rust/crypto_mac/v0_10/BUILD.gn
@@ -13,10 +13,18 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/crypto_mac/v0_10/crate/src/dev.rs",
+ "//brave/third_party/rust/crypto_mac/v0_10/crate/src/errors.rs",
+ "//brave/third_party/rust/crypto_mac/v0_10/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/crypto_mac/v0_10/crate/CHANGELOG.md",
+ "//brave/third_party/rust/crypto_mac/v0_10/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.10.1"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/crypto_mac/v0_11/BUILD.gn b/third_party/rust/crypto_mac/v0_11/BUILD.gn
index 24879560048b..38ff30beb912 100644
--- a/third_party/rust/crypto_mac/v0_11/BUILD.gn
+++ b/third_party/rust/crypto_mac/v0_11/BUILD.gn
@@ -13,10 +13,18 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/crypto_mac/v0_11/crate/src/dev.rs",
+ "//brave/third_party/rust/crypto_mac/v0_11/crate/src/errors.rs",
+ "//brave/third_party/rust/crypto_mac/v0_11/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/crypto_mac/v0_11/crate/CHANGELOG.md",
+ "//brave/third_party/rust/crypto_mac/v0_11/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.11.1"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/crypto_mac/v0_8/BUILD.gn b/third_party/rust/crypto_mac/v0_8/BUILD.gn
index 50e3f4ce4e37..87fad458d28c 100644
--- a/third_party/rust/crypto_mac/v0_8/BUILD.gn
+++ b/third_party/rust/crypto_mac/v0_8/BUILD.gn
@@ -13,10 +13,18 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/crypto_mac/v0_8/crate/src/dev.rs",
+ "//brave/third_party/rust/crypto_mac/v0_8/crate/src/errors.rs",
+ "//brave/third_party/rust/crypto_mac/v0_8/crate/src/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/crypto_mac/v0_8/crate/CHANGELOG.md",
+ "//brave/third_party/rust/crypto_mac/v0_8/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.8.0"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/cssparser/v0_27/BUILD.gn b/third_party/rust/cssparser/v0_27/BUILD.gn
index 9ddb5fdc7ec9..8a4b98fe05a6 100644
--- a/third_party/rust/cssparser/v0_27/BUILD.gn
+++ b/third_party/rust/cssparser/v0_27/BUILD.gn
@@ -13,10 +13,27 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/cssparser/v0_27/crate/build.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/build/match_byte.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/color.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/cow_rc_str.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/from_bytes.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/lib.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/macros.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/nth.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/parser.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/rules_and_declarations.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/serializer.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/size_of_tests.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/tests.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/tokenizer.rs",
+ "//brave/third_party/rust/cssparser/v0_27/crate/src/unicode_range.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/cssparser/v0_27/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.27.2"
cargo_pkg_authors = "Simon Sapin "
@@ -40,6 +57,9 @@ cargo_crate("lib") {
"//third_party/rust/syn/v1:lib",
]
build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
+ build_sources = [
+ "crate/build.rs",
+ "crate/build/match_byte.rs",
+ ]
build_script_outputs = [ "tokenizer.rs" ]
}
diff --git a/third_party/rust/cssparser/v0_28/BUILD.gn b/third_party/rust/cssparser/v0_28/BUILD.gn
index 390bb7d593b3..19cefdf56f83 100644
--- a/third_party/rust/cssparser/v0_28/BUILD.gn
+++ b/third_party/rust/cssparser/v0_28/BUILD.gn
@@ -13,10 +13,27 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/cssparser/v0_28/crate/build.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/build/match_byte.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/color.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/cow_rc_str.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/from_bytes.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/lib.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/macros.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/nth.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/parser.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/rules_and_declarations.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/serializer.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/size_of_tests.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/tests.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/tokenizer.rs",
+ "//brave/third_party/rust/cssparser/v0_28/crate/src/unicode_range.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/cssparser/v0_28/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.28.1"
cargo_pkg_authors = "Simon Sapin "
@@ -40,6 +57,9 @@ cargo_crate("lib") {
"//third_party/rust/syn/v1:lib",
]
build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
+ build_sources = [
+ "crate/build.rs",
+ "crate/build/match_byte.rs",
+ ]
build_script_outputs = [ "tokenizer.rs" ]
}
diff --git a/third_party/rust/cssparser_macros/v0_6/BUILD.gn b/third_party/rust/cssparser_macros/v0_6/BUILD.gn
index 19b963e2ee19..8d4980225c75 100644
--- a/third_party/rust/cssparser_macros/v0_6/BUILD.gn
+++ b/third_party/rust/cssparser_macros/v0_6/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/lib.rs"
+ sources = [ "//brave/third_party/rust/cssparser_macros/v0_6/crate/lib.rs" ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.6.0"
cargo_pkg_authors = "Simon Sapin "
diff --git a/third_party/rust/curve25519_dalek/v3/BUILD.gn b/third_party/rust/curve25519_dalek/v3/BUILD.gn
index 59ae3f0223bd..f6cc3f57133e 100644
--- a/third_party/rust/curve25519_dalek/v3/BUILD.gn
+++ b/third_party/rust/curve25519_dalek/v3/BUILD.gn
@@ -9,10 +9,68 @@ cargo_crate("lib") {
epoch = "3"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/benches/dalek_benchmarks.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/curve_models/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/fiat_u32/field.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/fiat_u32/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/fiat_u64/field.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/fiat_u64/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/scalar_mul/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/scalar_mul/pippenger.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/scalar_mul/precomputed_straus.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/scalar_mul/straus.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/scalar_mul/variable_base.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/scalar_mul/vartime_double_base.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u32/constants.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u32/field.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u32/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u32/scalar.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u64/constants.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u64/field.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u64/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/serial/u64/scalar.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/avx2/constants.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/avx2/edwards.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/avx2/field.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/avx2/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/ifma/constants.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/ifma/edwards.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/ifma/field.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/ifma/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/scalar_mul/mod.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/scalar_mul/pippenger.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/scalar_mul/precomputed_straus.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/scalar_mul/straus.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/scalar_mul/variable_base.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/backend/vector/scalar_mul/vartime_double_base.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/constants.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/edwards.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/field.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/lib.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/macros.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/montgomery.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/prelude.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/ristretto.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/scalar.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/traits.rs",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/src/window.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/CHANGELOG.md",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/CODE_OF_CONDUCT.md",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/CONTRIBUTING.md",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/README.md",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/docs/avx2-notes.md",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/docs/ifma-notes.md",
+ "//brave/third_party/rust/curve25519_dalek/v3/crate/docs/parallel-formulas.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "3.2.1"
cargo_pkg_authors = "Isis Lovecruft , Henry de Valence "
diff --git a/third_party/rust/data_encoding/v2/BUILD.gn b/third_party/rust/data_encoding/v2/BUILD.gn
index f646f0e4f977..f98dbcab16b3 100644
--- a/third_party/rust/data_encoding/v2/BUILD.gn
+++ b/third_party/rust/data_encoding/v2/BUILD.gn
@@ -9,10 +9,11 @@ cargo_crate("lib") {
epoch = "2"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/data_encoding/v2/crate/src/lib.rs" ]
+ inputs = [ "//brave/third_party/rust/data_encoding/v2/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "2.3.3"
cargo_pkg_authors = "Julien Cretin "
diff --git a/third_party/rust/data_encoding_macro/v0_1/BUILD.gn b/third_party/rust/data_encoding_macro/v0_1/BUILD.gn
index 6076cd41010d..3bc3182208f1 100644
--- a/third_party/rust/data_encoding_macro/v0_1/BUILD.gn
+++ b/third_party/rust/data_encoding_macro/v0_1/BUILD.gn
@@ -13,10 +13,13 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources =
+ [ "//brave/third_party/rust/data_encoding_macro/v0_1/crate/src/lib.rs" ]
+ inputs =
+ [ "//brave/third_party/rust/data_encoding_macro/v0_1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.12"
cargo_pkg_authors = "Julien Cretin "
diff --git a/third_party/rust/data_encoding_macro_internal/v0_1/BUILD.gn b/third_party/rust/data_encoding_macro_internal/v0_1/BUILD.gn
index 7f2da1686972..48c78144dcfd 100644
--- a/third_party/rust/data_encoding_macro_internal/v0_1/BUILD.gn
+++ b/third_party/rust/data_encoding_macro_internal/v0_1/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/data_encoding_macro_internal/v0_1/crate/src/lib.rs" ]
+ inputs = [ "//brave/third_party/rust/data_encoding_macro_internal/v0_1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.10"
cargo_pkg_authors = "Julien Cretin "
diff --git a/third_party/rust/derivation_path/v0_2/BUILD.gn b/third_party/rust/derivation_path/v0_2/BUILD.gn
index 445d2b6d6fc2..66cf93ba13f0 100644
--- a/third_party/rust/derivation_path/v0_2/BUILD.gn
+++ b/third_party/rust/derivation_path/v0_2/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/derivation_path/v0_2/crate/src/lib.rs" ]
+ inputs = [ "//brave/third_party/rust/derivation_path/v0_2/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.2.0"
cargo_pkg_authors = "Julian Popescu "
diff --git a/third_party/rust/derive_more/v0_99/BUILD.gn b/third_party/rust/derive_more/v0_99/BUILD.gn
index 83aab826c33e..52fda5e39c5f 100644
--- a/third_party/rust/derive_more/v0_99/BUILD.gn
+++ b/third_party/rust/derive_more/v0_99/BUILD.gn
@@ -13,10 +13,78 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/add_assign_like.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/add_helpers.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/add_like.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/as_mut.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/as_ref.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/constructor.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/deref.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/deref_mut.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/display.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/error.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/from.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/from_str.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/index.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/index_mut.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/into.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/into_iterator.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/is_variant.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/lib.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/mul_assign_like.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/mul_helpers.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/mul_like.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/not_like.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/parsing.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/sum_like.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/try_into.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/unwrap.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/src/utils.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/add.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/add_assign.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/as_mut.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/as_ref.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/boats_display_derive.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/constructor.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/deref.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/deref_mut.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/display.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/derives_for_enums_with_source.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/derives_for_generic_enums_with_source.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/derives_for_generic_structs_with_source.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/derives_for_structs_with_source.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/mod.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/nightly/derives_for_enums_with_backtrace.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/nightly/derives_for_generic_enums_with_backtrace.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/nightly/derives_for_generic_structs_with_backtrace.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/nightly/derives_for_structs_with_backtrace.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error/nightly/mod.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/error_tests.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/from.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/from_str.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/generics.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/index.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/index_mut.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/into.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/into_iterator.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/is_variant.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/lib.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/mul.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/mul_assign.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/no_std.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/not.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/sum.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/try_into.rs",
+ "//brave/third_party/rust/derive_more/v0_99/crate/tests/unwrap.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/derive_more/v0_99/crate/CHANGELOG.md",
+ "//brave/third_party/rust/derive_more/v0_99/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.99.17"
cargo_pkg_authors = "Jelte Fennema "
diff --git a/third_party/rust/digest/v0_10/BUILD.gn b/third_party/rust/digest/v0_10/BUILD.gn
index f33fa45324f2..af926dfacc51 100644
--- a/third_party/rust/digest/v0_10/BUILD.gn
+++ b/third_party/rust/digest/v0_10/BUILD.gn
@@ -13,10 +13,29 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/digest/v0_10/crate/src/core_api.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/core_api/ct_variable.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/core_api/rt_variable.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/core_api/wrapper.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/core_api/xof_reader.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/dev.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/dev/fixed.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/dev/mac.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/dev/rng.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/dev/variable.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/dev/xof.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/digest.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/lib.rs",
+ "//brave/third_party/rust/digest/v0_10/crate/src/mac.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/digest/v0_10/crate/CHANGELOG.md",
+ "//brave/third_party/rust/digest/v0_10/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.10.6"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/digest/v0_9/BUILD.gn b/third_party/rust/digest/v0_9/BUILD.gn
index 6e25f839d51a..7cb8cbb033c0 100644
--- a/third_party/rust/digest/v0_9/BUILD.gn
+++ b/third_party/rust/digest/v0_9/BUILD.gn
@@ -13,10 +13,23 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/digest/v0_9/crate/src/dev.rs",
+ "//brave/third_party/rust/digest/v0_9/crate/src/digest.rs",
+ "//brave/third_party/rust/digest/v0_9/crate/src/dyn_digest.rs",
+ "//brave/third_party/rust/digest/v0_9/crate/src/errors.rs",
+ "//brave/third_party/rust/digest/v0_9/crate/src/fixed.rs",
+ "//brave/third_party/rust/digest/v0_9/crate/src/lib.rs",
+ "//brave/third_party/rust/digest/v0_9/crate/src/variable.rs",
+ "//brave/third_party/rust/digest/v0_9/crate/src/xof.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/digest/v0_9/crate/CHANGELOG.md",
+ "//brave/third_party/rust/digest/v0_9/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.9.0"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/dtoa/v0_4/BUILD.gn b/third_party/rust/dtoa/v0_4/BUILD.gn
index 369579432be8..19631aaf104e 100644
--- a/third_party/rust/dtoa/v0_4/BUILD.gn
+++ b/third_party/rust/dtoa/v0_4/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/dtoa/v0_4/crate/benches/bench.rs",
+ "//brave/third_party/rust/dtoa/v0_4/crate/src/diyfp.rs",
+ "//brave/third_party/rust/dtoa/v0_4/crate/src/dtoa.rs",
+ "//brave/third_party/rust/dtoa/v0_4/crate/src/lib.rs",
+ "//brave/third_party/rust/dtoa/v0_4/crate/tests/test.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/dtoa/v0_4/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.4.8"
cargo_pkg_authors = "David Tolnay "
diff --git a/third_party/rust/dtoa_short/v0_3/BUILD.gn b/third_party/rust/dtoa_short/v0_3/BUILD.gn
index 8380edb9a13b..232bf9fd269a 100644
--- a/third_party/rust/dtoa_short/v0_3/BUILD.gn
+++ b/third_party/rust/dtoa_short/v0_3/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/dtoa_short/v0_3/crate/src/lib.rs" ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.3.3"
cargo_pkg_authors = "Xidorn Quan "
diff --git a/third_party/rust/ed25519/v1/BUILD.gn b/third_party/rust/ed25519/v1/BUILD.gn
index b2e364bc69f0..a7f765f23169 100644
--- a/third_party/rust/ed25519/v1/BUILD.gn
+++ b/third_party/rust/ed25519/v1/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/ed25519/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/ed25519/v1/crate/src/pkcs8.rs",
+ "//brave/third_party/rust/ed25519/v1/crate/src/serde.rs",
+ "//brave/third_party/rust/ed25519/v1/crate/tests/hex.rs",
+ "//brave/third_party/rust/ed25519/v1/crate/tests/pkcs8.rs",
+ "//brave/third_party/rust/ed25519/v1/crate/tests/serde.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/ed25519/v1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/ed25519/v1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "1.5.3"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/ed25519_dalek/v1/BUILD.gn b/third_party/rust/ed25519_dalek/v1/BUILD.gn
index c92f00e36039..84970e64e76b 100644
--- a/third_party/rust/ed25519_dalek/v1/BUILD.gn
+++ b/third_party/rust/ed25519_dalek/v1/BUILD.gn
@@ -13,10 +13,22 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/benches/ed25519_benchmarks.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/batch.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/constants.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/errors.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/keypair.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/public.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/secret.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/src/signature.rs",
+ "//brave/third_party/rust/ed25519_dalek/v1/crate/tests/ed25519.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/ed25519_dalek/v1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "1.0.1"
cargo_pkg_authors = "isis lovecruft "
diff --git a/third_party/rust/ed25519_dalek_bip32/v0_2/BUILD.gn b/third_party/rust/ed25519_dalek_bip32/v0_2/BUILD.gn
index 72a364edda8d..1d46308044fb 100644
--- a/third_party/rust/ed25519_dalek_bip32/v0_2/BUILD.gn
+++ b/third_party/rust/ed25519_dalek_bip32/v0_2/BUILD.gn
@@ -9,10 +9,13 @@ cargo_crate("lib") {
epoch = "0.2"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources =
+ [ "//brave/third_party/rust/ed25519_dalek_bip32/v0_2/crate/src/lib.rs" ]
+ inputs =
+ [ "//brave/third_party/rust/ed25519_dalek_bip32/v0_2/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.2.0"
cargo_pkg_authors = "Julian Popescu "
diff --git a/third_party/rust/either/v1/BUILD.gn b/third_party/rust/either/v1/BUILD.gn
index 30f8d9311795..9055b56d6ced 100644
--- a/third_party/rust/either/v1/BUILD.gn
+++ b/third_party/rust/either/v1/BUILD.gn
@@ -13,10 +13,15 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/either/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/either/v1/crate/src/serde_untagged.rs",
+ "//brave/third_party/rust/either/v1/crate/src/serde_untagged_optional.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/either/v1/crate/README-crates.io.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "1.8.1"
cargo_pkg_authors = "bluss"
diff --git a/third_party/rust/encoding_rs/v0_8/BUILD.gn b/third_party/rust/encoding_rs/v0_8/BUILD.gn
index dc0df252d20b..9fd323e48043 100644
--- a/third_party/rust/encoding_rs/v0_8/BUILD.gn
+++ b/third_party/rust/encoding_rs/v0_8/BUILD.gn
@@ -13,10 +13,37 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/ascii.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/big5.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/data.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/euc_jp.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/euc_kr.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/gb18030.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/handles.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/iso_2022_jp.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/lib.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/macros.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/mem.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/replacement.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/shift_jis.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/simd_funcs.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/single_byte.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/test_labels_names.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/testing.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/utf_16.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/utf_8.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/variant.rs",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/src/x_user_defined.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/CONTRIBUTING.md",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/Ideas.md",
+ "//brave/third_party/rust/encoding_rs/v0_8/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.8.32"
cargo_pkg_authors = "Henri Sivonen "
diff --git a/third_party/rust/feed_rs/v1/BUILD.gn b/third_party/rust/feed_rs/v1/BUILD.gn
index e2dd56f6a1f5..757beaae250c 100644
--- a/third_party/rust/feed_rs/v1/BUILD.gn
+++ b/third_party/rust/feed_rs/v1/BUILD.gn
@@ -9,10 +9,33 @@ cargo_crate("lib") {
epoch = "1"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/feed_rs/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/model.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/atom/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/atom/tests.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/fuzz.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/itunes.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/json/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/json/tests.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/mediarss.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/rss0/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/rss0/tests.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/rss1/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/rss1/tests.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/rss2/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/rss2/tests.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/parser/util.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/util/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/util/test.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/xml/mod.rs",
+ "//brave/third_party/rust/feed_rs/v1/crate/src/xml/tests.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/feed_rs/v1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "1.3.0"
cargo_pkg_authors =
diff --git a/third_party/rust/ff/v0_12/BUILD.gn b/third_party/rust/ff/v0_12/BUILD.gn
index 971232bec698..c4bb914af7eb 100644
--- a/third_party/rust/ff/v0_12/BUILD.gn
+++ b/third_party/rust/ff/v0_12/BUILD.gn
@@ -13,10 +13,18 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/ff/v0_12/crate/src/batch.rs",
+ "//brave/third_party/rust/ff/v0_12/crate/src/lib.rs",
+ "//brave/third_party/rust/ff/v0_12/crate/tests/derive.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/ff/v0_12/crate/CHANGELOG.md",
+ "//brave/third_party/rust/ff/v0_12/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.12.1"
cargo_pkg_authors =
diff --git a/third_party/rust/ff/v0_13/BUILD.gn b/third_party/rust/ff/v0_13/BUILD.gn
index b12c7fe0f6a5..b475235a5cc9 100644
--- a/third_party/rust/ff/v0_13/BUILD.gn
+++ b/third_party/rust/ff/v0_13/BUILD.gn
@@ -13,10 +13,19 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/ff/v0_13/crate/src/batch.rs",
+ "//brave/third_party/rust/ff/v0_13/crate/src/helpers.rs",
+ "//brave/third_party/rust/ff/v0_13/crate/src/lib.rs",
+ "//brave/third_party/rust/ff/v0_13/crate/tests/derive.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/ff/v0_13/crate/CHANGELOG.md",
+ "//brave/third_party/rust/ff/v0_13/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.13.0"
cargo_pkg_authors =
diff --git a/third_party/rust/ff_derive/v0_13/BUILD.gn b/third_party/rust/ff_derive/v0_13/BUILD.gn
index e98116fb082a..7b3499675ca8 100644
--- a/third_party/rust/ff_derive/v0_13/BUILD.gn
+++ b/third_party/rust/ff_derive/v0_13/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/ff_derive/v0_13/crate/src/lib.rs",
+ "//brave/third_party/rust/ff_derive/v0_13/crate/src/pow_fixed.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.13.0"
cargo_pkg_authors =
@@ -29,7 +33,7 @@ cargo_crate("lib") {
executable_configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
"//brave/third_party/rust/addchain/v0_2:lib",
- "//brave/third_party/rust/num_bigint/v0_4:lib",
+ "//brave/third_party/rust/num_bigint/v0_3:lib",
"//brave/third_party/rust/num_integer/v0_1:lib",
"//brave/third_party/rust/num_traits/v0_2:lib",
"//third_party/rust/cfg_if/v1:lib",
diff --git a/third_party/rust/fnv/v1/BUILD.gn b/third_party/rust/fnv/v1/BUILD.gn
index 17028c63e174..c20eeef9afde 100644
--- a/third_party/rust/fnv/v1/BUILD.gn
+++ b/third_party/rust/fnv/v1/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/lib.rs"
+ sources = [ "//brave/third_party/rust/fnv/v1/crate/lib.rs" ]
+ inputs = [ "//brave/third_party/rust/fnv/v1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/lib.rs" ]
edition = "2015"
cargo_pkg_version = "1.0.7"
cargo_pkg_authors = "Alex Crichton "
diff --git a/third_party/rust/forest_bigint/v0_1/BUILD.gn b/third_party/rust/forest_bigint/v0_1/BUILD.gn
index 6e6255574916..2f4acb5022cd 100644
--- a/third_party/rust/forest_bigint/v0_1/BUILD.gn
+++ b/third_party/rust/forest_bigint/v0_1/BUILD.gn
@@ -9,10 +9,15 @@ cargo_crate("lib") {
epoch = "0.1"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/forest_bigint/v0_1/crate/src/bigint_ser.rs",
+ "//brave/third_party/rust/forest_bigint/v0_1/crate/src/biguint_ser.rs",
+ "//brave/third_party/rust/forest_bigint/v0_1/crate/src/lib.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.2"
cargo_pkg_authors = "ChainSafe Systems "
diff --git a/third_party/rust/form_urlencoded/v1/BUILD.gn b/third_party/rust/form_urlencoded/v1/BUILD.gn
index 993e4be5ea31..05b146f33b44 100644
--- a/third_party/rust/form_urlencoded/v1/BUILD.gn
+++ b/third_party/rust/form_urlencoded/v1/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/form_urlencoded/v1/crate/src/lib.rs" ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "1.1.0"
cargo_pkg_authors = "The rust-url developers"
diff --git a/third_party/rust/funty/v2/BUILD.gn b/third_party/rust/funty/v2/BUILD.gn
index de268653d271..80893801fc42 100644
--- a/third_party/rust/funty/v2/BUILD.gn
+++ b/third_party/rust/funty/v2/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/funty/v2/crate/src/lib.rs" ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "2.0.0"
cargo_pkg_authors = "myrrlyn "
diff --git a/third_party/rust/futf/v0_1/BUILD.gn b/third_party/rust/futf/v0_1/BUILD.gn
index c6eadbd54658..f6007938737f 100644
--- a/third_party/rust/futf/v0_1/BUILD.gn
+++ b/third_party/rust/futf/v0_1/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futf/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/futf/v0_1/crate/src/test.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futf/v0_1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.1.5"
cargo_pkg_authors = "Keegan McAllister "
diff --git a/third_party/rust/futures/v0_3/BUILD.gn b/third_party/rust/futures/v0_3/BUILD.gn
index 4cfed856d66e..7662bcf79c69 100644
--- a/third_party/rust/futures/v0_3/BUILD.gn
+++ b/third_party/rust/futures/v0_3/BUILD.gn
@@ -9,10 +9,72 @@ cargo_crate("lib") {
epoch = "0.3"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/_require_features.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/async_await_macros.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/auto_traits.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/bilock.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/compat.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/eager_drop.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/eventual.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_abortable.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_basic_combinators.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_fuse.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_inspect.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_join.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_join_all.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_obj.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_select_all.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_select_ok.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_shared.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_try_flatten_stream.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/future_try_join_all.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_buf_reader.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_buf_writer.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_cursor.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_line_writer.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_lines.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_read.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_read_exact.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_read_line.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_read_to_end.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_read_to_string.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_read_until.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_window.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/io_write.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/lock_mutex.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/macro_comma_support.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/object_safety.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/oneshot.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/ready_queue.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/recurse.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/sink.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/sink_fanout.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_abortable.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_buffer_unordered.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_catch_unwind.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_futures_ordered.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_futures_unordered.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_into_async_read.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_peekable.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_select_all.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_select_next_some.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_split.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_try_stream.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/stream_unfold.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/task_arc_wake.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/task_atomic_waker.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/test_macro.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests/try_join.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests_disabled/all.rs",
+ "//brave/third_party/rust/futures/v0_3/crate/tests_disabled/stream.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures"
diff --git a/third_party/rust/futures_channel/v0_3/BUILD.gn b/third_party/rust/futures_channel/v0_3/BUILD.gn
index 6b255aaee65e..8dc7b89cbf31 100644
--- a/third_party/rust/futures_channel/v0_3/BUILD.gn
+++ b/third_party/rust/futures_channel/v0_3/BUILD.gn
@@ -13,10 +13,26 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_channel/v0_3/crate/benches/sync_mpsc.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/build.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/no_atomic_cas.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/src/lock.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/src/mpsc/mod.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/src/mpsc/queue.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/src/mpsc/sink_impl.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/src/oneshot.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/tests/channel.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/tests/mpsc-close.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/tests/mpsc-size_hint.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/tests/mpsc.rs",
+ "//brave/third_party/rust/futures_channel/v0_3/crate/tests/oneshot.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures_channel/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-channel"
@@ -36,6 +52,4 @@ cargo_crate("lib") {
"sink",
"std",
]
- build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
}
diff --git a/third_party/rust/futures_core/v0_3/BUILD.gn b/third_party/rust/futures_core/v0_3/BUILD.gn
index 4eab423a89b3..cfd6a0fef116 100644
--- a/third_party/rust/futures_core/v0_3/BUILD.gn
+++ b/third_party/rust/futures_core/v0_3/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_core/v0_3/crate/build.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/no_atomic_cas.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/src/future.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/src/stream.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/src/task/__internal/atomic_waker.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/src/task/__internal/mod.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/src/task/mod.rs",
+ "//brave/third_party/rust/futures_core/v0_3/crate/src/task/poll.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures_core/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-core"
@@ -30,6 +41,4 @@ cargo_crate("lib") {
"alloc",
"std",
]
- build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
}
diff --git a/third_party/rust/futures_executor/v0_3/BUILD.gn b/third_party/rust/futures_executor/v0_3/BUILD.gn
index d90ddc1eb3df..0850ea41e5b0 100644
--- a/third_party/rust/futures_executor/v0_3/BUILD.gn
+++ b/third_party/rust/futures_executor/v0_3/BUILD.gn
@@ -13,10 +13,19 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_executor/v0_3/crate/benches/thread_notify.rs",
+ "//brave/third_party/rust/futures_executor/v0_3/crate/src/enter.rs",
+ "//brave/third_party/rust/futures_executor/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_executor/v0_3/crate/src/local_pool.rs",
+ "//brave/third_party/rust/futures_executor/v0_3/crate/src/thread_pool.rs",
+ "//brave/third_party/rust/futures_executor/v0_3/crate/src/unpark_mutex.rs",
+ "//brave/third_party/rust/futures_executor/v0_3/crate/tests/local_pool.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures_executor/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-executor"
diff --git a/third_party/rust/futures_io/v0_3/BUILD.gn b/third_party/rust/futures_io/v0_3/BUILD.gn
index 1fe3912f8624..f7e87e2839d8 100644
--- a/third_party/rust/futures_io/v0_3/BUILD.gn
+++ b/third_party/rust/futures_io/v0_3/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/futures_io/v0_3/crate/src/lib.rs" ]
+ inputs = [ "//brave/third_party/rust/futures_io/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-io"
diff --git a/third_party/rust/futures_macro/v0_3/BUILD.gn b/third_party/rust/futures_macro/v0_3/BUILD.gn
index 19143f253430..7738ee0be74e 100644
--- a/third_party/rust/futures_macro/v0_3/BUILD.gn
+++ b/third_party/rust/futures_macro/v0_3/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_macro/v0_3/crate/src/executor.rs",
+ "//brave/third_party/rust/futures_macro/v0_3/crate/src/join.rs",
+ "//brave/third_party/rust/futures_macro/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_macro/v0_3/crate/src/select.rs",
+ "//brave/third_party/rust/futures_macro/v0_3/crate/src/stream_select.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-macro"
diff --git a/third_party/rust/futures_retry/v0_5/BUILD.gn b/third_party/rust/futures_retry/v0_5/BUILD.gn
index 8e46082f1035..af7323f78bb6 100644
--- a/third_party/rust/futures_retry/v0_5/BUILD.gn
+++ b/third_party/rust/futures_retry/v0_5/BUILD.gn
@@ -9,10 +9,20 @@ cargo_crate("lib") {
epoch = "0.5"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_retry/v0_5/crate/examples/tcp-client-complex.rs",
+ "//brave/third_party/rust/futures_retry/v0_5/crate/examples/tcp-client.rs",
+ "//brave/third_party/rust/futures_retry/v0_5/crate/examples/tcp-listener-complex.rs",
+ "//brave/third_party/rust/futures_retry/v0_5/crate/examples/tcp-listener.rs",
+ "//brave/third_party/rust/futures_retry/v0_5/crate/src/error_handler.rs",
+ "//brave/third_party/rust/futures_retry/v0_5/crate/src/future.rs",
+ "//brave/third_party/rust/futures_retry/v0_5/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_retry/v0_5/crate/src/stream.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures_retry/v0_5/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.5.0"
cargo_pkg_authors = "mexus "
diff --git a/third_party/rust/futures_sink/v0_3/BUILD.gn b/third_party/rust/futures_sink/v0_3/BUILD.gn
index bb4d22c2b8bf..84a3388ddb90 100644
--- a/third_party/rust/futures_sink/v0_3/BUILD.gn
+++ b/third_party/rust/futures_sink/v0_3/BUILD.gn
@@ -13,10 +13,11 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [ "//brave/third_party/rust/futures_sink/v0_3/crate/src/lib.rs" ]
+ inputs = [ "//brave/third_party/rust/futures_sink/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-sink"
diff --git a/third_party/rust/futures_task/v0_3/BUILD.gn b/third_party/rust/futures_task/v0_3/BUILD.gn
index 7855fc69db26..5f00e1bdc530 100644
--- a/third_party/rust/futures_task/v0_3/BUILD.gn
+++ b/third_party/rust/futures_task/v0_3/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_task/v0_3/crate/build.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/no_atomic_cas.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/src/arc_wake.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/src/future_obj.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/src/noop_waker.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/src/spawn.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/src/waker.rs",
+ "//brave/third_party/rust/futures_task/v0_3/crate/src/waker_ref.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures_task/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-task"
@@ -29,6 +40,4 @@ cargo_crate("lib") {
"alloc",
"std",
]
- build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
}
diff --git a/third_party/rust/futures_timer/v3/BUILD.gn b/third_party/rust/futures_timer/v3/BUILD.gn
index e9e4c1b42c46..e8bfe38b28ba 100644
--- a/third_party/rust/futures_timer/v3/BUILD.gn
+++ b/third_party/rust/futures_timer/v3/BUILD.gn
@@ -13,10 +13,24 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_timer/v3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native/arc_list.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native/atomic_waker.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native/delay.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native/global.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native/heap.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native/heap_timer.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/native/timer.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/src/wasm.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/tests/smoke.rs",
+ "//brave/third_party/rust/futures_timer/v3/crate/tests/timeout.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures_timer/v3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "3.0.2"
cargo_pkg_authors = "Alex Crichton "
diff --git a/third_party/rust/futures_util/v0_3/BUILD.gn b/third_party/rust/futures_util/v0_3/BUILD.gn
index 5588e42a8940..5c577bcaebcd 100644
--- a/third_party/rust/futures_util/v0_3/BUILD.gn
+++ b/third_party/rust/futures_util/v0_3/BUILD.gn
@@ -13,10 +13,195 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/futures_util/v0_3/crate/benches/bilock.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/benches/flatten_unordered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/benches/futures_unordered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/benches/select.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/build.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/no_atomic_cas.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/abortable.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/async_await/join_mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/async_await/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/async_await/pending.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/async_await/poll.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/async_await/random.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/async_await/select_mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/async_await/stream_select_mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/compat/compat01as03.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/compat/compat03as01.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/compat/executor.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/compat/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/fns.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/abortable.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/either.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/future/catch_unwind.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/future/flatten.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/future/fuse.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/future/map.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/future/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/future/remote_handle.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/future/shared.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/join.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/join_all.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/lazy.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/maybe_done.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/option.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/pending.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/poll_fn.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/poll_immediate.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/ready.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/select.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/select_all.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/select_ok.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_future/into_future.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_future/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_future/try_flatten.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_future/try_flatten_err.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_join.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_join_all.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_maybe_done.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/future/try_select.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/allow_std.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/buf_reader.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/buf_writer.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/chain.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/close.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/copy.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/copy_buf.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/copy_buf_abortable.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/cursor.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/empty.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/fill_buf.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/flush.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/into_sink.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/line_writer.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/lines.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/read.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/read_exact.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/read_line.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/read_to_end.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/read_to_string.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/read_until.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/read_vectored.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/repeat.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/seek.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/sink.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/split.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/take.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/window.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/write.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/write_all.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/write_all_vectored.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/io/write_vectored.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/lock/bilock.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/lock/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/lock/mutex.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/never.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/buffer.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/close.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/drain.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/err_into.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/fanout.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/feed.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/flush.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/map_err.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/send.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/send_all.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/unfold.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/with.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/sink/with_flat_map.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/abortable.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/empty.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/futures_ordered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/futures_unordered/abort.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/futures_unordered/iter.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/futures_unordered/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/futures_unordered/ready_to_run_queue.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/futures_unordered/task.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/iter.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/once.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/pending.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/poll_fn.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/poll_immediate.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/repeat.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/repeat_with.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/select.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/select_all.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/select_with_strategy.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/all.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/any.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/buffer_unordered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/buffered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/catch_unwind.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/chain.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/chunks.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/collect.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/concat.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/count.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/cycle.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/enumerate.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/filter.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/filter_map.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/flatten.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/flatten_unordered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/fold.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/for_each.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/for_each_concurrent.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/forward.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/fuse.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/into_future.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/map.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/next.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/peek.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/ready_chunks.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/scan.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/select_next_some.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/skip.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/skip_while.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/split.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/take.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/take_until.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/take_while.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/then.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/unzip.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/stream/zip.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/and_then.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/into_async_read.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/into_stream.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/or_else.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_buffer_unordered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_buffered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_chunks.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_collect.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_concat.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_filter.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_filter_map.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_flatten.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_flatten_unordered.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_fold.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_for_each.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_for_each_concurrent.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_next.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_skip_while.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_take_while.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/try_stream/try_unfold.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/stream/unfold.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/task/mod.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/task/spawn.rs",
+ "//brave/third_party/rust/futures_util/v0_3/crate/src/unfold_state.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/futures_util/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.27"
cargo_pkg_name = "futures-util"
@@ -53,6 +238,4 @@ cargo_crate("lib") {
"slab",
"std",
]
- build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
}
diff --git a/third_party/rust/fvm_ipld_blockstore/v0_1/BUILD.gn b/third_party/rust/fvm_ipld_blockstore/v0_1/BUILD.gn
index 9821165f0900..d75a880d5f66 100644
--- a/third_party/rust/fvm_ipld_blockstore/v0_1/BUILD.gn
+++ b/third_party/rust/fvm_ipld_blockstore/v0_1/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/fvm_ipld_blockstore/v0_1/crate/src/block.rs",
+ "//brave/third_party/rust/fvm_ipld_blockstore/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/fvm_ipld_blockstore/v0_1/crate/src/memory.rs",
+ "//brave/third_party/rust/fvm_ipld_blockstore/v0_1/crate/src/tracking.rs",
+ ]
+ inputs =
+ [ "//brave/third_party/rust/fvm_ipld_blockstore/v0_1/crate/CHANGELOG.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.1"
cargo_pkg_authors =
diff --git a/third_party/rust/fvm_ipld_encoding/v0_3/BUILD.gn b/third_party/rust/fvm_ipld_encoding/v0_3/BUILD.gn
index 28feaae14978..d20589419a52 100644
--- a/third_party/rust/fvm_ipld_encoding/v0_3/BUILD.gn
+++ b/third_party/rust/fvm_ipld_encoding/v0_3/BUILD.gn
@@ -9,10 +9,21 @@ cargo_crate("lib") {
epoch = "0.3"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/bytes.rs",
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/cbor.rs",
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/cbor_store.rs",
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/errors.rs",
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/ipld_block.rs",
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/raw.rs",
+ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/src/vec.rs",
+ ]
+ inputs =
+ [ "//brave/third_party/rust/fvm_ipld_encoding/v0_3/crate/CHANGELOG.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.3.3"
cargo_pkg_authors =
diff --git a/third_party/rust/fvm_shared/v3/BUILD.gn b/third_party/rust/fvm_shared/v3/BUILD.gn
index e4c36dfa572c..6db9c74f6f3a 100644
--- a/third_party/rust/fvm_shared/v3/BUILD.gn
+++ b/third_party/rust/fvm_shared/v3/BUILD.gn
@@ -9,10 +9,53 @@ cargo_crate("lib") {
epoch = "3"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/address/errors.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/address/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/address/network.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/address/payload.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/address/protocol.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/bigint/bigint_ser.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/bigint/biguint_ser.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/bigint/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/chainid/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/clock/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/clock/quantize.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/commcid/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/consensus/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/crypto/hash.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/crypto/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/crypto/signature.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/deal/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/econ/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/error/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/event/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/lib.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/math.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/message.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/piece/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/piece/zero.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/randomness/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/receipt.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/reward.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/sector/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/sector/post.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/sector/registered_proof.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/sector/seal.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/smooth/alpha_beta_filter.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/smooth/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/smooth/smooth_func.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/state/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/sys/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/sys/out.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/src/version/mod.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/tests/address_test.rs",
+ "//brave/third_party/rust/fvm_shared/v3/crate/tests/commcid_tests.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/fvm_shared/v3/crate/CHANGELOG.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "3.3.0"
cargo_pkg_authors =
diff --git a/third_party/rust/fxhash/v0_2/BUILD.gn b/third_party/rust/fxhash/v0_2/BUILD.gn
index 0d19acb3b151..1f9de52fe332 100644
--- a/third_party/rust/fxhash/v0_2/BUILD.gn
+++ b/third_party/rust/fxhash/v0_2/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/lib.rs"
+ sources = [
+ "//brave/third_party/rust/fxhash/v0_2/crate/bench.rs",
+ "//brave/third_party/rust/fxhash/v0_2/crate/lib.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/fxhash/v0_2/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.2.1"
cargo_pkg_authors = "cbreeden "
diff --git a/third_party/rust/generic_array/v0_14/BUILD.gn b/third_party/rust/generic_array/v0_14/BUILD.gn
index 35748be4e46d..8c7a762bf356 100644
--- a/third_party/rust/generic_array/v0_14/BUILD.gn
+++ b/third_party/rust/generic_array/v0_14/BUILD.gn
@@ -13,10 +13,25 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/generic_array/v0_14/crate/build.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/arr.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/functional.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/hex.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/impl_serde.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/impl_zeroize.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/impls.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/iter.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/lib.rs",
+ "//brave/third_party/rust/generic_array/v0_14/crate/src/sequence.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/generic_array/v0_14/crate/CHANGELOG.md",
+ "//brave/third_party/rust/generic_array/v0_14/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.14.6"
cargo_pkg_authors = "Bartłomiej Kamiński , Aaron Trent "
diff --git a/third_party/rust/getrandom/v0_1/BUILD.gn b/third_party/rust/getrandom/v0_1/BUILD.gn
index beb91776cf93..a811fcae631c 100644
--- a/third_party/rust/getrandom/v0_1/BUILD.gn
+++ b/third_party/rust/getrandom/v0_1/BUILD.gn
@@ -13,10 +13,40 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/getrandom/v0_1/crate/benches/mod.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/build.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/bsd_arandom.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/cloudabi.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/dummy.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/error.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/error_impls.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/fuchsia.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/ios.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/linux_android.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/macos.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/openbsd.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/rdrand.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/solaris_illumos.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/use_file.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/util.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/util_libc.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/vxworks.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/wasi.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/wasm32_bindgen.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/wasm32_stdweb.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/windows.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/src/windows_uwp.rs",
+ "//brave/third_party/rust/getrandom/v0_1/crate/tests/common.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/getrandom/v0_1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/getrandom/v0_1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.16"
cargo_pkg_authors = "The Rand Project Developers"
diff --git a/third_party/rust/group/v0_12/BUILD.gn b/third_party/rust/group/v0_12/BUILD.gn
index 67b1d7bb78ba..7cd7e73f2636 100644
--- a/third_party/rust/group/v0_12/BUILD.gn
+++ b/third_party/rust/group/v0_12/BUILD.gn
@@ -13,10 +13,20 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/group/v0_12/crate/src/cofactor.rs",
+ "//brave/third_party/rust/group/v0_12/crate/src/lib.rs",
+ "//brave/third_party/rust/group/v0_12/crate/src/prime.rs",
+ "//brave/third_party/rust/group/v0_12/crate/src/tests/mod.rs",
+ "//brave/third_party/rust/group/v0_12/crate/src/wnaf.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/group/v0_12/crate/CHANGELOG.md",
+ "//brave/third_party/rust/group/v0_12/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.12.1"
cargo_pkg_authors =
diff --git a/third_party/rust/hashbrown/v0_12/BUILD.gn b/third_party/rust/hashbrown/v0_12/BUILD.gn
index 2b0e03988ddf..eec3de22f389 100644
--- a/third_party/rust/hashbrown/v0_12/BUILD.gn
+++ b/third_party/rust/hashbrown/v0_12/BUILD.gn
@@ -13,10 +13,39 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/hashbrown/v0_12/crate/benches/bench.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/benches/insert_unique_unchecked.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/external_trait_impls/mod.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/external_trait_impls/rayon/helpers.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/external_trait_impls/rayon/map.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/external_trait_impls/rayon/mod.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/external_trait_impls/rayon/raw.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/external_trait_impls/rayon/set.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/external_trait_impls/serde.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/lib.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/macros.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/map.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/raw/alloc.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/raw/bitmask.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/raw/generic.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/raw/mod.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/raw/sse2.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/rustc_entry.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/scopeguard.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/src/set.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/tests/hasher.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/tests/rayon.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/tests/serde.rs",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/tests/set.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/hashbrown/v0_12/crate/CHANGELOG.md",
+ "//brave/third_party/rust/hashbrown/v0_12/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2021"
cargo_pkg_version = "0.12.3"
cargo_pkg_authors = "Amanieu d'Antras "
@@ -30,5 +59,6 @@ cargo_crate("lib") {
features = [
"ahash",
"inline-more",
+ "raw",
]
}
diff --git a/third_party/rust/hkdf/v0_11/BUILD.gn b/third_party/rust/hkdf/v0_11/BUILD.gn
index 4276ea6dae92..77803f00f7b7 100644
--- a/third_party/rust/hkdf/v0_11/BUILD.gn
+++ b/third_party/rust/hkdf/v0_11/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/hkdf.rs"
+ sources = [
+ "//brave/third_party/rust/hkdf/v0_11/crate/benches/hkdf.rs",
+ "//brave/third_party/rust/hkdf/v0_11/crate/examples/extract.rs",
+ "//brave/third_party/rust/hkdf/v0_11/crate/examples/from_prk.rs",
+ "//brave/third_party/rust/hkdf/v0_11/crate/examples/main.rs",
+ "//brave/third_party/rust/hkdf/v0_11/crate/src/hkdf.rs",
+ "//brave/third_party/rust/hkdf/v0_11/crate/tests/tests.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/hkdf/v0_11/crate/CHANGELOG.md",
+ "//brave/third_party/rust/hkdf/v0_11/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/hkdf.rs" ]
edition = "2018"
cargo_pkg_version = "0.11.0"
cargo_pkg_authors = "vladikoff, warner, RustCrypto Developers"
diff --git a/third_party/rust/hmac/v0_10/BUILD.gn b/third_party/rust/hmac/v0_10/BUILD.gn
index fd4cb5dc9267..7e7b1a82e0fc 100644
--- a/third_party/rust/hmac/v0_10/BUILD.gn
+++ b/third_party/rust/hmac/v0_10/BUILD.gn
@@ -9,10 +9,17 @@ cargo_crate("lib") {
epoch = "0.10"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/hmac/v0_10/crate/src/lib.rs",
+ "//brave/third_party/rust/hmac/v0_10/crate/tests/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/hmac/v0_10/crate/CHANGELOG.md",
+ "//brave/third_party/rust/hmac/v0_10/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.10.1"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/hmac/v0_11/BUILD.gn b/third_party/rust/hmac/v0_11/BUILD.gn
index fc377c6580e1..52344893ecac 100644
--- a/third_party/rust/hmac/v0_11/BUILD.gn
+++ b/third_party/rust/hmac/v0_11/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/hmac/v0_11/crate/src/lib.rs",
+ "//brave/third_party/rust/hmac/v0_11/crate/tests/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/hmac/v0_11/crate/CHANGELOG.md",
+ "//brave/third_party/rust/hmac/v0_11/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.11.0"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/hmac/v0_12/BUILD.gn b/third_party/rust/hmac/v0_12/BUILD.gn
index a71fbd93cbb7..42e3d140e3a8 100644
--- a/third_party/rust/hmac/v0_12/BUILD.gn
+++ b/third_party/rust/hmac/v0_12/BUILD.gn
@@ -13,10 +13,19 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/hmac/v0_12/crate/src/lib.rs",
+ "//brave/third_party/rust/hmac/v0_12/crate/src/optim.rs",
+ "//brave/third_party/rust/hmac/v0_12/crate/src/simple.rs",
+ "//brave/third_party/rust/hmac/v0_12/crate/tests/mod.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/hmac/v0_12/crate/CHANGELOG.md",
+ "//brave/third_party/rust/hmac/v0_12/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.12.1"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/hmac/v0_8/BUILD.gn b/third_party/rust/hmac/v0_8/BUILD.gn
index 76fbc02251b3..f211ac3dd7db 100644
--- a/third_party/rust/hmac/v0_8/BUILD.gn
+++ b/third_party/rust/hmac/v0_8/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/hmac/v0_8/crate/src/lib.rs",
+ "//brave/third_party/rust/hmac/v0_8/crate/tests/lib.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/hmac/v0_8/crate/CHANGELOG.md",
+ "//brave/third_party/rust/hmac/v0_8/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.8.1"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/hmac_drbg/v0_3/BUILD.gn b/third_party/rust/hmac_drbg/v0_3/BUILD.gn
index b0b737970478..ff1459bab7a2 100644
--- a/third_party/rust/hmac_drbg/v0_3/BUILD.gn
+++ b/third_party/rust/hmac_drbg/v0_3/BUILD.gn
@@ -13,10 +13,14 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/hmac_drbg/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/hmac_drbg/v0_3/crate/tests/lib.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/hmac_drbg/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.0"
cargo_pkg_authors = "Wei Tang "
diff --git a/third_party/rust/html5ever/v0_25/BUILD.gn b/third_party/rust/html5ever/v0_25/BUILD.gn
index 4be3b7128556..23fc25f22007 100644
--- a/third_party/rust/html5ever/v0_25/BUILD.gn
+++ b/third_party/rust/html5ever/v0_25/BUILD.gn
@@ -9,10 +9,34 @@ cargo_crate("lib") {
epoch = "0.25"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/html5ever/v0_25/crate/benches/html5ever.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/build.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/examples/arena.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/examples/noop-tokenize.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/examples/noop-tree-builder.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/examples/print-tree-actions.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/examples/tokenize.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/macros/match_token.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/driver.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/lib.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/macros.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/serialize/mod.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tokenizer/char_ref/mod.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tokenizer/interface.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tokenizer/mod.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tokenizer/states.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tree_builder/data.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tree_builder/mod.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tree_builder/rules.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tree_builder/tag_sets.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/tree_builder/types.rs",
+ "//brave/third_party/rust/html5ever/v0_25/crate/src/util/str.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.25.1"
cargo_pkg_authors = "The html5ever Project Developers"
@@ -33,7 +57,10 @@ cargo_crate("lib") {
"//third_party/rust/syn/v1:lib",
]
build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
+ build_sources = [
+ "crate/build.rs",
+ "crate/macros/match_token.rs",
+ ]
build_script_outputs = [ "rules.rs" ]
cargo_manifest_dir =
rebase_path("//brave/third_party/rust/html5ever/v0_25/crate")
diff --git a/third_party/rust/http/v0_1/BUILD.gn b/third_party/rust/http/v0_1/BUILD.gn
index 5abae3505d1d..535263aa8fbd 100644
--- a/third_party/rust/http/v0_1/BUILD.gn
+++ b/third_party/rust/http/v0_1/BUILD.gn
@@ -9,10 +9,45 @@ cargo_crate("lib") {
epoch = "0.1"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/http/v0_1/crate/benches/header_map/basic.rs",
+ "//brave/third_party/rust/http/v0_1/crate/benches/header_map/mod.rs",
+ "//brave/third_party/rust/http/v0_1/crate/benches/header_map/vec_map.rs",
+ "//brave/third_party/rust/http/v0_1/crate/benches/header_name.rs",
+ "//brave/third_party/rust/http/v0_1/crate/benches/header_value.rs",
+ "//brave/third_party/rust/http/v0_1/crate/benches/uri.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/byte_str.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/convert.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/error.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/extensions.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/header/map.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/header/mod.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/header/name.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/header/value.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/method.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/request.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/response.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/status.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/uri/authority.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/uri/builder.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/uri/mod.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/uri/path.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/uri/port.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/uri/scheme.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/uri/tests.rs",
+ "//brave/third_party/rust/http/v0_1/crate/src/version.rs",
+ "//brave/third_party/rust/http/v0_1/crate/tests/header_map.rs",
+ "//brave/third_party/rust/http/v0_1/crate/tests/header_map_fuzz.rs",
+ "//brave/third_party/rust/http/v0_1/crate/tests/status_code.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/http/v0_1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/http/v0_1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.1.21"
cargo_pkg_authors = "Alex Crichton , Carl Lerche , Sean McArthur "
diff --git a/third_party/rust/iana_time_zone/v0_1/BUILD.gn b/third_party/rust/iana_time_zone/v0_1/BUILD.gn
index 57d2c12f19f1..c5f9e24a6c23 100644
--- a/third_party/rust/iana_time_zone/v0_1/BUILD.gn
+++ b/third_party/rust/iana_time_zone/v0_1/BUILD.gn
@@ -13,10 +13,29 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/examples/get_timezone.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/examples/stress-test.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/ffi_utils.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/platform.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_android.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_freebsd.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_haiku.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_illumos.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_linux.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_macos.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_netbsd.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_wasm32.rs",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/src/tz_windows.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/iana_time_zone/v0_1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.1.54"
cargo_pkg_authors = "Andrew Straw , René Kijewski , Ryan Lopopolo "
diff --git a/third_party/rust/idna/v0_2/BUILD.gn b/third_party/rust/idna/v0_2/BUILD.gn
index 983aee8f0286..ceed258b4eff 100644
--- a/third_party/rust/idna/v0_2/BUILD.gn
+++ b/third_party/rust/idna/v0_2/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/idna/v0_2/crate/benches/all.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/src/lib.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/src/punycode.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/src/uts46.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/src/uts46_mapping_table.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/tests/punycode.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/tests/tests.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/tests/unit.rs",
+ "//brave/third_party/rust/idna/v0_2/crate/tests/uts46.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.2.3"
cargo_pkg_authors = "The rust-url developers"
diff --git a/third_party/rust/idna/v0_3/BUILD.gn b/third_party/rust/idna/v0_3/BUILD.gn
index e59c5d3868d3..a9e7a26fb761 100644
--- a/third_party/rust/idna/v0_3/BUILD.gn
+++ b/third_party/rust/idna/v0_3/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/idna/v0_3/crate/benches/all.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/src/punycode.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/src/uts46.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/src/uts46_mapping_table.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/tests/punycode.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/tests/tests.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/tests/unit.rs",
+ "//brave/third_party/rust/idna/v0_3/crate/tests/uts46.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.0"
cargo_pkg_authors = "The rust-url developers"
diff --git a/third_party/rust/iovec/v0_1/BUILD.gn b/third_party/rust/iovec/v0_1/BUILD.gn
index 3aa496b9fb03..5417082f9704 100644
--- a/third_party/rust/iovec/v0_1/BUILD.gn
+++ b/third_party/rust/iovec/v0_1/BUILD.gn
@@ -13,10 +13,22 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/iovec/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/iovec/v0_1/crate/src/sys/mod.rs",
+ "//brave/third_party/rust/iovec/v0_1/crate/src/sys/unix.rs",
+ "//brave/third_party/rust/iovec/v0_1/crate/src/sys/unknown.rs",
+ "//brave/third_party/rust/iovec/v0_1/crate/src/sys/windows.rs",
+ "//brave/third_party/rust/iovec/v0_1/crate/src/unix.rs",
+ "//brave/third_party/rust/iovec/v0_1/crate/src/windows.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/iovec/v0_1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/iovec/v0_1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.1.4"
cargo_pkg_authors = "Carl Lerche "
diff --git a/third_party/rust/itertools/v0_10/BUILD.gn b/third_party/rust/itertools/v0_10/BUILD.gn
index 893bc9e2a21b..57317863b4a9 100644
--- a/third_party/rust/itertools/v0_10/BUILD.gn
+++ b/third_party/rust/itertools/v0_10/BUILD.gn
@@ -13,10 +13,84 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/bench1.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/combinations.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/combinations_with_replacement.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/extra/mod.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/extra/zipslices.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/fold_specialization.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/powerset.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/tree_fold1.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/tuple_combinations.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/benches/tuples.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/examples/iris.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/adaptors/coalesce.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/adaptors/map.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/adaptors/mod.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/adaptors/multi_product.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/combinations.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/combinations_with_replacement.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/concat_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/cons_tuples_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/diff.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/duplicates_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/either_or_both.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/exactly_one_err.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/extrema_set.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/flatten_ok.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/format.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/free.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/group_map.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/groupbylazy.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/grouping_map.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/impl_macros.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/intersperse.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/k_smallest.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/kmerge_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/lazy_buffer.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/lib.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/merge_join.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/minmax.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/multipeek_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/pad_tail.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/peek_nth.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/peeking_take_while.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/permutations.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/powerset.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/process_results_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/put_back_n_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/rciter_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/repeatn.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/size_hint.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/sources.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/tee.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/tuple_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/unique_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/unziptuple.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/with_position.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/zip_eq_impl.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/zip_longest.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/src/ziptuple.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/adaptors_no_collect.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/flatten_ok.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/macros_hygiene.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/merge_join.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/peeking_take_while.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/quick.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/specializations.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/test_core.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/test_std.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/tuples.rs",
+ "//brave/third_party/rust/itertools/v0_10/crate/tests/zip.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/itertools/v0_10/crate/CHANGELOG.md",
+ "//brave/third_party/rust/itertools/v0_10/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.10.5"
cargo_pkg_authors = "bluss"
diff --git a/third_party/rust/keccak/v0_1/BUILD.gn b/third_party/rust/keccak/v0_1/BUILD.gn
index c40a2bf78db3..20b4c40b4777 100644
--- a/third_party/rust/keccak/v0_1/BUILD.gn
+++ b/third_party/rust/keccak/v0_1/BUILD.gn
@@ -13,10 +13,19 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/keccak/v0_1/crate/benches/mod.rs",
+ "//brave/third_party/rust/keccak/v0_1/crate/src/armv8.rs",
+ "//brave/third_party/rust/keccak/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/keccak/v0_1/crate/src/unroll.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/keccak/v0_1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/keccak/v0_1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.1.3"
cargo_pkg_authors = "RustCrypto Developers"
diff --git a/third_party/rust/kuchiki/v0_8/BUILD.gn b/third_party/rust/kuchiki/v0_8/BUILD.gn
index c3d06b8ce2d0..40b7c88f41f1 100644
--- a/third_party/rust/kuchiki/v0_8/BUILD.gn
+++ b/third_party/rust/kuchiki/v0_8/BUILD.gn
@@ -9,10 +9,24 @@ cargo_crate("lib") {
epoch = "0.8"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/kuchiki/v0_8/crate/examples/find_matches.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/examples/stack-overflow.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/attributes.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/cell_extras.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/iter.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/lib.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/node_data_ref.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/parser.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/select.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/serializer.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/tests.rs",
+ "//brave/third_party/rust/kuchiki/v0_8/crate/src/tree.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/kuchiki/v0_8/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.8.1"
cargo_pkg_authors = "Simon Sapin "
diff --git a/third_party/rust/lazycell/v1/BUILD.gn b/third_party/rust/lazycell/v1/BUILD.gn
index 9933cd824926..eb8a1bf6021e 100644
--- a/third_party/rust/lazycell/v1/BUILD.gn
+++ b/third_party/rust/lazycell/v1/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/lazycell/v1/crate/src/lib.rs",
+ "//brave/third_party/rust/lazycell/v1/crate/src/serde_impl.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/lazycell/v1/crate/CHANGELOG.md",
+ "//brave/third_party/rust/lazycell/v1/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "1.3.0"
cargo_pkg_authors = "Alex Crichton , Nikita Pekin "
diff --git a/third_party/rust/libsecp256k1/v0_7/BUILD.gn b/third_party/rust/libsecp256k1/v0_7/BUILD.gn
index 22d93eb647a5..19a3e962cc60 100644
--- a/third_party/rust/libsecp256k1/v0_7/BUILD.gn
+++ b/third_party/rust/libsecp256k1/v0_7/BUILD.gn
@@ -9,10 +9,23 @@ cargo_crate("lib") {
epoch = "0.7"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/benches/public_key.rs",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/benches/sign.rs",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/benches/signature.rs",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/build.rs",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/src/lib.rs",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/tests/serde.rs",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/tests/verify.rs",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/tests/wycheproof.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/CHANGELOG.md",
+ "//brave/third_party/rust/libsecp256k1/v0_7/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.7.1"
cargo_pkg_authors = "Wei Tang "
diff --git a/third_party/rust/libsecp256k1_core/v0_3/BUILD.gn b/third_party/rust/libsecp256k1_core/v0_3/BUILD.gn
index 8af373acbeff..74283fa38ab3 100644
--- a/third_party/rust/libsecp256k1_core/v0_3/BUILD.gn
+++ b/third_party/rust/libsecp256k1_core/v0_3/BUILD.gn
@@ -13,10 +13,21 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/der.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/ecdh.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/ecdsa.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/ecmult.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/error.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/field.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/group.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/libsecp256k1_core/v0_3/crate/src/scalar.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.0"
cargo_pkg_authors = "Wei Tang "
diff --git a/third_party/rust/libsecp256k1_gen_ecmult/v0_3/BUILD.gn b/third_party/rust/libsecp256k1_gen_ecmult/v0_3/BUILD.gn
index ae4c7506c490..4a4fef18f4cf 100644
--- a/third_party/rust/libsecp256k1_gen_ecmult/v0_3/BUILD.gn
+++ b/third_party/rust/libsecp256k1_gen_ecmult/v0_3/BUILD.gn
@@ -13,10 +13,13 @@ cargo_crate("buildrs_support") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/libsecp256k1_gen_ecmult/v0_3/crate/src/lib.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.0"
cargo_pkg_authors = "Wei Tang "
diff --git a/third_party/rust/libsecp256k1_gen_genmult/v0_3/BUILD.gn b/third_party/rust/libsecp256k1_gen_genmult/v0_3/BUILD.gn
index 99545ea5cfd6..cc5150daf734 100644
--- a/third_party/rust/libsecp256k1_gen_genmult/v0_3/BUILD.gn
+++ b/third_party/rust/libsecp256k1_gen_genmult/v0_3/BUILD.gn
@@ -13,10 +13,13 @@ cargo_crate("buildrs_support") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/libsecp256k1_gen_genmult/v0_3/crate/src/lib.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.0"
cargo_pkg_authors = "Wei Tang "
diff --git a/third_party/rust/lifeguard/v0_6/BUILD.gn b/third_party/rust/lifeguard/v0_6/BUILD.gn
index 52ee997a2576..b046739760a1 100644
--- a/third_party/rust/lifeguard/v0_6/BUILD.gn
+++ b/third_party/rust/lifeguard/v0_6/BUILD.gn
@@ -9,10 +9,15 @@ cargo_crate("lib") {
epoch = "0.6"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/lifeguard/v0_6/crate/benches/lib.rs",
+ "//brave/third_party/rust/lifeguard/v0_6/crate/src/lib.rs",
+ "//brave/third_party/rust/lifeguard/v0_6/crate/tests/lib.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/lifeguard/v0_6/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.6.1"
cargo_pkg_authors = "Zack Slayton "
diff --git a/third_party/rust/lock_api/v0_4/0001-remove-autocfg-probe.diff b/third_party/rust/lock_api/v0_4/0001-remove-autocfg-probe.diff
new file mode 100644
index 000000000000..fdd4f085edef
--- /dev/null
+++ b/third_party/rust/lock_api/v0_4/0001-remove-autocfg-probe.diff
@@ -0,0 +1,22 @@
+From 4217a857d39dded221b63239893c200251ceaffe Mon Sep 17 00:00:00 2001
+From: bridiver <34129+bridiver@users.noreply.github.com>
+Date: Wed, 23 Aug 2023 07:34:18 -0700
+Subject: [PATCH] patch build.rs
+
+---
+ third_party/rust/lock_api/v0_4/crate/build.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/third_party/rust/lock_api/v0_4/crate/build.rs b/third_party/rust/lock_api/v0_4/crate/build.rs
+index 886a3454c3..f52f18e7b3 100644
+--- a/third_party/rust/lock_api/v0_4/crate/build.rs
++++ b/third_party/rust/lock_api/v0_4/crate/build.rs
+@@ -1,4 +1,5 @@
+ fn main() {
++ return; #[allow(unused)]
+ let cfg = autocfg::new();
+
+ if cfg.probe_rustc_version(1, 61) {
+--
+2.34.1
+
diff --git a/third_party/rust/lock_api/v0_4/BUILD.gn b/third_party/rust/lock_api/v0_4/BUILD.gn
index 4d1a5f41d468..23c07266ae08 100644
--- a/third_party/rust/lock_api/v0_4/BUILD.gn
+++ b/third_party/rust/lock_api/v0_4/BUILD.gn
@@ -13,10 +13,17 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/lock_api/v0_4/crate/build.rs",
+ "//brave/third_party/rust/lock_api/v0_4/crate/src/lib.rs",
+ "//brave/third_party/rust/lock_api/v0_4/crate/src/mutex.rs",
+ "//brave/third_party/rust/lock_api/v0_4/crate/src/remutex.rs",
+ "//brave/third_party/rust/lock_api/v0_4/crate/src/rwlock.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.4.9"
cargo_pkg_authors = "Amanieu d'Antras "
@@ -30,4 +37,8 @@ cargo_crate("lib") {
build_deps = [ "//third_party/rust/autocfg/v1:buildrs_support" ]
build_root = "crate/build.rs"
build_sources = [ "crate/build.rs" ]
+ rustflags = [
+ "--cfg",
+ "has_const_fn_trait_bound",
+ ]
}
diff --git a/third_party/rust/lock_api/v0_4/crate/build.rs b/third_party/rust/lock_api/v0_4/crate/build.rs
index 886a3454c304..f52f18e7b33e 100644
--- a/third_party/rust/lock_api/v0_4/crate/build.rs
+++ b/third_party/rust/lock_api/v0_4/crate/build.rs
@@ -1,4 +1,5 @@
fn main() {
+ return; #[allow(unused)]
let cfg = autocfg::new();
if cfg.probe_rustc_version(1, 61) {
diff --git a/third_party/rust/lol_html/v0_3/BUILD.gn b/third_party/rust/lol_html/v0_3/BUILD.gn
index aceedf01bb0b..f01cdd544a3e 100644
--- a/third_party/rust/lol_html/v0_3/BUILD.gn
+++ b/third_party/rust/lol_html/v0_3/BUILD.gn
@@ -9,10 +9,108 @@ cargo_crate("lib") {
epoch = "0.3"
crate_type = "rlib"
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/lol_html/v0_3/crate/benches/bench.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/benches/cases/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/benches/cases/parsing.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/benches/cases/rewriting.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/benches/cases/selector_matching.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/base/align.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/base/bytes.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/base/debug_trace.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/base/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/base/range.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/html/local_name.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/html/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/html/namespace.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/html/tag.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/html/text_type.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/memory/arena.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/memory/limited_vec.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/memory/limiter.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/memory/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/lexer/actions.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/lexer/conditions.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/lexer/lexeme/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/lexer/lexeme/token_outline.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/lexer/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/comment.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/doctype.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/tag/attributes.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/tag/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/cdata_section.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/data.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/plaintext.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/rawtext.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/rcdata.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/script_data/double_escaped.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/script_data/escaped.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax/text/script_data/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax_dsl/action.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax_dsl/action_list.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax_dsl/arm_pattern/ch_sequence.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax_dsl/arm_pattern/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax_dsl/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax_dsl/state.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/state_machine/syntax_dsl/state_body.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/tag_scanner/actions.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/tag_scanner/conditions.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/tag_scanner/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/tree_builder_simulator/ambiguity_guard.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/parser/tree_builder_simulator/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/document_end.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/element.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/mutations.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/attributes.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/capturer/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/capturer/text_decoder.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/capturer/to_token.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/comment.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/doctype.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/end_tag.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/start_tag.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewritable_units/tokens/text_chunk.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewriter/handlers_dispatcher.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewriter/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewriter/rewrite_controller.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/rewriter/settings.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/ast.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/attribute_matcher.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/compiler.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/error.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/parser.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/program.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/selectors_vm/stack.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/transform_stream/dispatcher.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/src/transform_stream/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/fixtures/element_content_replacement.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/fixtures/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/fixtures/selector_matching.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/fixtures/token_capturing.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/input.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/html5lib_tests/decoder.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/html5lib_tests/feedback_tests/expected_tokens.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/html5lib_tests/feedback_tests/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/html5lib_tests/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/html5lib_tests/test_token.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/html5lib_tests/unescape.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/mod.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/harness/suites/selectors_tests.rs",
+ "//brave/third_party/rust/lol_html/v0_3/crate/tests/integration_tests.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/lol_html/v0_3/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.3.1"
cargo_pkg_authors = "Ivan Nikulin "
diff --git a/third_party/rust/mac/v0_1/BUILD.gn b/third_party/rust/mac/v0_1/BUILD.gn
index ac89d31cb3fb..af1ba15c09fc 100644
--- a/third_party/rust/mac/v0_1/BUILD.gn
+++ b/third_party/rust/mac/v0_1/BUILD.gn
@@ -13,10 +13,20 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/mac/v0_1/crate/src/cfg.rs",
+ "//brave/third_party/rust/mac/v0_1/crate/src/format.rs",
+ "//brave/third_party/rust/mac/v0_1/crate/src/inspect.rs",
+ "//brave/third_party/rust/mac/v0_1/crate/src/lib.rs",
+ "//brave/third_party/rust/mac/v0_1/crate/src/matches.rs",
+ "//brave/third_party/rust/mac/v0_1/crate/src/mem.rs",
+ "//brave/third_party/rust/mac/v0_1/crate/src/syntax_ext.rs",
+ "//brave/third_party/rust/mac/v0_1/crate/src/test.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/mac/v0_1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.1.1"
cargo_pkg_authors = "Jonathan Reem "
diff --git a/third_party/rust/markup5ever/v0_10/BUILD.gn b/third_party/rust/markup5ever/v0_10/BUILD.gn
index f6418e64cf62..34ffb9610be8 100644
--- a/third_party/rust/markup5ever/v0_10/BUILD.gn
+++ b/third_party/rust/markup5ever/v0_10/BUILD.gn
@@ -9,10 +9,21 @@ cargo_crate("lib") {
epoch = "0.10"
crate_type = "rlib"
crate_root = "crate/lib.rs"
+ sources = [
+ "//brave/third_party/rust/markup5ever/v0_10/crate/build.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/data/mod.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/entities.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/interface/mod.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/interface/tree_builder.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/lib.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/serialize.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/util/buffer_queue.rs",
+ "//brave/third_party/rust/markup5ever/v0_10/crate/util/smallcharset.rs",
+ ]
+ inputs = []
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.10.1"
cargo_pkg_authors = "The html5ever Project Developers"
@@ -33,7 +44,10 @@ cargo_crate("lib") {
"//brave/third_party/rust/string_cache_codegen/v0_5:buildrs_support",
]
build_root = "crate/build.rs"
- build_sources = [ "crate/build.rs" ]
+ build_sources = [
+ "crate/build.rs",
+ "crate/entities.rs",
+ ]
build_script_outputs = [
"generated.rs",
"named_entities.rs",
diff --git a/third_party/rust/matches/v0_1/BUILD.gn b/third_party/rust/matches/v0_1/BUILD.gn
index 76f010ce09aa..b2174f89d69b 100644
--- a/third_party/rust/matches/v0_1/BUILD.gn
+++ b/third_party/rust/matches/v0_1/BUILD.gn
@@ -13,10 +13,15 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/lib.rs"
+ sources = [
+ "//brave/third_party/rust/matches/v0_1/crate/lib.rs",
+ "//brave/third_party/rust/matches/v0_1/crate/tests/macro_use_one.rs",
+ "//brave/third_party/rust/matches/v0_1/crate/tests/use_star.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/matches/v0_1/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.1.10"
cargo_pkg_name = "matches"
diff --git a/third_party/rust/mime/v0_3/BUILD.gn b/third_party/rust/mime/v0_3/BUILD.gn
index ca135bb912df..d782dc882b31 100644
--- a/third_party/rust/mime/v0_3/BUILD.gn
+++ b/third_party/rust/mime/v0_3/BUILD.gn
@@ -13,10 +13,20 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/mime/v0_3/crate/benches/cmp.rs",
+ "//brave/third_party/rust/mime/v0_3/crate/benches/fmt.rs",
+ "//brave/third_party/rust/mime/v0_3/crate/benches/parse.rs",
+ "//brave/third_party/rust/mime/v0_3/crate/src/lib.rs",
+ "//brave/third_party/rust/mime/v0_3/crate/src/parse.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/mime/v0_3/crate/CONTRIBUTING.md",
+ "//brave/third_party/rust/mime/v0_3/crate/README.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2015"
cargo_pkg_version = "0.3.17"
cargo_pkg_authors = "Sean McArthur "
diff --git a/third_party/rust/miniz_oxide/v0_6/BUILD.gn b/third_party/rust/miniz_oxide/v0_6/BUILD.gn
index 5012f6a24ce0..3f0de2ec1dc9 100644
--- a/third_party/rust/miniz_oxide/v0_6/BUILD.gn
+++ b/third_party/rust/miniz_oxide/v0_6/BUILD.gn
@@ -13,10 +13,27 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/deflate/buffer.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/deflate/core.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/deflate/mod.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/deflate/stream.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/inflate/core.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/inflate/mod.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/inflate/output_buffer.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/inflate/stream.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/lib.rs",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/src/shared.rs",
+ ]
+ inputs = [
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/LICENSE-APACHE.md",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/LICENSE-MIT.md",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/LICENSE-ZLIB.md",
+ "//brave/third_party/rust/miniz_oxide/v0_6/crate/Readme.md",
+ ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.6.2"
cargo_pkg_authors = "Frommi , oyvindln "
diff --git a/third_party/rust/multibase/v0_9/BUILD.gn b/third_party/rust/multibase/v0_9/BUILD.gn
index 7ebd451f59f4..3851f1221634 100644
--- a/third_party/rust/multibase/v0_9/BUILD.gn
+++ b/third_party/rust/multibase/v0_9/BUILD.gn
@@ -13,10 +13,19 @@ cargo_crate("lib") {
# third_party.toml to use it from first-party code.
visibility = [ "//brave/third_party/rust/*" ]
crate_root = "crate/src/lib.rs"
+ sources = [
+ "//brave/third_party/rust/multibase/v0_9/crate/benches/multibase.rs",
+ "//brave/third_party/rust/multibase/v0_9/crate/src/base.rs",
+ "//brave/third_party/rust/multibase/v0_9/crate/src/encoding.rs",
+ "//brave/third_party/rust/multibase/v0_9/crate/src/error.rs",
+ "//brave/third_party/rust/multibase/v0_9/crate/src/impls.rs",
+ "//brave/third_party/rust/multibase/v0_9/crate/src/lib.rs",
+ "//brave/third_party/rust/multibase/v0_9/crate/tests/lib.rs",
+ ]
+ inputs = [ "//brave/third_party/rust/multibase/v0_9/crate/README.md" ]
# Unit tests skipped. Generate with --with-tests to include them.
build_native_rust_unit_tests = false
- sources = [ "crate/src/lib.rs" ]
edition = "2018"
cargo_pkg_version = "0.9.1"
cargo_pkg_authors = "Friedel Ziegelmayer