aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/gputest.gyp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-03-30 23:20:09 -0400
committerGravatar Brian Salomon <bsalomon@google.com>2016-03-30 23:20:09 -0400
commit142659c76dfca1e0a34eb6a022329b73b6ba3166 (patch)
tree92b578e5485116a7ee996512562ff25efc938e7d /gyp/gputest.gyp
parent3724e574a744491b7cfb8187ac865a70ef3d4528 (diff)
Make skgputest target depend on gl/glx/glu or egl/gles2 libs on linux
Diffstat (limited to 'gyp/gputest.gyp')
-rw-r--r--gyp/gputest.gyp17
1 files changed, 17 insertions, 0 deletions
diff --git a/gyp/gputest.gyp b/gyp/gputest.gyp
index d50e00c9b6..94da0ed742 100644
--- a/gyp/gputest.gyp
+++ b/gyp/gputest.gyp
@@ -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',