OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 declare_args() { |
| 6 # Version of Visual Studio to use. |
| 7 # |
| 8 # Possible values: |
| 9 # - "auto" |
| 10 # - "2010" |
| 11 # - "2010e" |
| 12 # - "2012" |
| 13 # - "2012e" |
| 14 # - "2013" |
| 15 # - "2013e" |
| 16 # |
| 17 # The "e" variants denote "Express". The default, "auto" will find the |
| 18 # preferred one of all Visual Studios installed on the current system. |
| 19 visual_studio_version = "auto" |
| 20 |
| 21 # The path to use as the root of a Visual Studio install. If nonempty, |
| 22 # this path will be used instead of any autodetected install locations, |
| 23 # which allows you to have the Visual Studio files in a directory without |
| 24 # actually "installing" it. |
| 25 # |
| 26 # When empty, we will autodetect the best Visual Studio path to use. The |
| 27 # autodetected one is usually something like |
| 28 # "C:\Program Files (x86)\Microsoft Visual Studio 10.0". |
| 29 visual_studio_path = "" |
| 30 } |
| 31 |
| 32 if (visual_studio_path == "") { |
| 33 visual_studio_path = exec_script("get_visual_studio_path.py", |
| 34 [ visual_studio_version ], "value") |
| 35 } |
| 36 |
OLD | NEW |