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

Unified Diff: examples/ui/spinning_cube/BUILD.gn

Issue 1411103004: mozart: Port the spinning cube example. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 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: examples/ui/spinning_cube/BUILD.gn
diff --git a/examples/ganesh_app/BUILD.gn b/examples/ui/spinning_cube/BUILD.gn
similarity index 54%
copy from examples/ganesh_app/BUILD.gn
copy to examples/ui/spinning_cube/BUILD.gn
index 915558c53a51c5be2d7931ce8340f3aa66f26ab9..3609cead73d03e12ff1737143bf8e79af01f4c07 100644
--- a/examples/ganesh_app/BUILD.gn
+++ b/examples/ui/spinning_cube/BUILD.gn
@@ -4,32 +4,30 @@
import("//mojo/public/mojo_application.gni")
-mojo_native_application("ganesh_app") {
+mojo_native_application("spinning_cube_view") {
sources = [
- "ganesh_app.cc",
- "ganesh_view.cc",
- "ganesh_view.h",
- "texture_uploader.cc",
- "texture_uploader.h",
+ "main.cc",
+ "spinning_cube_app.cc",
+ "spinning_cube_app.h",
+ "spinning_cube_view.cc",
+ "spinning_cube_view.h",
]
deps = [
"//base",
+ "//examples/spinning_cube:lib",
"//mojo/application",
- "//mojo/common:tracing_impl",
+ "//mojo/common",
"//mojo/environment:chromium",
"//mojo/gpu",
"//mojo/public/c/gpu",
+ "//mojo/public/c/gpu:gpu_onscreen",
"//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/environment",
"//mojo/public/cpp/system",
- "//mojo/public/interfaces/application",
- "//mojo/services/geometry/cpp",
"//mojo/services/geometry/interfaces",
- "//mojo/services/surfaces/cpp",
+ "//mojo/services/input_events/interfaces",
"//mojo/services/surfaces/interfaces",
- "//mojo/services/surfaces/interfaces:surface_id",
- "//mojo/services/view_manager/cpp",
- "//mojo/skia",
- "//skia",
+ "//mojo/services/ui/views/interfaces",
]
}

Powered by Google App Engine
This is Rietveld 408576698