Skip to content
Permalink
Browse files

chore: bump chromium to f30828899e4cd7161f6dc6507023f (master) (#20824)

* chore: bump chromium in DEPS to 0476932294da8809a19189b9f54cee11d50cc512

* update chromium patches (#20838)

* chore: bump chromium in DEPS to 838863f5ec9e8a12132a10bb47be8382ad9756a7

* IsRendererTransferNeededForNavigation went away

https://chromium-review.googlesource.com/c/chromium/src/+/1867031

* [arraybuffer] Move the ArrayBuffer implementation from wtf to core

https://chromium-review.googlesource.com/c/chromium/src/+/1875731

* URLLoaderRequest new mojo types

* context menu enums moved around

https://chromium-review.googlesource.com/c/chromium/src/+/1872004

https://chromium-review.googlesource.com/c/chromium/src/+/1876088

https://chromium-review.googlesource.com/c/chromium/src/+/1866520

* chore: bump chromium in DEPS to dc9525d251bf30828899e4cd7161f6dc6507023f

* update chromium patches

* [WIP] Convert network hints IPC to Mojo

https://chromium-review.googlesource.com/c/chromium/src/+/1881967

* jumbo build is no longer supported

https://chromium-review.googlesource.com/c/chromium/src/+/1881967

* fix disable-color-correct-rendering

* [FIXME] fix printing patch

compiles but prob doesn't work

* explicitly include ax_enums

https://chromium-review.googlesource.com/c/chromium/src/+/1759821

* fixup! [WIP] Convert network hints IPC to Mojo

* fix base::span

* fix AsarURLLoader to not double-std::move

* fix debug build

* fix msstl patch

* lint

* more fix msstl

* mooooore fix msstl

* fix compile

* update backport_fix_msstl_compat_in_ui_events.patch

* update msstl compat patch

* don't try to build chrome's prefetch predictor

* build: fix compilation on windows

* Fixup patches for MAS build

* Free up disk space for mac debug builds

* fix: apply custom site instance only for main frame

* Fixup from rebase

* Try not generating symbols for mac debug builds

* Remove double entry of patch

* FIx compile errors

* Trigger CI

* Set symbol_level to 1 for mac debug builds
  • Loading branch information...
electron-bot authored and jkleinsc committed Nov 5, 2019
1 parent f18fca0 commit 9a198e8ef434d5fb4f73f8516c9a866fcedde3d4
Showing with 754 additions and 681 deletions.
  1. +12 −0 .circleci/config.yml
  2. +2 −1 BUILD.gn
  3. +1 −1 DEPS
  4. +0 −1 build/args/all.gn
  5. +0 −1 build/args/native_tests.gn
  6. +45 −4 build/rules.gni
  7. +3 −0 chromium_src/BUILD.gn
  8. +97 −96 filenames.gni
  9. +3 −2 patches/chromium/.patches
  10. +1 −1 patches/chromium/add_contentgpuclient_precreatemessageloop_callback.patch
  11. +17 −17 patches/chromium/add_realloc.patch
  12. +5 −5 patches/chromium/add_zoom_limit_setters_to_webcontents.patch
  13. +46 −0 patches/chromium/backport_fix_msstl_compat_in_ui_events.patch
  14. +1 −1 patches/chromium/blink_local_frame.patch
  15. +3 −3 patches/chromium/blink_world_context.patch
  16. +0 −29 patches/chromium/build_win_fix_ambiguous_reference_with_msstl.patch
  17. +31 −0 patches/chromium/build_win_fix_msstl_compatibility_for_pdf.patch
  18. +4 −4 patches/chromium/can_create_window.patch
  19. +1 −1 patches/chromium/chore_use_electron_resources_not_chrome_for_spellchecker.patch
  20. +2 −2 patches/chromium/content_browser_main_loop.patch
  21. +15 −7 patches/chromium/disable_color_correct_rendering.patch
  22. +1 −1 patches/chromium/disable_user_gesture_requirement_for_beforeunload_dialogs.patch
  23. +1 −1 patches/chromium/exclude-a-few-test-files-from-build.patch
  24. +4 −4 patches/chromium/expose_setuseragent_on_networkcontext.patch
  25. +2 −2 patches/chromium/feat_unset_window_aspect_ratio_on_linux.patch
  26. +29 −0 patches/chromium/fix_ambiguous_reference_to_data.patch
  27. +72 −92 patches/chromium/frame_host_manager.patch
  28. +2 −2 patches/chromium/ignore_rc_check.patch
  29. +36 −20 patches/chromium/mas_no_private_api.patch
  30. +4 −4 patches/chromium/network_service_allow_remote_certificate_verification_logic.patch
  31. +1 −1 patches/chromium/notification_provenance.patch
  32. +5 −5 patches/chromium/pepper_plugin_support.patch
  33. +70 −75 patches/chromium/printing.patch
  34. +6 −6 patches/chromium/revert_remove_contentrendererclient_shouldfork.patch
  35. +1 −1 patches/chromium/scroll_bounce_flag.patch
  36. +1 −1 patches/chromium/sysroot.patch
  37. +0 −29 patches/chromium/ui_views_fix_jumbo_build.patch
  38. +3 −3 patches/chromium/web_contents.patch
  39. +6 −6 patches/chromium/worker_context_will_destroy.patch
  40. +17 −0 shell/browser/api/atom_api_session.cc
  41. +1 −4 shell/browser/api/atom_api_web_contents.cc
  42. +21 −15 shell/browser/atom_browser_client.cc
  43. +3 −7 shell/browser/atom_browser_client.h
  44. +10 −8 shell/browser/net/asar/asar_url_loader.cc
  45. +5 −5 shell/browser/net/atom_url_loader_factory.cc
  46. +24 −21 shell/browser/net/atom_url_loader_factory.h
  47. +1 −1 shell/browser/net/proxying_url_loader_factory.cc
  48. +9 −8 shell/browser/net/proxying_url_loader_factory.h
  49. +9 −8 shell/browser/net/system_network_context_manager.cc
  50. +48 −0 shell/browser/network_hints_handler_impl.cc
  51. +31 −0 shell/browser/network_hints_handler_impl.h
  52. +0 −94 shell/browser/renderer_host/electron_render_message_filter.cc
  53. +0 −46 shell/browser/renderer_host/electron_render_message_filter.h
  54. +1 −0 shell/browser/ui/views/autofill_popup_view.cc
  55. +1 −0 shell/browser/ui/views/submenu_button.cc
  56. +25 −20 shell/common/gin_converters/blink_converter.cc
  57. +5 −6 shell/common/gin_converters/blink_converter.h
  58. +1 −1 shell/common/gin_converters/content_converter.cc
  59. +6 −5 shell/renderer/renderer_client_base.cc
  60. +3 −3 shell/renderer/renderer_client_base.h
@@ -77,6 +77,10 @@ env-debug-build: &env-debug-build
GN_CONFIG: //electron/build/args/debug.gn
SKIP_DIST_ZIP: '1'

env-mac-debug-build: &env-mac-debug-build
# Set symbol level to 1 so that debug builds do not run out of disk space
GN_BUILDFLAG_ARGS: 'symbol_level = 1'

env-testing-build: &env-testing-build
GN_CONFIG: //electron/build/args/testing.gn
CHECK_DIST_MANIFEST: '1'
@@ -246,6 +250,12 @@ step-get-more-space-on-mac: &step-get-more-space-on-mac
command: |
if [ "`uname`" == "Darwin" ]; then
sudo rm -rf /Library/Developer/CoreSimulator
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform
sudo rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
fi
step-delete-git-directories: &step-delete-git-directories
@@ -1590,6 +1600,7 @@ jobs:
environment:
<<: *env-mac-large
<<: *env-debug-build
<<: *env-mac-debug-build
<<: *env-enable-sccache
<<: *env-ninja-status
<<: *steps-electron-build
@@ -1652,6 +1663,7 @@ jobs:
<<: *env-mac-large
<<: *env-mas
<<: *env-debug-build
<<: *env-mac-debug-build
<<: *env-enable-sccache
<<: *env-ninja-status
<<: *steps-electron-build
@@ -363,7 +363,8 @@ source_set("electron_lib") {
"//components/certificate_transparency",
"//components/language/core/browser",
"//components/net_log",
"//components/network_hints/common",
"//components/network_hints/browser",
"//components/network_hints/common:mojo_bindings",
"//components/network_hints/renderer",
"//components/network_session_configurator/common",
"//components/prefs",
2 DEPS
@@ -11,7 +11,7 @@ gclient_gn_args = [

vars = {
'chromium_version':
'62521aaefdef5b345dd470f14eef6e44732ccf23',
'dc9525d251bf30828899e4cd7161f6dc6507023f',
'node_version':
'v12.13.0',
'nan_version':
@@ -1,5 +1,4 @@
is_electron_build = true
use_jumbo_build = true
root_extra_deps = [ "//electron" ]

# Registry of NMVs --> https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json
@@ -5,4 +5,3 @@ is_debug = false
is_component_build = false
is_component_ffmpeg = false
symbol_level = 1
use_jumbo_build = true
@@ -1,9 +1,50 @@
import("//build/config/mac/mac_sdk.gni")

# This is imported from /ios becuase this functionality was moved
# after Chromium stopped using xib files for macOS menu functionality
# See https://chromium-review.googlesource.com/c/chromium/src/+/1648695
import("//build/config/ios/rules.gni")
# Template to compile .xib and .storyboard files.
# (copied from src/build/config/ios/rules.gni)
#
# Arguments
#
# sources:
# list of string, sources to compile
#
# ibtool_flags:
# (optional) list of string, additional flags to pass to the ibtool
template("compile_ib_files") {
action_foreach(target_name) {
forward_variables_from(invoker,
[
"testonly",
"visibility",
])
assert(defined(invoker.sources),
"sources must be specified for $target_name")
assert(defined(invoker.output_extension),
"output_extension must be specified for $target_name")

ibtool_flags = []
if (defined(invoker.ibtool_flags)) {
ibtool_flags = invoker.ibtool_flags
}

_output_extension = invoker.output_extension

script = "//build/config/ios/compile_ib_files.py"
sources = invoker.sources
outputs = [
"$target_gen_dir/$target_name/{{source_name_part}}.$_output_extension",
]
args = [
"--input",
"{{source}}",
"--output",
rebase_path(
"$target_gen_dir/$target_name/{{source_name_part}}.$_output_extension",
root_build_dir),
]
args += ibtool_flags
}
}

# Template is copied here from Chromium but was removed in
# https://chromium-review.googlesource.com/c/chromium/src/+/1637981
@@ -40,6 +40,8 @@ static_library("chrome") {
"//chrome/browser/net/proxy_service_factory.h",
"//chrome/browser/predictors/preconnect_manager.cc",
"//chrome/browser/predictors/preconnect_manager.h",
"//chrome/browser/predictors/predictors_features.cc",
"//chrome/browser/predictors/predictors_features.h",
"//chrome/browser/predictors/proxy_lookup_client_impl.cc",
"//chrome/browser/predictors/proxy_lookup_client_impl.h",
"//chrome/browser/predictors/resolve_host_client_impl.cc",
@@ -319,6 +321,7 @@ source_set("chrome_spellchecker") {
"//chrome/browser/spellchecker/spellcheck_language_policy_handler.h",
"//chrome/browser/spellchecker/spellcheck_service.cc",
"//chrome/browser/spellchecker/spellcheck_service.h",
"//chrome/common/pref_names.h",
]

if (has_spellcheck_panel) {

0 comments on commit 9a198e8

Please sign in to comment.
You can’t perform that action at this time.