Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: test/win/gyptest-asm-files.py

Issue 10270020: ninja windows: make sure that .s files aren't passed to compiler (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: comment Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/win/asm-files/hello.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2012 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 .s files aren't passed to cl.
9 """
10
11 import TestGyp
12
13 import sys
14
15 if sys.platform == 'win32':
16 test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
17
18 CHDIR = 'asm-files'
19 test.run_gyp('asm-files.gyp', chdir=CHDIR)
20 # The compiler will error out if it's passed the .s files, so just make sure
21 # the build succeeds. The compiler doesn't directly support building
22 # assembler files on Windows, they have to be built explicitly with a
23 # third-party tool.
24 test.build('asm-files.gyp', test.ALL, chdir=CHDIR)
25
26 test.pass_test()
OLDNEW
« no previous file with comments | « test/win/asm-files/hello.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698