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

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
« no previous file with comments | « examples/BUILD.gn ('k') | examples/ui/spinning_cube/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/spinning_cube/BUILD.gn
diff --git a/examples/spinning_cube/BUILD.gn b/examples/ui/spinning_cube/BUILD.gn
similarity index 50%
copy from examples/spinning_cube/BUILD.gn
copy to examples/ui/spinning_cube/BUILD.gn
index 68d84f421350e4632104db03936c78704c2087c6..db71418089d8934c3193b7262819bb12ce0c5531 100644
--- a/examples/spinning_cube/BUILD.gn
+++ b/examples/ui/spinning_cube/BUILD.gn
@@ -1,41 +1,35 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
+# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/mojo_application.gni")
mojo_native_application("spinning_cube") {
+ output_name = "spinning_cube_view"
+
sources = [
- "gles2_client_impl.cc",
- "gles2_client_impl.h",
+ "main.cc",
"spinning_cube_app.cc",
+ "spinning_cube_app.h",
+ "spinning_cube_view.cc",
+ "spinning_cube_view.h",
]
deps = [
- ":lib",
"//base",
+ "//examples/spinning_cube:lib",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//mojo/gpu",
"//mojo/public/c/gpu",
"//mojo/public/c/gpu:gpu_onscreen",
- "//mojo/public/cpp/application:standalone",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/environment",
"//mojo/public/cpp/system",
- "//mojo/public/cpp/utility",
"//mojo/services/geometry/interfaces",
- "//mojo/services/native_viewport/interfaces",
- ]
-}
-
-source_set("lib") {
- sources = [
- "spinning_cube.cc",
- "spinning_cube.h",
- ]
-
- deps = [
- "//base",
- "//mojo/public/c/gpu",
- "//mojo/public/c/gpu:MGL",
- "//mojo/public/cpp/environment",
+ "//mojo/services/input_events/interfaces",
+ "//mojo/services/surfaces/interfaces",
+ "//mojo/services/ui/views/interfaces",
]
}
« no previous file with comments | « examples/BUILD.gn ('k') | examples/ui/spinning_cube/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698