From 272fb80bcfeb5934b7b8ec136b8caccc8a2c9d3d Mon Sep 17 00:00:00 2001 From: Chhatoi Pritam Baral Date: Tue, 30 Oct 2012 12:14:53 +0530 Subject: [PATCH] Cleans up appshell.gyp. Launching live browser works --- appshell.gyp | 64 +++++++++++++------------- appshell/appshell_extensions_gtk.cpp | 69 ++++++++++++++++++++++++++-- appshell/client_app_gtk.cpp | 14 +++--- appshell_paths.gypi | 1 + 4 files changed, 108 insertions(+), 40 deletions(-) diff --git a/appshell.gyp b/appshell.gyp index fb0aeca1f..69db85e12 100755 --- a/appshell.gyp +++ b/appshell.gyp @@ -5,6 +5,7 @@ { 'variables': { 'appname': 'Brackets', + 'pkg-config': 'pkg-config', 'chromium_code': 1, 'conditions': [ [ 'OS=="mac"', { @@ -40,14 +41,6 @@ ], 'include_dirs': [ '.', - '/usr/include/gtk-2.0/', - '/usr/include/glib-2.0/', - '/usr/include/gdk-pixbuf-2.0/', - '/usr/include/atk-1.0/', - '/usr/include/cairo/', - '/usr/include/pango-1.0/', - '/usr/lib/glib-2.0/include/', - '/usr/lib/gtk-2.0/include/', ], 'sources': [ '<@(includes_common)', @@ -171,21 +164,21 @@ '<@(appshell_sources_mac)', ], }], - [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { + ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { + 'cflags': [ + '