chore: [gn] fix DEPS to work on windows
This commit is contained in:
parent
aa4ca406c8
commit
0660fb3f25
1 changed files with 4 additions and 2 deletions
6
DEPS
6
DEPS
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue