Use gyp targets to link in X11 libraries instead of setting -lXfoo
commit6ee05a5b3e33668d67deb9a000ba5d32b3104c7a
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Feb 2014 09:09:30 +0000 (5 09:09 +0000)
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Feb 2014 09:09:30 +0000 (5 09:09 +0000)
tree0d78e2b5b7840b20c4f03d609e6ea507709ad251
parenta464cc798130d851a1bb61d7b150fe4b9118d94d
Use gyp targets to link in X11 libraries instead of setting -lXfoo

This sets up gyp targets for the various X11 libraries we use and uses
pkg-config to determine the correct cflags/ldflags incantations to use to
link against them instead of listing out -lXfoo lines in libraries sections
in gyp targets throughout the tree.  This is more likely to generate the right
lines and makes the dependencies a bit more explicit.

BUG=339518

Review URL: https://codereview.chromium.org/153223002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248939 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed:
build/linux/system.gyp
chrome/chrome_common.gypi
chromeos/chromeos.gyp
content/content_common.gypi
content/content_plugin.gypi
media/cast/cast.gyp
media/media.gyp
remoting/remoting_host.gypi
ui/aura/aura.gyp
ui/gl/gl.gyp
ui/ui.gyp
ui/views/views.gyp
webkit/common/webkit_common.gyp