Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2016 Microsoft. All rights reserved. | |
|
scottmg
2016/04/04 22:05:18
Same.
munyirik
2016/04/11 20:07:10
Acknowledged.
| |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import TestGyp | |
| 6 | |
| 7 import os | |
| 8 import sys | |
| 9 | |
| 10 if (sys.platform == 'win32' and | |
| 11 int(os.environ.get('GYP_MSVS_VERSION', 0)) == 2015): | |
|
scottmg
2016/04/04 22:05:17
>= 2015?
munyirik
2016/04/11 20:07:10
Acknowledged.
| |
| 12 test = TestGyp.TestGyp(formats=['msvs']) | |
| 13 | |
| 14 CHDIR = 'compiler-flags' | |
| 15 | |
| 16 test.run_gyp('compile-as-winrt.gyp', chdir=CHDIR) | |
| 17 | |
| 18 test.build('compile-as-winrt.gyp', 'test-compile-as-winrt', chdir=CHDIR) | |
| 19 | |
| 20 test.pass_test() | |
| OLD | NEW |