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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « examples/BUILD.gn ('k') | examples/ui/spinning_cube/README.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 6
7 mojo_native_application("spinning_cube") { 7 mojo_native_application("spinning_cube") {
8 output_name = "spinning_cube_view"
9
8 sources = [ 10 sources = [
9 "gles2_client_impl.cc", 11 "main.cc",
10 "gles2_client_impl.h",
11 "spinning_cube_app.cc", 12 "spinning_cube_app.cc",
12 ] 13 "spinning_cube_app.h",
13 14 "spinning_cube_view.cc",
14 deps = [ 15 "spinning_cube_view.h",
15 ":lib",
16 "//base",
17 "//mojo/public/c/gpu",
18 "//mojo/public/c/gpu:gpu_onscreen",
19 "//mojo/public/cpp/application:standalone",
20 "//mojo/public/cpp/bindings",
21 "//mojo/public/cpp/environment",
22 "//mojo/public/cpp/system",
23 "//mojo/public/cpp/utility",
24 "//mojo/services/geometry/interfaces",
25 "//mojo/services/native_viewport/interfaces",
26 ]
27 }
28
29 source_set("lib") {
30 sources = [
31 "spinning_cube.cc",
32 "spinning_cube.h",
33 ] 16 ]
34 17
35 deps = [ 18 deps = [
36 "//base", 19 "//base",
20 "//examples/spinning_cube:lib",
21 "//mojo/application",
22 "//mojo/common",
23 "//mojo/environment:chromium",
24 "//mojo/gpu",
37 "//mojo/public/c/gpu", 25 "//mojo/public/c/gpu",
38 "//mojo/public/c/gpu:MGL", 26 "//mojo/public/c/gpu:gpu_onscreen",
27 "//mojo/public/cpp/bindings",
39 "//mojo/public/cpp/environment", 28 "//mojo/public/cpp/environment",
29 "//mojo/public/cpp/system",
30 "//mojo/services/geometry/interfaces",
31 "//mojo/services/input_events/interfaces",
32 "//mojo/services/surfaces/interfaces",
33 "//mojo/services/ui/views/interfaces",
40 ] 34 ]
41 } 35 }
OLDNEW
« 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