chore: [gn] fix DEPS to work on windows

This commit is contained in:
Jeremy Apthorp 2018-06-21 16:43:41 -07:00
parent aa4ca406c8
commit 0660fb3f25

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'