diff options
author | 2016-03-30 23:20:09 -0400 | |
---|---|---|
committer | 2016-03-30 23:20:09 -0400 | |
commit | 142659c76dfca1e0a34eb6a022329b73b6ba3166 (patch) | |
tree | 92b578e5485116a7ee996512562ff25efc938e7d /gyp/gputest.gyp | |
parent | 3724e574a744491b7cfb8187ac865a70ef3d4528 (diff) |
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 .
Diffstat (limited to 'gyp/gputest.gyp')
-rw-r--r-- | gyp/gputest.gyp | 17 |
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', |