Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: BUILD.gn

Issue 2201233003: GN: gpu support in tools (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: case-o Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | site/user/quick/gn.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
}
« no previous file with comments | « no previous file | site/user/quick/gn.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698