Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env python | |
| 2 | |
| 3 # Copyright (c) 2014 Google Inc. All rights reserved. | |
| 4 # Use of this source code is governed by a BSD-style license that can be | |
| 5 # found in the LICENSE file. | |
| 6 | |
| 7 """ | |
| 8 Make sure the /safeseh option can be passed to ml. | |
|
wtc
2014/04/10 02:42:00
Do I need to add this test (gyptest-ml-safeseh.py)
scottmg
2014/04/10 03:31:51
No, they're globbed.
| |
| 9 """ | |
| 10 | |
| 11 import TestGyp | |
| 12 | |
| 13 import sys | |
| 14 | |
| 15 if sys.platform == 'win32': | |
|
wtc
2014/04/10 02:42:00
This test is only applicable to 32-bit x86 (ia32)
| |
| 16 test = TestGyp.TestGyp(formats=['ninja']) | |
|
wtc
2014/04/10 02:42:00
Although I removed 'msvs' from this line, gyptest.
scottmg
2014/04/10 03:31:51
That's as expected.
wtc
2014/04/10 18:21:48
I took a quick look at generator/msvs.py. It doesn
scottmg
2014/04/10 19:23:22
Yes, Chromium only uses ninja now, but we have his
| |
| 17 | |
| 18 CHDIR = 'ml-safeseh' | |
| 19 test.run_gyp('ml-safeseh.gyp', chdir=CHDIR) | |
| 20 test.build('ml-safeseh.gyp', test.ALL, chdir=CHDIR) | |
| 21 | |
| 22 test.pass_test() | |
| OLD | NEW |