Index: mojo/skia/BUILD.gn |
diff --git a/mojo/skia/BUILD.gn b/mojo/skia/BUILD.gn |
index 0230f0a2f045ba30d223f84e9cdaf0b6dd428287..01459f2953789d2a2afe339f1c36720cc859be9e 100644 |
--- a/mojo/skia/BUILD.gn |
+++ b/mojo/skia/BUILD.gn |
@@ -2,7 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-static_library("skia") { |
+source_set("skia") { |
sources = [ |
"ganesh_context.cc", |
"ganesh_context.h", |
@@ -13,10 +13,23 @@ static_library("skia") { |
] |
deps = [ |
+ ":skia_bindings", |
"//base", |
- "//gpu/command_buffer/client:gles2_c_lib", |
- "//gpu/skia_bindings", |
"//mojo/gpu", |
+ "//mojo/public/c/gpu", |
+ "//mojo/public/c/gpu:MGL", |
+ "//skia", |
+ ] |
+} |
+ |
+source_set("skia_bindings") { |
+ sources = [ |
+ "gl_bindings_skia.cc", |
+ "gl_bindings_skia.h", |
+ ] |
+ deps = [ |
+ "//mojo/public/c/gpu", |
+ "//mojo/public/c/gpu:GLES2", |
"//skia", |
] |
} |