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

Unified Diff: mojo/gles2/BUILD.gn

Issue 1288583002: Add MGL entry points and port spinning_cube to use them (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix android build Created 5 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
Index: mojo/gles2/BUILD.gn
diff --git a/mojo/gles2/BUILD.gn b/mojo/gles2/BUILD.gn
index 92b2375501f5710f5c644c0069450ab86df48ade..529a25f198957f0873934a85d232cc42f32299b7 100644
--- a/mojo/gles2/BUILD.gn
+++ b/mojo/gles2/BUILD.gn
@@ -16,9 +16,9 @@ source_set("gles2") {
sources = [
"command_buffer_client_impl.cc",
"command_buffer_client_impl.h",
- "gles2_impl.cc",
"gles2_context.cc",
"gles2_context.h",
+ "gles2_impl.cc",
]
defines = [
@@ -50,3 +50,19 @@ source_set("gles2") {
"//services/gles2:lib",
]
}
+
+source_set("mgl") {
+ sources = [
+ "mgl_impl.cc",
+ ]
+
+ configs += [ ":gles2_use_mojo" ]
+
+ deps = [
+ ":gles2",
+ "//mojo/public/c/gles2:headers",
+ "//mojo/public/c/gpu:MGL",
+ "//mojo/public/c/gpu:MGL_onscreen",
+ "//mojo/public/cpp/system",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698