OLD | NEW |
1 # Copyright (c) 2013 Google Inc. All rights reserved. | 1 # Copyright (c) 2013 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 'targets': [ | 5 'targets': [ |
6 { | 6 { |
7 'target_name': 'resource', | 7 'target_name': 'resource', |
8 'type': 'executable', | 8 'type': 'executable', |
9 'mac_bundle': 1, | 9 'mac_bundle': 1, |
10 'mac_bundle_resources': [ | 10 'mac_bundle_resources': [ |
11 'secret.txt', | 11 'secret.txt', |
| 12 'executable-file.sh', |
12 ], | 13 ], |
13 }, | 14 }, |
14 # A rule with process_outputs_as_mac_bundle_resources should copy files | 15 # A rule with process_outputs_as_mac_bundle_resources should copy files |
15 # into the Resources folder. | 16 # into the Resources folder. |
16 { | 17 { |
17 'target_name': 'source_rule', | 18 'target_name': 'source_rule', |
18 'type': 'executable', | 19 'type': 'executable', |
19 'mac_bundle': 1, | 20 'mac_bundle': 1, |
20 'sources': [ | 21 'sources': [ |
21 'secret.txt', | 22 'secret.txt', |
(...skipping 27 matching lines...) Expand all Loading... |
49 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).txt', | 50 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).txt', |
50 ], | 51 ], |
51 'action': ['./change.sh', '<(RULE_INPUT_PATH)', '<@(_outputs)'], | 52 'action': ['./change.sh', '<(RULE_INPUT_PATH)', '<@(_outputs)'], |
52 'message': 'Running rule on <(RULE_INPUT_PATH)', | 53 'message': 'Running rule on <(RULE_INPUT_PATH)', |
53 }, | 54 }, |
54 ], | 55 ], |
55 }, | 56 }, |
56 ], | 57 ], |
57 } | 58 } |
58 | 59 |
OLD | NEW |