From 1152fe2247700c22fc71ea55f3ee687f71bdc5aa Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Mon, 28 Apr 2014 15:46:32 +0000 Subject: [PATCH] Only download the VS toolchain if DEPOT_TOOLS_WIN_TOOLCHAIN=1. BUG=b/13171670 R=fbarchard@google.com, kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/15409004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5999 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/build/gyp_webrtc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webrtc/build/gyp_webrtc b/webrtc/build/gyp_webrtc index 9ac4c14136..68add4b286 100755 --- a/webrtc/build/gyp_webrtc +++ b/webrtc/build/gyp_webrtc @@ -61,7 +61,9 @@ if __name__ == '__main__': if not os.environ.get('GYP_GENERATORS'): os.environ['GYP_GENERATORS'] = 'ninja' - vs2013_runtime_dll_dirs = vs_toolchain.DownloadVsToolchain() + vs2013_runtime_dll_dirs = None + if int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN', '1')): + vs2013_runtime_dll_dirs = vs_toolchain.DownloadVsToolchain() # Enforce gyp syntax checking. This adds about 20% execution time. args.append('--check')