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

Side by Side Diff: test/rules/src/subdir4/build-asm.gyp

Issue 11363143: ninja windows: Support x64 configuration platform (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: remove unrelated file 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2009 Google Inc. All rights reserved. 1 # Copyright (c) 2009 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This one tests that assembly files ended as .s and .S are compiled. 5 # This one tests that assembly files ended as .s and .S are compiled.
6 6
7 { 7 {
8 'target_defaults': { 8 'target_defaults': {
9 'conditions': [ 9 'conditions': [
10 ['OS=="win"', { 10 ['OS=="win"', {
11 'defines': ['PLATFORM_WIN'], 11 'defines': ['PLATFORM_WIN'],
12 }], 12 }],
13 ['OS=="mac"', { 13 ['OS=="mac"', {
14 'defines': ['PLATFORM_MAC'], 14 'defines': ['PLATFORM_MAC'],
15 }], 15 }],
16 ['OS=="linux"', { 16 ['OS=="linux"', {
17 'defines': ['PLATFORM_LINUX'], 17 'defines': ['PLATFORM_LINUX'],
18 }], 18 }],
19 ], 19 ],
20 }, 20 },
21 'targets': [ 21 'targets': [
22 { 22 {
23 'target_name': 'program4', 23 'target_name': 'program4',
24 'type': 'executable', 24 'type': 'executable',
25 'sources': [ 25 'sources': [
26 'asm-function.asm', 26 'asm-function.assem',
scottmg 2012/11/09 18:04:05 We _weren't_ running the implicit .asm build rule
27 'program.c', 27 'program.c',
28 ], 28 ],
29 'conditions': [ 29 'conditions': [
30 ['OS=="linux" or OS=="mac"', { 30 ['OS=="linux" or OS=="mac"', {
31 'rules': [ 31 'rules': [
32 { 32 {
33 'rule_name': 'convert_asm', 33 'rule_name': 'convert_assem',
34 'extension': 'asm', 34 'extension': 'assem',
35 'inputs': [], 35 'inputs': [],
36 'outputs': [ 36 'outputs': [
37 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).S', 37 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).S',
38 ], 38 ],
39 'action': [ 39 'action': [
40 'bash', '-c', 'mv <(RULE_INPUT_PATH) <@(_outputs)', 40 'bash', '-c', 'mv <(RULE_INPUT_PATH) <@(_outputs)',
41 ], 41 ],
42 'process_outputs_as_sources': 1, 42 'process_outputs_as_sources': 1,
43 }, 43 },
44 ], 44 ],
45 }], 45 }],
46 ], 46 ],
47 }, 47 },
48 ], 48 ],
49 } 49 }
OLDNEW
« pylib/gyp/msvs_emulation.py ('K') | « test/rules/src/subdir4/asm-function.assem ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698