Skip to content

Commit

Permalink
build: make win on arm patches only apply for win on arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Aug 1, 2019
1 parent e7116e7 commit 0b62702
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
13 changes: 13 additions & 0 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ vars = {
# To be able to build clean Chromium from sources.
'apply_patches': True,

# Apply the patches specific to windows on arm64
'apply_win_arm64_patches': False,

# Python interface to Amazon Web Services. Is used for releases only.
'checkout_boto': False,

Expand Down Expand Up @@ -96,6 +99,16 @@ hooks = [
'src/electron/patches/common/config.json',
],
},
{
'name': 'patch_chromium',
'condition': 'checkout_chromium and apply_patches and apply_win_arm64_patches',
'pattern': 'src/electron',
'action': [
'python',
'src/electron/script/apply_all_patches.py',
'src/electron/patches/win_arm64/config.json',
],
},
{
'name': 'electron_external_binaries',
'pattern': 'src/electron/script/update-external-binaries.py',
Expand Down
1 change: 1 addition & 0 deletions patches/win_arm64/chromium/.patches
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
backport_crashpad_cpu_context_capture.patch
5 changes: 5 additions & 0 deletions patches/win_arm64/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"src/electron/patches/win_arm64/chromium": "src",

"src/electron/patches/win_arm64/v8": "src/v8"
}
1 change: 1 addition & 0 deletions patches/win_arm64/v8/.patches
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unwind_v8_frames_correctly_on_windows_arm64.patch

0 comments on commit 0b62702

Please sign in to comment.