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

Unified Diff: examples/ganesh_app/BUILD.gn

Issue 728593003: Add a sample app that draws with Ganesh (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Review comments Created 6 years, 1 month 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 | « examples/BUILD.gn ('k') | examples/ganesh_app/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ganesh_app/BUILD.gn
diff --git a/mojo/services/surfaces/BUILD.gn b/examples/ganesh_app/BUILD.gn
similarity index 54%
copy from mojo/services/surfaces/BUILD.gn
copy to examples/ganesh_app/BUILD.gn
index a8f5275dc678300e82b980674f24888585a2084c..ca544c13124892668eb41969d7a97a30a9cdc790 100644
--- a/mojo/services/surfaces/BUILD.gn
+++ b/examples/ganesh_app/BUILD.gn
@@ -2,32 +2,39 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: mojo/mojo_services.gypi:mojo_surfaces_service
-shared_library("surfaces") {
- output_name = "surfaces_service"
+shared_library("ganesh_app") {
sources = [
- "surfaces_impl.cc",
- "surfaces_impl.h",
- "surfaces_service_application.cc",
- "surfaces_service_application.h",
- "surfaces_service_impl.cc",
- "surfaces_service_impl.h",
+ "ganesh_app.cc",
+ "painter.cc",
+ "painter.h",
]
deps = [
"//base",
"//cc",
"//cc/surfaces",
- "//ui/gfx/geometry",
+ "//examples/surfaces_app:bindings",
+ "//examples/surfaces_app:util",
+ "//gpu/command_buffer/client:gles2_interface",
+ "//gpu/command_buffer/common",
+ "//gpu/skia_bindings",
"//mojo/application",
- "//mojo/cc",
+ "//mojo/common",
"//mojo/converters/geometry",
"//mojo/converters/surfaces",
"//mojo/environment:chromium",
"//mojo/public/c/system:for_shared_library",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/environment",
+ "//mojo/public/cpp/system",
+ "//mojo/public/cpp/utility",
"//mojo/public/gles2:for_shared_library",
"//mojo/services/public/interfaces/geometry",
"//mojo/services/public/interfaces/gpu",
"//mojo/services/public/interfaces/surfaces",
+ "//mojo/services/public/interfaces/surfaces:surface_id",
+ "//skia",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
]
}
« no previous file with comments | « examples/BUILD.gn ('k') | examples/ganesh_app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698