Merge pull request #13376 from electron/gn-windows-deps

chore: [gn] fix DEPS to work on windows
This commit is contained in:
John Kleinschmidt 2018-06-22 10:53:36 -04:00 committed by GitHub
commit 8b6d4b6f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
DEPS
View file

@ -36,6 +36,7 @@ deps = {
hooks = [ hooks = [
{ {
'action': [ 'action': [
'python',
'src/libchromiumcontent/script/apply-patches' 'src/libchromiumcontent/script/apply-patches'
], ],
'pattern': 'pattern':
@ -45,6 +46,7 @@ hooks = [
}, },
{ {
'action': [ 'action': [
'python',
'src/electron/script/update-external-binaries.py' 'src/electron/script/update-external-binaries.py'
], ],
'pattern': 'pattern':
@ -54,9 +56,9 @@ hooks = [
}, },
{ {
'action': [ 'action': [
'bash', 'python',
'-c', '-c',
'cd src/electron; npm install', 'import os; os.chdir("src"); os.chdir("electron"); os.system("npm install")',
], ],
'pattern': 'src/electron/package.json', 'pattern': 'src/electron/package.json',
'name': 'electron_npm_deps' 'name': 'electron_npm_deps'