summaryrefslogtreecommitdiff
path: root/gyp/styles.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'gyp/styles.gypi')
-rw-r--r--gyp/styles.gypi36
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)'
+ }],
+ },
+ ]
+}