2022-03-25 01:39:03 +00:00
|
|
|
gclient_gn_args_from = 'src'
|
2018-10-02 22:34:23 +00:00
|
|
|
|
2018-05-03 22:44:29 +00:00
|
|
|
vars = {
|
2018-09-21 00:38:48 +00:00
|
|
|
'chromium_version':
|
chore: bump chromium to 118.0.5975.0 (main) (#39531)
* chore: bump chromium in DEPS to 118.0.5951.0
* chore: update printing.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4727894
No logic changes, but patch needed to be manually re-applied due to upstream code shear
* chore: update port_autofill_colors_to_the_color_pipeline.patch
No manual changes; patch applied with fuzz
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5953.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5955.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5957.0
* chore: update patches
* chore: include path of native_web_keyboard_event.h
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4758689
* chore: remove reference to eextensions/browser/notification-types.h
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4771627
* chore: update references to renamed upstream field NativeWebKeyboardEvent.skip_if_unhandled (formerly known as skip_in_browser
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4758689
Need a second pair of eyes on this commit. In particular the reference in content_converter.cc, skipInBrowser, seems to not be set or documented anywhere? Is this unused/vestigal code?
* chore: sync signature of ElectronExtensionsBrowserClient::IsValidContext() to upstream change
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4784198
* chore: add auto_pip_setting_helper.[cc,h] to chromium_src build
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/4688277
Exiting upstream code used by chromium_src now depends on this new upstream class
* chore: bump chromium in DEPS to 118.0.5959.0
* chore: update add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
Xref: add_maximized_parameter_to_linuxui_getwindowframeprovider.patch
manually adjust patch to minor upstream chagnes
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5961.0
* chore: bump chromium in DEPS to 118.0.5963.0
* chore: update patches
* 4780994: Rename various base files to "apple" since iOS uses them too
https://chromium-review.googlesource.com/c/chromium/src/+/4780994
* Many files moved from `mac` -> `apple`
This commit follows a handful of CLs that simply rename files/symbols to change `mac`
to `apple`
to signify their use across both macOS and iOS:
- 4784010: Move scoped_nsautorelease_pool to base/apple, leave a forwarding header
- 4790744: Move foundation_util to base/apple, leave a forwarding header
- 4790741: Move scoped_cftypreref to base/apple, leave a forwarding header
- 4787627: Move and rename macOS+iOS base/ files in PA to "apple"
- 4780399: Move OSStatus logging to base/apple
- 4787387: Remove forwarding headers
- 4781113: Rename message_pump_mac to "apple" because iOS uses it too
* fixup minor patch update error
A function param got dropped from this patch somewhere earlier
* chore: bump chromium in DEPS to 118.0.5965.2
* chore: update patches
* 4799213: Move ScopedTypeRef and ScopedCFTypeRef into base::apple::
https://chromium-review.googlesource.com/c/chromium/src/+/4799213
* Fix removed include to BrowserContext
In crrev.com/c/4767962 an include to BrowserContext was removed,
which was necessary for compilation. This broke only for us because
"chrome/browser/profiles/profile.h" includes that class, but we remove
all references to profiles.
* chore: bump chromium in DEPS to 118.0.5967.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5969.0
* chore: update patches
* chore: bump chromium in DEPS to 118.0.5971.0
* chore: bump chromium in DEPS to 118.0.5973.0
* chore: update patches
* 4772121: [OOPIF PDF] Replace PDFWebContentsHelper with PDFDocumentHelper
https://chromium-review.googlesource.com/c/chromium/src/+/4772121
* 4811164: [Extensions] Do some cleanup in ChromeManagementAPIDelegate.
https://chromium-review.googlesource.com/c/chromium/src/+/4811164
* 4809488: Remove duplicate dnd functionality between Web and Renderer prefs
https://chromium-review.googlesource.com/c/chromium/src/+/4809488
Given that this is no longer an option of web preferences, we should
consider deprecating this option and then removing it.
* chore: bump chromium in DEPS to 118.0.5975.0
* chore: update patches
* fixup! chore: add auto_pip_settings_helper.{cc|h} to chromium_src build
* Reland "[windows] Remove RegKey::DeleteEmptyKey"
Refs https://chromium-review.googlesource.com/c/chromium/src/+/4813255
* Ensure StrCat means StrCat
Refs https://chromium-review.googlesource.com/c/chromium/src/+/1117180
* fixup! Remove RegKey::DeleteEmptyKey
* Consistently reject large p and large q in DH
Refs https://boringssl-review.googlesource.com/c/boringssl/+/62226
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2023-09-01 06:54:59 +00:00
|
|
|
'118.0.5975.0',
|
2018-09-21 00:38:48 +00:00
|
|
|
'node_version':
|
2023-08-15 08:06:55 +00:00
|
|
|
'v18.17.1',
|
2019-05-29 19:38:17 +00:00
|
|
|
'nan_version':
|
2022-05-17 16:48:40 +00:00
|
|
|
'16fa32231e2ccd89d2804b3f765319128b20c4ac',
|
2020-07-03 02:42:40 +00:00
|
|
|
'squirrel.mac_version':
|
2021-06-21 05:02:20 +00:00
|
|
|
'0e5d146ba13101a1302d59ea6e6e0b3cace4ae38',
|
2023-05-29 08:44:21 +00:00
|
|
|
'reactiveobjc_version':
|
|
|
|
'74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76',
|
|
|
|
'mantle_version':
|
|
|
|
'78d3966b3c331292ea29ec38661b25df0a245948',
|
2018-05-03 22:44:29 +00:00
|
|
|
|
2018-10-05 22:21:46 +00:00
|
|
|
'pyyaml_version': '3.12',
|
2018-10-05 00:20:25 +00:00
|
|
|
|
2018-10-05 22:21:46 +00:00
|
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
|
|
'electron_git': 'https://github.com/electron',
|
2019-07-02 20:54:22 +00:00
|
|
|
'nodejs_git': 'https://github.com/nodejs',
|
2018-10-05 22:21:46 +00:00
|
|
|
'yaml_git': 'https://github.com/yaml',
|
2020-07-03 02:42:40 +00:00
|
|
|
'squirrel_git': 'https://github.com/Squirrel',
|
2023-05-29 08:44:21 +00:00
|
|
|
'reactiveobjc_git': 'https://github.com/ReactiveCocoa',
|
|
|
|
'mantle_git': 'https://github.com/Mantle',
|
2023-08-15 15:49:41 +00:00
|
|
|
|
|
|
|
# The path of the sysroots.json file.
|
|
|
|
'sysroots_json_path': 'electron/script/sysroots.json',
|
2018-10-05 00:20:25 +00:00
|
|
|
|
2019-05-29 19:38:17 +00:00
|
|
|
# KEEP IN SYNC WITH utils.js FILE
|
2019-04-30 20:59:47 +00:00
|
|
|
'yarn_version': '1.15.2',
|
|
|
|
|
2018-10-11 13:10:26 +00:00
|
|
|
# To be able to build clean Chromium from sources.
|
|
|
|
'apply_patches': True,
|
|
|
|
|
2020-10-20 18:49:57 +00:00
|
|
|
# To use an mtime cache for patched files to speed up builds.
|
|
|
|
'use_mtime_cache': True,
|
|
|
|
|
2018-10-24 17:50:36 +00:00
|
|
|
# To allow in-house builds to checkout those manually.
|
|
|
|
'checkout_chromium': True,
|
|
|
|
'checkout_node': True,
|
2019-05-29 19:38:17 +00:00
|
|
|
'checkout_nan': True,
|
2020-05-26 20:06:26 +00:00
|
|
|
'checkout_pgo_profiles': True,
|
2018-10-24 17:50:36 +00:00
|
|
|
|
2018-11-05 15:19:00 +00:00
|
|
|
# It's only needed to parse the native tests configurations.
|
|
|
|
'checkout_pyyaml': False,
|
|
|
|
|
2021-03-04 22:33:36 +00:00
|
|
|
'use_rts': False,
|
|
|
|
|
2020-07-14 01:13:34 +00:00
|
|
|
'mac_xcode_version': 'default',
|
|
|
|
|
2021-06-22 19:17:16 +00:00
|
|
|
'generate_location_tags': False,
|
|
|
|
|
2019-04-22 22:36:59 +00:00
|
|
|
# To allow running hooks without parsing the DEPS tree
|
|
|
|
'process_deps': True,
|
|
|
|
|
2018-10-02 22:34:23 +00:00
|
|
|
'checkout_nacl':
|
|
|
|
False,
|
|
|
|
'checkout_libaom':
|
|
|
|
True,
|
|
|
|
'checkout_oculus_sdk':
|
|
|
|
False,
|
2019-09-18 19:58:00 +00:00
|
|
|
'checkout_openxr':
|
|
|
|
False,
|
2018-10-02 22:34:23 +00:00
|
|
|
'build_with_chromium':
|
|
|
|
True,
|
|
|
|
'checkout_android':
|
|
|
|
False,
|
|
|
|
'checkout_android_native_support':
|
|
|
|
False,
|
2020-01-17 18:41:52 +00:00
|
|
|
'checkout_google_benchmark':
|
|
|
|
False,
|
2020-11-05 01:24:17 +00:00
|
|
|
'checkout_clang_tidy':
|
|
|
|
True,
|
2018-05-03 22:44:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
deps = {
|
2018-10-24 17:50:36 +00:00
|
|
|
'src': {
|
|
|
|
'url': (Var("chromium_git")) + '/chromium/src.git@' + (Var("chromium_version")),
|
2019-04-22 22:36:59 +00:00
|
|
|
'condition': 'checkout_chromium and process_deps',
|
2018-10-24 17:50:36 +00:00
|
|
|
},
|
2019-05-29 19:38:17 +00:00
|
|
|
'src/third_party/nan': {
|
|
|
|
'url': (Var("nodejs_git")) + '/nan.git@' + (Var("nan_version")),
|
|
|
|
'condition': 'checkout_nan and process_deps',
|
|
|
|
},
|
2018-10-24 17:50:36 +00:00
|
|
|
'src/third_party/electron_node': {
|
2019-07-16 17:23:04 +00:00
|
|
|
'url': (Var("nodejs_git")) + '/node.git@' + (Var("node_version")),
|
2019-04-22 22:36:59 +00:00
|
|
|
'condition': 'checkout_node and process_deps',
|
2018-10-24 17:50:36 +00:00
|
|
|
},
|
2021-04-28 07:38:08 +00:00
|
|
|
'src/third_party/pyyaml': {
|
2018-11-05 15:19:00 +00:00
|
|
|
'url': (Var("yaml_git")) + '/pyyaml.git@' + (Var("pyyaml_version")),
|
2019-04-22 22:36:59 +00:00
|
|
|
'condition': 'checkout_pyyaml and process_deps',
|
2018-11-05 15:19:00 +00:00
|
|
|
},
|
2020-07-03 02:42:40 +00:00
|
|
|
'src/third_party/squirrel.mac': {
|
|
|
|
'url': Var("squirrel_git") + '/Squirrel.Mac.git@' + Var("squirrel.mac_version"),
|
|
|
|
'condition': 'process_deps',
|
|
|
|
},
|
|
|
|
'src/third_party/squirrel.mac/vendor/ReactiveObjC': {
|
2023-05-29 08:44:21 +00:00
|
|
|
'url': Var("reactiveobjc_git") + '/ReactiveObjC.git@' + Var("reactiveobjc_version"),
|
2020-07-03 02:42:40 +00:00
|
|
|
'condition': 'process_deps'
|
|
|
|
},
|
|
|
|
'src/third_party/squirrel.mac/vendor/Mantle': {
|
2023-05-29 08:44:21 +00:00
|
|
|
'url': Var("mantle_git") + '/Mantle.git@' + Var("mantle_version"),
|
2020-07-03 02:42:40 +00:00
|
|
|
'condition': 'process_deps',
|
|
|
|
}
|
2018-05-03 22:44:29 +00:00
|
|
|
}
|
|
|
|
|
2020-10-20 18:49:57 +00:00
|
|
|
pre_deps_hooks = [
|
|
|
|
{
|
|
|
|
'name': 'generate_mtime_cache',
|
|
|
|
'condition': '(checkout_chromium and apply_patches and use_mtime_cache) and process_deps',
|
|
|
|
'pattern': 'src/electron',
|
|
|
|
'action': [
|
|
|
|
'python3',
|
|
|
|
'src/electron/script/patches-mtime-cache.py',
|
|
|
|
'generate',
|
|
|
|
'--cache-file',
|
|
|
|
'src/electron/patches/mtime-cache.json',
|
|
|
|
'--patches-config',
|
|
|
|
'src/electron/patches/config.json',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
2018-05-03 22:44:29 +00:00
|
|
|
hooks = [
|
|
|
|
{
|
2018-10-05 22:21:46 +00:00
|
|
|
'name': 'patch_chromium',
|
2019-04-22 22:36:59 +00:00
|
|
|
'condition': '(checkout_chromium and apply_patches) and process_deps',
|
2018-10-05 22:21:46 +00:00
|
|
|
'pattern': 'src/electron',
|
2018-05-03 22:44:29 +00:00
|
|
|
'action': [
|
2020-07-06 20:12:23 +00:00
|
|
|
'python3',
|
2018-10-24 18:24:11 +00:00
|
|
|
'src/electron/script/apply_all_patches.py',
|
2019-06-05 23:36:17 +00:00
|
|
|
'src/electron/patches/config.json',
|
2018-05-03 22:44:29 +00:00
|
|
|
],
|
|
|
|
},
|
2020-10-20 18:49:57 +00:00
|
|
|
{
|
|
|
|
'name': 'apply_mtime_cache',
|
|
|
|
'condition': '(checkout_chromium and apply_patches and use_mtime_cache) and process_deps',
|
|
|
|
'pattern': 'src/electron',
|
|
|
|
'action': [
|
|
|
|
'python3',
|
|
|
|
'src/electron/script/patches-mtime-cache.py',
|
|
|
|
'apply',
|
|
|
|
'--cache-file',
|
|
|
|
'src/electron/patches/mtime-cache.json',
|
|
|
|
],
|
|
|
|
},
|
2018-05-03 22:44:29 +00:00
|
|
|
{
|
2018-10-05 22:21:46 +00:00
|
|
|
'name': 'electron_npm_deps',
|
|
|
|
'pattern': 'src/electron/package.json',
|
2018-05-03 22:44:29 +00:00
|
|
|
'action': [
|
2020-07-06 20:12:23 +00:00
|
|
|
'python3',
|
2018-05-03 22:44:29 +00:00
|
|
|
'-c',
|
2020-12-07 18:57:41 +00:00
|
|
|
'import os, subprocess; os.chdir(os.path.join("src", "electron")); subprocess.check_call(["python3", "script/lib/npx.py", "yarn@' + (Var("yarn_version")) + '", "install", "--frozen-lockfile"]);',
|
2018-05-03 22:44:29 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
recursedeps = [
|
|
|
|
'src',
|
|
|
|
]
|