From 261d6a84ffc050b7b42eff7b19533b73e58fed46 Mon Sep 17 00:00:00 2001 From: ficristo Date: Wed, 22 Jun 2016 21:38:43 +0200 Subject: [PATCH] Rework a bit appshell gyp files --- appshell.gyp | 21 ++++++++--------- appshell_paths.gypi | 56 ++++++++++++++++++++++++--------------------- 2 files changed, 40 insertions(+), 37 deletions(-) diff --git a/appshell.gyp b/appshell.gyp index 858777a6a..a4a750184 100755 --- a/appshell.gyp +++ b/appshell.gyp @@ -58,7 +58,6 @@ 'sources': [ '<@(includes_common)', '<@(includes_wrapper)', - '<@(appshell_sources_common)', ], 'mac_bundle_resources': [ '<@(appshell_bundle_resources_mac)', @@ -200,7 +199,7 @@ ], 'copies': [ { - # Add library dependencies to the bundle. + # Add libraries and helper app. 'destination': '<(PRODUCT_DIR)/<(appname).app/Contents/Frameworks', 'files': [ '<(PRODUCT_DIR)/<(appname) Helper.app', @@ -209,7 +208,7 @@ ], 'postbuilds': [ { - 'postbuild_name': 'Add framework', + 'postbuild_name': 'Add framework', 'action': [ 'cp', '-Rf', @@ -278,7 +277,7 @@ '<@(appshell_sources_mac)', ], }], - ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { + [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 'actions': [ { 'action_name': 'appshell_extensions_js', @@ -341,10 +340,6 @@ 'files': ['appshell/node-core/'], }, ], - 'sources': [ - '<@(includes_linux)', - '<@(appshell_sources_linux)', - ], 'link_settings': { 'ldflags': [ '