Home | History | Annotate | Download | only in sourceless-module
      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   'targets': [
      6     {
      7       'target_name': 'empty_bundle',
      8       'type': 'loadable_module',
      9       'mac_bundle': 1,
     10     },
     11     {
     12       'target_name': 'resource_bundle',
     13       'type': 'loadable_module',
     14       'mac_bundle': 1,
     15       'actions': [
     16         {
     17           'action_name': 'Add Resource',
     18           'inputs': [],
     19           'outputs': [
     20             '<(INTERMEDIATE_DIR)/app_manifest/foo.manifest',
     21           ],
     22           'action': [
     23             'touch', '<(INTERMEDIATE_DIR)/app_manifest/foo.manifest',
     24           ],
     25           'process_outputs_as_mac_bundle_resources': 1,
     26         },
     27       ],
     28     },
     29     {
     30       'target_name': 'dependent_on_resource_bundle',
     31       'type': 'executable',
     32       'sources': [ 'empty.c' ],
     33       'dependencies': [
     34         'resource_bundle',
     35       ],
     36     },
     37   ],
     38 }
     39 
     40