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

Unified Diff: test/assembly/src/override.gyp

Issue 11363143: ninja windows: Support x64 configuration platform (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: allow rule override of asm on windows + test Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/assembly/gyptest-override.py ('k') | test/assembly/src/override_asm.asm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/assembly/src/override.gyp
===================================================================
--- test/assembly/src/override.gyp (revision 0)
+++ test/assembly/src/override.gyp (revision 0)
@@ -0,0 +1,34 @@
+# Copyright (c) 2012 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'program',
+ 'type': 'executable',
+ 'sources': [
+ 'program.c',
+ 'override_asm.asm',
+ ],
+ 'rules': [
+ {
+ # Test that if there's a specific .asm rule, it overrides the
+ # built in one on Windows.
+ 'rule_name': 'assembler',
+ 'msvs_cygwin_shell': 0,
+ 'extension': 'asm',
+ 'inputs': [
+ 'as.bat',
+ ],
+ 'outputs': [
+ 'output.obj',
+ ],
+ 'action': ['as.bat', 'lib1.c', '<(_outputs)'],
+ 'message': 'Building assembly file <(RULE_INPUT_PATH)',
+ 'process_outputs_as_sources': 1,
+ },
+ ],
+ },
+ ],
+}
Property changes on: test\assembly\src\override.gyp
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « test/assembly/gyptest-override.py ('k') | test/assembly/src/override_asm.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698