summaryrefslogtreecommitdiff
path: root/gyp/styles.gypi
blob: 19f84481dcd2300785b6b8b2d380cd94049ab892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  'targets': [
    {
      'target_name': 'touch_styles',
      'type': 'none',
      'hard_dependency': 1,
      'actions': [
        {
          'action_name': 'Touch Stylesheet Directory',
          'inputs': ['../styles'],
          'outputs': ['<(SHARED_INTERMEDIATE_DIR)/'], # need to specify a distinct directory
          'action': ['touch', '../styles'],
        }
      ],
    },
    {
      'target_name': 'bundle_styles',
      'type': 'none',
      'hard_dependency': 1,
      'dependencies': [ 'touch_styles' ], # required for xcode http://openradar.appspot.com/7232149
      'direct_dependent_settings': {
        'mac_bundle_resources': [ '../styles/styles' ],
      }
    },
    {
      'target_name': 'copy_styles',
      'type': 'none',
      'hard_dependency': 1,
      'dependencies': [ 'touch_styles' ], # required for xcode http://openradar.appspot.com/7232149
      'copies': [{
        'files': [ '../styles' ],
        'destination': '<(PRODUCT_DIR)'
      }],
    },
  ]
}