Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 1 | # Copyright (c) 2014 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': 'no_pool', |
| 9 | 'type': 'none', |
| 10 | 'actions': [ |
| 11 | { |
| 12 | 'action_name': 'some_action', |
| 13 | 'action': ['echo', 'hello'], |
| 14 | 'inputs': ['foo.bar'], |
| 15 | 'outputs': ['dummy'], |
| 16 | }, |
| 17 | ], |
| 18 | 'rules': [ |
| 19 | { |
| 20 | 'rule_name': 'some_rule', |
| 21 | 'extension': 'bar', |
| 22 | 'action': ['echo', 'hello'], |
| 23 | 'outputs': ['dummy'], |
| 24 | }, |
| 25 | ], |
| 26 | 'sources': [ |
| 27 | 'foo.bar', |
| 28 | ], |
| 29 | }, |
| 30 | { |
| 31 | 'target_name': 'action_pool', |
| 32 | 'type': 'none', |
| 33 | 'actions': [ |
| 34 | { |
| 35 | 'action_name': 'some_action', |
| 36 | 'action': ['echo', 'hello'], |
| 37 | 'inputs': ['foo.bar'], |
| 38 | 'outputs': ['dummy'], |
| 39 | 'ninja_use_console': 1, |
| 40 | }, |
| 41 | ], |
| 42 | }, |
| 43 | { |
| 44 | 'target_name': 'rule_pool', |
| 45 | 'type': 'none', |
| 46 | 'rules': [ |
| 47 | { |
| 48 | 'rule_name': 'some_rule', |
| 49 | 'extension': 'bar', |
| 50 | 'action': ['echo', 'hello'], |
| 51 | 'outputs': ['dummy'], |
| 52 | 'ninja_use_console': 1, |
| 53 | }, |
| 54 | ], |
| 55 | 'sources': [ |
| 56 | 'foo.bar', |
| 57 | ], |
| 58 | }, |
| 59 | ], |
| 60 | } |