diff options
author | Mike Klein <mtklein@google.com> | 2018-06-20 11:06:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-20 15:29:58 +0000 |
commit | a27f2694f0af467f496e6697bc0c4edd4966a3e0 (patch) | |
tree | 44aa7b6554f68e8af13242b2e86b7789f077896b | |
parent | c36f7e735f0e059bab02405f9c4affc4b1bf7b92 (diff) |
fix GLU dependency
CreatePlatformGLTestContext_glx.cpp uses GLU (gluCheckExtension),
not Skia.
Change-Id: I815445613c33cd7c902dc52cdca2482e0daab839
Reviewed-on: https://skia-review.googlesource.com/136162
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
-rw-r--r-- | BUILD.gn | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -600,10 +600,7 @@ optional("gpu") { libs += [ "EGL" ] } else if (is_linux) { sources += [ "src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp" ] - libs += [ - "GL", - "GLU", - ] + libs += [ "GL" ] } else if (is_mac) { sources += [ "src/gpu/gl/mac/GrGLMakeNativeInterface_mac.cpp" ] } else if (is_ios) { @@ -1265,7 +1262,10 @@ if (skia_enable_tools) { libs += [ "OpenGLES.framework" ] } else if (is_linux) { sources += [ "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp" ] - libs += [ "X11" ] + libs += [ + "GLU", + "X11", + ] } else if (is_mac) { sources += [ "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp" ] } else if (is_win) { |