summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-05-07 10:51:29 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-05-07 10:51:29 +0200
commitc298ac9d3a8be07b32865a3270146e4a49c453a5 (patch)
treeabfaf6817aa3db3e3569e6492bc4f5703b92bacc /gyp
parentd3d125694d39faef4d123009beee3e6de09adede (diff)
downloadqtlocation-mapboxgl-c298ac9d3a8be07b32865a3270146e4a49c453a5.tar.gz
on OS X, styles for the linux test app weren't bundled correctly
Diffstat (limited to 'gyp')
-rw-r--r--gyp/styles.gypi27
1 files changed, 14 insertions, 13 deletions
diff --git a/gyp/styles.gypi b/gyp/styles.gypi
index 8b3032b58c..06121f2d4c 100644
--- a/gyp/styles.gypi
+++ b/gyp/styles.gypi
@@ -14,21 +14,22 @@
],
},
{
- 'target_name': 'bundle_styles',
+ 'target_name': 'bundle_styles', # use this only for targets that create an App bundle
'type': 'none',
'hard_dependency': 1,
'dependencies': [ 'touch_styles' ], # required for xcode http://openradar.appspot.com/7232149
- 'conditions': [
- ['platform_lib == "osx" or platform_lib == "ios"', {
- 'direct_dependent_settings': {
- 'mac_bundle_resources': [ '../styles/styles' ],
- }
- }, {
- 'direct_dependent_settings': {
- 'copies': [{ 'files': [ '../styles/styles' ], 'destination': '<(PRODUCT_DIR)' }],
- }
- }]
- ],
- }
+ 'direct_dependent_settings': {
+ 'mac_bundle_resources': [ '../styles/styles' ],
+ }
+ },
+ {
+ 'target_name': 'copy_styles', # use this only for targets that don't create an App bundle
+ 'type': 'none',
+ 'hard_dependency': 1,
+ 'dependencies': [ 'touch_styles' ],
+ 'direct_dependent_settings': {
+ 'copies': [{ 'files': [ '../styles/styles' ], 'destination': '<(PRODUCT_DIR)' }],
+ }
+ },
]
}