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

Side by Side Diff: mojo/examples/surfaces_app/BUILD.gn

Issue 684543003: Move //mojo/examples to //examples (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « mojo/examples/sample_app/spinning_cube.cc ('k') | mojo/examples/surfaces_app/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//mojo/public/tools/bindings/mojom.gni")
6
7 group("surfaces_app") {
8 deps = [
9 ":child_app",
10 ":child_gl_app",
11 ":parent_app",
12 ]
13 }
14
15 shared_library("parent_app") {
16 output_name = "surfaces_app"
17
18 deps = [
19 ":bindings",
20 ":util",
21 "//base",
22 "//cc",
23 "//cc/surfaces",
24 "//skia",
25 "//ui/gfx",
26 "//ui/gfx/geometry",
27 "//mojo/application",
28 "//mojo/common",
29 "//mojo/converters/geometry",
30 "//mojo/converters/surfaces",
31 "//mojo/environment:chromium",
32 "//mojo/public/c/system:for_shared_library",
33 "//mojo/public/cpp/system",
34 "//mojo/services/public/interfaces/geometry",
35 "//mojo/services/public/interfaces/gpu",
36 "//mojo/services/public/interfaces/surfaces",
37 "//mojo/services/public/interfaces/native_viewport",
38 ]
39
40 sources = [
41 "embedder.cc",
42 "embedder.h",
43 "surfaces_app.cc",
44 ]
45 }
46
47
48 shared_library("child_app") {
49 output_name = "surfaces_child_app"
50
51 deps = [
52 ":bindings",
53 ":util",
54 "//base",
55 "//cc",
56 "//cc/surfaces",
57 "//mojo/application",
58 "//mojo/common",
59 "//mojo/converters/geometry",
60 "//mojo/converters/surfaces",
61 "//mojo/environment:chromium",
62 "//mojo/public/c/system:for_shared_library",
63 "//mojo/public/cpp/bindings",
64 "//mojo/services/public/interfaces/geometry",
65 "//mojo/services/public/interfaces/surfaces",
66 "//mojo/services/public/interfaces/surfaces:surface_id",
67 "//skia",
68 "//ui/gfx",
69 "//ui/gfx/geometry",
70 ]
71
72 sources = [
73 "child_app.cc",
74 "child_impl.cc",
75 "child_impl.h",
76 ]
77 }
78
79 shared_library("child_gl_app") {
80 output_name = "surfaces_child_gl_app"
81
82 deps = [
83 ":bindings",
84 ":util",
85 "//base",
86 "//cc",
87 "//cc/surfaces",
88 "//gpu/command_buffer/common",
89 "//mojo/application",
90 "//mojo/common",
91 "//mojo/converters/geometry",
92 "//mojo/converters/surfaces",
93 "//mojo/environment:chromium",
94 "//mojo/examples/sample_app:spinning_cube",
95 "//mojo/public/c/system:for_shared_library",
96 "//mojo/public/cpp/bindings",
97 "//mojo/public/cpp/environment",
98 "//mojo/public/cpp/system",
99 "//mojo/public/gles2:for_shared_library",
100 "//mojo/services/public/interfaces/geometry",
101 "//mojo/services/public/interfaces/gpu",
102 "//mojo/services/public/interfaces/surfaces",
103 "//mojo/services/public/interfaces/surfaces:surface_id",
104 "//skia",
105 "//ui/gfx",
106 "//ui/gfx/geometry",
107 ]
108
109 sources = [
110 "child_gl_app.cc",
111 "child_gl_impl.cc",
112 "child_gl_impl.h",
113 ]
114 }
115
116 source_set("util") {
117 deps = [
118 "//cc",
119 "//skia",
120 "//ui/gfx",
121 "//ui/gfx/geometry",
122 ]
123
124 sources = [
125 "surfaces_util.cc",
126 "surfaces_util.h",
127 ]
128 }
129
130 mojom("bindings") {
131 deps = [
132 "//mojo/services/public/interfaces/geometry",
133 "//mojo/services/public/interfaces/surfaces",
134 "//mojo/services/public/interfaces/surfaces:surface_id",
135 ]
136
137 sources = [ "child.mojom" ]
138 }
OLDNEW
« no previous file with comments | « mojo/examples/sample_app/spinning_cube.cc ('k') | mojo/examples/surfaces_app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698