Chromium Code Reviews| Index: content/content_gpu.gypi |
| diff --git a/content/content_gpu.gypi b/content/content_gpu.gypi |
| index d55093c50c433f1513acf165789c295b8adb24a4..6b05cded06fe05e42c8b4a30a9eec2341c5bd208 100644 |
| --- a/content/content_gpu.gypi |
| +++ b/content/content_gpu.gypi |
| @@ -3,6 +3,9 @@ |
| # found in the LICENSE file. |
| { |
| + 'variables': { |
| + 'linux_link_libpci%': 0, |
| + }, |
| 'dependencies': [ |
| '../base/base.gyp:base', |
| '../skia/skia.gyp:skia', |
| @@ -110,5 +113,22 @@ |
| '<(DEPTH)/third_party/libva', |
| ], |
| }], |
| + ['linux_link_libpci==0', { |
| + 'defines': [ |
| + 'DLOPEN_LIBPCI', |
| + ], |
| + }, { # linux_link_libpci==1 |
| + 'cflags': [ |
| + '<!@(pkg-config --cflags libpci)', |
|
piman
2012/10/29 17:24:24
This won't work if you have a sysroot. Best is to
|
| + ], |
| + 'link_settings': { |
| + 'ldflags': [ |
| + '<!@(pkg-config --libs-only-L --libs-only-other libpci)', |
| + ], |
| + 'libraries': [ |
| + '<!@(pkg-config --libs-only-l libpci)', |
| + ], |
| + } |
| + }], |
| ], |
| } |