blob: 2462bdceda6282b92327f8e4cf318c8404decc92 [file] [log] [blame]
kjellander@webrtc.org59343ee2014-04-29 09:36:40 +00001#!/usr/bin/env python
2#
3# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
4#
5# Use of this source code is governed by a BSD-style license
6# that can be found in the LICENSE file in the root of the source
7# tree. An additional intellectual property rights grant can be found
8# in the file PATENTS. All contributing project authors may
9# be found in the AUTHORS file in the root of the source tree.
10
11# This script is used to run the vs_toolchain.py script to download the
12# Visual Studio toolchain. It's just a temporary measure while waiting for the
13# Chrome team to move find_depot_tools into src/build to get rid of these
14# workarounds (similar one in gyp_webrtc).
15
16import os
17import sys
18
19
20script_dir = os.path.dirname(os.path.realpath(__file__))
21checkout_root = os.path.abspath(os.path.join(script_dir, os.pardir, os.pardir))
22sys.path.insert(0, os.path.join(checkout_root, 'build'))
23sys.path.insert(0, os.path.join(checkout_root, 'tools', 'find_depot_tools'))
24
25
26import vs_toolchain
27
28
29if __name__ == '__main__':
30 sys.exit(vs_toolchain.main())