diff options
author | Dane Springmeyer <dane@mapbox.com> | 2014-10-31 16:15:14 -0400 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-10-31 17:14:30 -0400 |
commit | 80040304b416f1cd82fa683235cfe2371113fc8c (patch) | |
tree | 290b256069ab7c0b9a2e10940258bfd59bd99f58 /linux | |
parent | d675828fe14d55c1a0de30f951d2005ae5d8cf84 (diff) | |
download | qtlocation-mapboxgl-80040304b416f1cd82fa683235cfe2371113fc8c.tar.gz |
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'
Diffstat (limited to 'linux')
-rw-r--r-- | linux/mapboxgl-app.gyp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/linux/mapboxgl-app.gyp b/linux/mapboxgl-app.gyp index 57bd1171b2..537d4491ea 100644 --- a/linux/mapboxgl-app.gyp +++ b/linux/mapboxgl-app.gyp @@ -4,6 +4,16 @@ ], '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', 'type': 'executable', @@ -42,9 +52,9 @@ }] ], 'dependencies': [ + 'copy_styles', '../mapboxgl.gyp:mbgl-standalone', '../mapboxgl.gyp:mbgl-linux', - '../mapboxgl.gyp:copy_styles', '../mapboxgl.gyp:copy_certificate_bundle', ], }, |