diff options
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/disable-mei-preload.patch')
| -rw-r--r-- | www/chromium-uc/patches/core/ungoogled-chromium/disable-mei-preload.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/disable-mei-preload.patch b/www/chromium-uc/patches/core/ungoogled-chromium/disable-mei-preload.patch new file mode 100644 index 0000000..731e85d --- /dev/null +++ b/www/chromium-uc/patches/core/ungoogled-chromium/disable-mei-preload.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Disables use of a binary for preloading the Media Engagement index | ||
| 2 | # Said binary is: chrome/browser/resources/media/mei_preload/preloaded_data.pb | ||
| 3 | # According to media/base/media_switches (for PreloadMediaEngagementData), it | ||
| 4 | # "enables a list of origins to be considered as having a high MEI until there | ||
| 5 | # is enough local data to determine the user's preferred behavior." This feature | ||
| 6 | # does not seem to outweigh the benefit of removing the binary, thus this patch. | ||
| 7 | |||
| 8 | --- chrome/BUILD.gn.orig | ||
| 9 | +++ chrome/BUILD.gn | ||
| 10 | @@ -351,7 +351,6 @@ if (!is_android && !is_mac) { | ||
| 11 | } | ||
| 12 | |||
| 13 | data_deps += [ | ||
| 14 | - "//chrome/browser/resources/media/mei_preload:component", | ||
| 15 | "//third_party/widevine/cdm", | ||
| 16 | ] | ||
| 17 | } | ||
| 18 | @@ -1157,7 +1156,6 @@ if (is_win) { | ||
| 19 | ":keystone_registration_framework", | ||
| 20 | ":swiftshader_library", | ||
| 21 | ":widevine_cdm_library", | ||
| 22 | - "//chrome/browser/resources/media/mei_preload:component_bundle", | ||
| 23 | ] | ||
| 24 | |||
| 25 | if (is_chrome_branded) { | ||
