OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'test_batch', |
| 9 'type': 'none', |
| 10 'rules': [ |
| 11 { |
| 12 'rule_name': 'build_with_batch', |
| 13 'msvs_cygwin_shell': 0, |
| 14 'extension': 'S', |
| 15 'inputs': ['<(RULE_INPUT_PATH)'], |
| 16 'outputs': ['output.obj'], |
| 17 'action': ['call go.bat', '<(RULE_INPUT_PATH)', 'output.obj'], |
| 18 },], |
| 19 'sources': ['a.S'], |
| 20 }, |
| 21 { |
| 22 'target_name': 'test_call_separate', |
| 23 'type': 'none', |
| 24 'rules': [ |
| 25 { |
| 26 'rule_name': 'build_with_batch2', |
| 27 'msvs_cygwin_shell': 0, |
| 28 'extension': 'S', |
| 29 'inputs': ['<(RULE_INPUT_PATH)'], |
| 30 'outputs': ['output2.obj'], |
| 31 'action': ['call', 'go.bat', '<(RULE_INPUT_PATH)', 'output2.obj'], |
| 32 },], |
| 33 'sources': ['a.S'], |
| 34 }, |
| 35 { |
| 36 'target_name': 'test_with_spaces', |
| 37 'type': 'none', |
| 38 'rules': [ |
| 39 { |
| 40 'rule_name': 'build_with_batch3', |
| 41 'msvs_cygwin_shell': 0, |
| 42 'extension': 'S', |
| 43 'inputs': ['<(RULE_INPUT_PATH)'], |
| 44 'outputs': ['output3.obj'], |
| 45 'action': ['bat with spaces.bat', '<(RULE_INPUT_PATH)', 'output3.obj'], |
| 46 },], |
| 47 'sources': ['a.S'], |
| 48 }, |
| 49 ] |
| 50 } |
OLD | NEW |