only the linux app needs 'copy-styles'

- works around make xproj error (gyp generator bug?) with nested paths that leads to 'assert group_ref.__class__ == PBXGroup'
This commit is contained in:
Dane Springmeyer
2014-10-31 16:15:14 -04:00
committed by John Firebaugh
parent d675828fe1
commit 80040304b4
2 changed files with 12 additions and 12 deletions

View File

@@ -21,16 +21,6 @@
'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)'
}],
},
}
]
}

View File

@@ -3,6 +3,16 @@
'../gyp/common.gypi',
],
'targets': [
{
'target_name': 'copy_styles',
'type': 'none',
'hard_dependency': 1,
'dependencies': [ '../styles.gyp:touch_styles' ], # required for xcode http://openradar.appspot.com/7232149
'copies': [{
'files': [ '../styles/styles' ],
'destination': '<(PRODUCT_DIR)'
}],
},
{
'target_name': 'linuxapp',
'product_name': 'mapbox-gl',
@@ -42,9 +52,9 @@
}]
],
'dependencies': [
'copy_styles',
'../mapboxgl.gyp:mbgl-standalone',
'../mapboxgl.gyp:mbgl-linux',
'../mapboxgl.gyp:copy_styles',
'../mapboxgl.gyp:copy_certificate_bundle',
],
},