Make skgputest target depend on gl/glx/glu or egl/gles2 libs on linux

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1846623003

Review URL: https://codereview.chromium.org/1846623003 .
This commit is contained in:
Brian Salomon 2016-03-30 23:20:09 -04:00
parent 3724e574a7
commit 142659c76d

View File

@ -57,6 +57,23 @@
'angle.gyp:*',
],
}],
[ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 1', {
'link_settings': {
'libraries': [
'-lEGL',
'-lGLESv2',
],
},
}],
[ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 0', {
'link_settings': {
'libraries': [
'-lGL',
'-lGLU',
'-lX11',
],
},
}],
[ 'skia_os == "android"', {
'defines': [
'GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1',