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

Side by Side Diff: examples/spinning_cube/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: 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 unified diff | Download patch
« no previous file with comments | « no previous file | examples/spinning_cube/gles2_client_impl.h » ('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 2014 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 sources = [ 8 sources = [
9 "gles2_client_impl.cc", 9 "gles2_client_impl.cc",
10 "gles2_client_impl.h", 10 "gles2_client_impl.h",
11 "spinning_cube_app.cc", 11 "spinning_cube_app.cc",
12 ] 12 ]
13 13
14 deps = [ 14 deps = [
15 ":lib", 15 ":lib",
16 "//base", 16 "//base",
17 "//mojo/public/c/gles2", 17 "//mojo/public/c/gles2",
18 "//mojo/public/c/gpu",
19 "//mojo/public/c/gpu:gpu_onscreen",
18 "//mojo/public/cpp/application:standalone", 20 "//mojo/public/cpp/application:standalone",
19 "//mojo/public/cpp/bindings", 21 "//mojo/public/cpp/bindings",
20 "//mojo/public/cpp/environment", 22 "//mojo/public/cpp/environment",
21 "//mojo/public/cpp/system", 23 "//mojo/public/cpp/system",
22 "//mojo/public/cpp/utility", 24 "//mojo/public/cpp/utility",
23 "//mojo/services/geometry/public/interfaces", 25 "//mojo/services/geometry/public/interfaces",
24 "//mojo/services/native_viewport/public/interfaces", 26 "//mojo/services/native_viewport/public/interfaces",
25 ] 27 ]
26 } 28 }
27 29
28 source_set("lib") { 30 source_set("lib") {
29 sources = [ 31 sources = [
30 "spinning_cube.cc", 32 "spinning_cube.cc",
31 "spinning_cube.h", 33 "spinning_cube.h",
32 ] 34 ]
33 35
34 deps = [ 36 deps = [
35 "//base", 37 "//base",
36 "//mojo/common", 38 "//mojo/common",
37 "//mojo/public/c/gles2", 39 "//mojo/public/c/gpu",
38 "//mojo/public/cpp/environment", 40 "//mojo/public/cpp/environment",
39 ] 41 ]
40 } 42 }
OLDNEW
« no previous file with comments | « no previous file | examples/spinning_cube/gles2_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698