| Index: pylib/gyp/generator/msvs.py
|
| ===================================================================
|
| --- pylib/gyp/generator/msvs.py (revision 861)
|
| +++ pylib/gyp/generator/msvs.py (working copy)
|
| @@ -1174,11 +1174,9 @@
|
| def _AddRunAs(p, spec, user_file):
|
| # Add run_as and test targets.
|
| has_run_as = False
|
| - if spec.get('run_as') or int(spec.get('test', 0)):
|
| + run_as = spec.get('run_as')
|
| + if run_as:
|
| has_run_as = True
|
| - run_as = spec.get('run_as', {
|
| - 'action' : ['$(TargetPath)', '--gtest_print_time'],
|
| - })
|
| working_directory = run_as.get('working_directory', '.')
|
| action = run_as.get('action', [])
|
| environment = run_as.get('environment', [])
|
|
|