| OLD | NEW |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 1 { | 5 { |
| 2 'targets': [ | 6 'targets': [ |
| 3 { | 7 { |
| 4 'target_name': 'file', | 8 'target_name': 'file', |
| 5 'type': 'none', | 9 'type': 'none', |
| 6 'msvs_cygwin_shell': 0, | 10 'msvs_cygwin_shell': 0, |
| 7 'actions': [ | 11 'actions': [ |
| 8 { | 12 { |
| 9 'action_name': 'make-file', | 13 'action_name': 'make-file', |
| 10 'inputs': [ | 14 'inputs': [ |
| 11 'make-file.py', | 15 'make-file.py', |
| 12 ], | 16 ], |
| 13 'outputs': [ | 17 'outputs': [ |
| 14 'file.out', | 18 'file.out', |
| 15 # TODO: enhance testing infrastructure to test this | 19 # TODO: enhance testing infrastructure to test this |
| 16 # without having to hard-code the intermediate dir paths. | 20 # without having to hard-code the intermediate dir paths. |
| 17 #'<(INTERMEDIATE_DIR)/file.out', | 21 #'<(INTERMEDIATE_DIR)/file.out', |
| 18 ], | 22 ], |
| 19 'action': [ | 23 'action': [ |
| 20 'python', '<(_inputs)', '<@(_outputs)', | 24 'python', '<(_inputs)', '<@(_outputs)', |
| 21 ], | 25 ], |
| 22 'process_outputs_as_sources': 1, | 26 'process_outputs_as_sources': 1, |
| 23 } | 27 } |
| 24 ], | 28 ], |
| 25 }, | 29 }, |
| 26 ], | 30 ], |
| 27 } | 31 } |
| OLD | NEW |