diff options
-rw-r--r-- | BUILD.gn | 10 | ||||
-rw-r--r-- | site/user/quick/gn.md | 2 |
2 files changed, 9 insertions, 3 deletions
@@ -363,14 +363,20 @@ test_lib("gpu_tool_utils") { libs = [] if (is_linux) { - sources += [ "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp" ] + sources += [ + "src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp", + "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp", + ] libs += [ "GL", "GLU", "X11", ] } else if (is_mac) { - sources += [ "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp" ] + sources += [ + "src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp", + "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp", + ] libs += [ "OpenGL.framework" ] } } diff --git a/site/user/quick/gn.md b/site/user/quick/gn.md index c710576be4..915a823526 100644 --- a/site/user/quick/gn.md +++ b/site/user/quick/gn.md @@ -12,7 +12,7 @@ Supported Features ---------- * Linux, Mac - * Software rendering + * Software and GL rendering * libskia.a, libskia.so * DM, nanobench |