diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-10-24 15:43:05 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-10-24 16:40:08 +0200 |
commit | cd9a89257a0004ca18460befc4b141bc07ed5c22 (patch) | |
tree | e336a602b561854f043557096b83140aa04cd63a /gyp/styles.gypi | |
parent | 10c765948471e6d13e2eb45b44ac6c4d108dafc5 (diff) | |
download | qtlocation-mapboxgl-cd9a89257a0004ca18460befc4b141bc07ed5c22.tar.gz |
restructure gyp files
Diffstat (limited to 'gyp/styles.gypi')
-rw-r--r-- | gyp/styles.gypi | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gyp/styles.gypi b/gyp/styles.gypi new file mode 100644 index 0000000000..31bf530c5f --- /dev/null +++ b/gyp/styles.gypi @@ -0,0 +1,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' ], + } + }, + { + '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)' + }], + }, + ] +} |