diff options
Diffstat (limited to 'gyp/styles.gypi')
-rw-r--r-- | gyp/styles.gypi | 27 |
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)' }], + } + }, ] } |