From 0660fb3f259f9d33d25c04532948a501c9dedfe5 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Thu, 21 Jun 2018 16:43:41 -0700 Subject: [PATCH] chore: [gn] fix DEPS to work on windows --- DEPS | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DEPS b/DEPS index f018c745ae45..e040fcca32c2 100644 --- a/DEPS +++ b/DEPS @@ -36,6 +36,7 @@ deps = { hooks = [ { 'action': [ + 'python', 'src/libchromiumcontent/script/apply-patches' ], 'pattern': @@ -45,6 +46,7 @@ hooks = [ }, { 'action': [ + 'python', 'src/electron/script/update-external-binaries.py' ], 'pattern': @@ -54,9 +56,9 @@ hooks = [ }, { 'action': [ - 'bash', + 'python', '-c', - 'cd src/electron; npm install', + 'import os; os.chdir("src"); os.chdir("electron"); os.system("npm install")', ], 'pattern': 'src/electron/package.json', 'name': 'electron_npm_deps'