From 6a654d45598c2631f0009101a553fd14b866b62f Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Mon, 23 May 2011 22:06:54 +0000 Subject: Final gyp patch to make use of the new cross-platform POSIX defines toolkit_uses_gtk, os_posix, and use_x11. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. Solaris was made to use ALSA also, as libasound has been ported to FreeBSD and Solaris as a wrapper around the native OSS. Review URL: http://codereview.chromium.org/7055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86352 0039d316-1c4b-4281-b951-d872f2087c98 --- courgette/courgette.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'courgette') diff --git a/courgette/courgette.gyp b/courgette/courgette.gyp index 69965b3..f4f1c71 100644 --- a/courgette/courgette.gyp +++ b/courgette/courgette.gyp @@ -106,7 +106,7 @@ '../testing/gtest.gyp:gtest', ], 'conditions': [ - [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { + [ 'toolkit_uses_gtk == 1', { 'dependencies': [ # Workaround for gyp bug 69. # Needed to handle the #include chain: @@ -132,7 +132,7 @@ '../testing/gtest.gyp:gtest', ], 'conditions': [ - [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { + [ 'toolkit_uses_gtk == 1', { 'dependencies': [ # Workaround for gyp bug 69. # Needed to handle the #include chain: -- cgit v1.1