3 # Copyright 2016 Google Inc.
5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file.
11 msvc = int(sys.argv[1])
20 # just assume it is installed to the default location
21 print 'C:/Program Files (x86)/Microsoft Visual Studio 14.0'
23 # try each of the editions
24 root = 'C:/Program Files (x86)/Microsoft Visual Studio/2017/'
25 for edition in editions:
26 if os.path.exists(root + edition):