Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 3c5251e4e672d44e2d72b65108217493d99458c2..d036267aac6ddf88075901a75a2d850fb1ac7405 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -364,14 +364,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" ] |
} |
} |