fiddle_build_test/gyp: fix mac mesa build (2)

TBR=
NOTRY=true

Review URL: https://codereview.chromium.org/1900173002
This commit is contained in:
halcanary 2016-04-19 08:46:50 -07:00 committed by Commit bot
parent df082c5425
commit 7e6695416e

View File

@ -591,7 +591,7 @@
],
},
],
['skia_os in ["linux", "mac"]',
['skia_mesa and skia_os in ["linux", "mac"]',
{
'targets': [
{
@ -607,7 +607,16 @@
'pdf.gyp:pdf',
],
'defines': [ 'FIDDLE_BUILD_TEST' ],
'link_settings': { 'libraries': [ '-lOSMesa' ], },
'conditions': [
[ 'skia_os == "mac"',
{
'link_settings': { 'libraries': [ '/opt/X11/lib/libOSMesa.dylib', ], },
'include_dirs': [ '/opt/X11/include/', ],
}, {
'link_settings': { 'libraries': [ '-lOSMesa' ], },
}
],
],
},
],
},