| OLD | NEW |
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 's_test', | 8 'target_name': 's_test', |
| 9 'type': 'executable', | 9 'type': 'executable', |
| 10 'rules': [ | 10 'rules': [ |
| 11 { | 11 { |
| 12 # Make sure this rule name doesn't cause an invalid ninja file. | 12 # Make sure this rule name doesn't cause an invalid ninja file. |
| 13 'rule_name': 'assembler (gnu-compatible)', | 13 'rule_name': 'rule name with odd characters ()/', |
| 14 'extension': 'S', | 14 'extension': 'S', |
| 15 'outputs': ['outfile'], | 15 'outputs': ['outfile'], |
| 16 'msvs_cygwin_shell': 0, | 16 'msvs_cygwin_shell': 0, |
| 17 'msvs_quote_cmd': 0, | 17 'msvs_quote_cmd': 0, |
| 18 'action': ['python', 'script.py', '<(RULE_INPUT_PATH)', 'outfile'], | 18 'action': ['python', 'script.py', '<(RULE_INPUT_PATH)', 'outfile'], |
| 19 }, | 19 }, |
| 20 ], | 20 ], |
| 21 'sources': [ | 21 'sources': [ |
| 22 'blah.S', | 22 'blah.S', |
| 23 'hello.cc', | 23 'hello.cc', |
| 24 ], | 24 ], |
| 25 }, | 25 }, |
| 26 ], | 26 ], |
| 27 } | 27 } |
| OLD | NEW |