| # Copyright (c) 2012 Google Inc. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| { |
| 'targets': [ |
| { |
| 'target_name': 'empty_bundle', |
| 'type': 'loadable_module', |
| 'mac_bundle': 1, |
| }, |
| { |
| 'target_name': 'resource_bundle', |
| 'type': 'loadable_module', |
| 'mac_bundle': 1, |
| 'actions': [ |
| { |
| 'action_name': 'Add Resource', |
| 'inputs': [], |
| 'outputs': [ |
| '<(INTERMEDIATE_DIR)/app_manifest/foo.manifest', |
| ], |
| 'action': [ |
| 'touch', '<(INTERMEDIATE_DIR)/app_manifest/foo.manifest', |
| ], |
| 'process_outputs_as_mac_bundle_resources': 1, |
| }, |
| ], |
| }, |
| { |
| 'target_name': 'dependent_on_resource_bundle', |
| 'type': 'executable', |
| 'sources': [ 'empty.c' ], |
| 'dependencies': [ |
| 'resource_bundle', |
| ], |
| }, |
| ], |
| } |
| |