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

Unified Diff: mojo/skia/BUILD.gn

Issue 1534813003: Use C bindings to Mojo GL entry points exclusively. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-6
Patch Set: rebase Created 4 years, 11 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 | « mojo/gpu/mojo_gles2_impl_autogen.cc ('k') | mojo/skia/ganesh_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.cc ('k') | mojo/skia/ganesh_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698