| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/env python |
| 2 |
| 3 # Copyright (c) 2011 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 Verifies that precompiled headers can be specified. |
| 9 """ |
| 10 |
| 11 import TestGyp |
| 12 |
| 13 test = TestGyp.TestGyp(formats=['msvs'], workdir='workarea_all') |
| 14 |
| 15 test.run_gyp('buildevents.gyp', '-G', 'msvs_version=2008') |
| 16 test.must_contain('main.vcproj', 'Name="VCPreBuildEventTool"') |
| 17 test.must_contain('main.vcproj', 'Name="VCPostBuildEventTool"') |
| 18 |
| 19 test.run_gyp('buildevents.gyp', '-G', 'msvs_version=2010') |
| 20 test.must_contain('main.vcxproj', '<PreBuildEvent>') |
| 21 test.must_contain('main.vcxproj', '<PostBuildEvent>') |
| 22 |
| 23 test.pass_test() |
| OLD | NEW |