OLD | NEW |
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/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 group("surfaces_app") { | 7 group("surfaces_app") { |
8 deps = [ | 8 deps = [ |
9 ":child_app", | 9 ":child_app", |
10 ":child_gl_app", | 10 ":child_gl_app", |
11 ":parent_app", | 11 ":parent_app", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app | 15 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app |
16 shared_library("parent_app") { | 16 shared_library("parent_app") { |
17 output_name = "mojo_surfaces_app" | 17 output_name = "mojo_surfaces_app" |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 ":bindings", | 20 ":bindings", |
21 ":util", | 21 ":util", |
22 "//base", | 22 "//base", |
23 "//cc", | 23 "//cc", |
24 "//cc/surfaces", | 24 "//cc/surfaces", |
25 "//skia", | 25 "//skia", |
26 "//ui/gfx", | 26 "//ui/gfx", |
27 "//ui/gfx/geometry", | 27 "//ui/gfx/geometry", |
28 "//mojo/application", | 28 "//mojo/application", |
29 "//mojo/common", | 29 "//mojo/common", |
| 30 "//mojo/converters/geometry", |
| 31 "//mojo/converters/surfaces", |
30 "//mojo/environment:chromium", | 32 "//mojo/environment:chromium", |
31 "//mojo/public/c/system:for_shared_library", | 33 "//mojo/public/c/system:for_shared_library", |
32 "//mojo/public/cpp/system", | 34 "//mojo/public/cpp/system", |
33 "//mojo/services/public/cpp/geometry", | |
34 "//mojo/services/public/cpp/surfaces", | |
35 "//mojo/services/public/interfaces/geometry", | 35 "//mojo/services/public/interfaces/geometry", |
36 "//mojo/services/public/interfaces/gpu", | 36 "//mojo/services/public/interfaces/gpu", |
37 "//mojo/services/public/interfaces/surfaces", | 37 "//mojo/services/public/interfaces/surfaces", |
38 "//mojo/services/public/interfaces/native_viewport", | 38 "//mojo/services/public/interfaces/native_viewport", |
39 ] | 39 ] |
40 | 40 |
41 sources = [ | 41 sources = [ |
42 "embedder.cc", | 42 "embedder.cc", |
43 "embedder.h", | 43 "embedder.h", |
44 "surfaces_app.cc", | 44 "surfaces_app.cc", |
45 ] | 45 ] |
46 } | 46 } |
47 | 47 |
48 | 48 |
49 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_app | 49 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_app |
50 shared_library("child_app") { | 50 shared_library("child_app") { |
51 output_name = "mojo_surfaces_child_app" | 51 output_name = "mojo_surfaces_child_app" |
52 | 52 |
53 deps = [ | 53 deps = [ |
54 ":bindings", | 54 ":bindings", |
55 ":util", | 55 ":util", |
56 "//base", | 56 "//base", |
57 "//cc", | 57 "//cc", |
58 "//cc/surfaces", | 58 "//cc/surfaces", |
59 "//mojo/application", | 59 "//mojo/application", |
60 "//mojo/common", | 60 "//mojo/common", |
| 61 "//mojo/converters/geometry", |
| 62 "//mojo/converters/surfaces", |
61 "//mojo/environment:chromium", | 63 "//mojo/environment:chromium", |
62 "//mojo/public/c/system:for_shared_library", | 64 "//mojo/public/c/system:for_shared_library", |
63 "//mojo/public/cpp/bindings", | 65 "//mojo/public/cpp/bindings", |
64 "//mojo/services/public/cpp/geometry", | |
65 "//mojo/services/public/cpp/surfaces", | |
66 "//mojo/services/public/interfaces/geometry", | 66 "//mojo/services/public/interfaces/geometry", |
67 "//mojo/services/public/interfaces/surfaces", | 67 "//mojo/services/public/interfaces/surfaces", |
68 "//mojo/services/public/interfaces/surfaces:surface_id", | 68 "//mojo/services/public/interfaces/surfaces:surface_id", |
69 "//skia", | 69 "//skia", |
70 "//ui/gfx", | 70 "//ui/gfx", |
71 "//ui/gfx/geometry", | 71 "//ui/gfx/geometry", |
72 ] | 72 ] |
73 | 73 |
74 sources = [ | 74 sources = [ |
75 "child_app.cc", | 75 "child_app.cc", |
76 "child_impl.cc", | 76 "child_impl.cc", |
77 "child_impl.h", | 77 "child_impl.h", |
78 ] | 78 ] |
79 } | 79 } |
80 | 80 |
81 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_gl_app | 81 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_child_gl_app |
82 shared_library("child_gl_app") { | 82 shared_library("child_gl_app") { |
83 output_name = "mojo_surfaces_child_gl_app" | 83 output_name = "mojo_surfaces_child_gl_app" |
84 | 84 |
85 deps = [ | 85 deps = [ |
86 ":bindings", | 86 ":bindings", |
87 ":util", | 87 ":util", |
88 "//base", | 88 "//base", |
89 "//cc", | 89 "//cc", |
90 "//cc/surfaces", | 90 "//cc/surfaces", |
91 "//gpu/command_buffer/common", | 91 "//gpu/command_buffer/common", |
92 "//mojo/application", | 92 "//mojo/application", |
93 "//mojo/common", | 93 "//mojo/common", |
| 94 "//mojo/converters/geometry", |
| 95 "//mojo/converters/surfaces", |
94 "//mojo/environment:chromium", | 96 "//mojo/environment:chromium", |
95 "//mojo/examples/sample_app:spinning_cube", | 97 "//mojo/examples/sample_app:spinning_cube", |
96 "//mojo/public/c/system:for_shared_library", | 98 "//mojo/public/c/system:for_shared_library", |
97 "//mojo/public/cpp/bindings", | 99 "//mojo/public/cpp/bindings", |
98 "//mojo/public/cpp/environment", | 100 "//mojo/public/cpp/environment", |
99 "//mojo/public/cpp/system", | 101 "//mojo/public/cpp/system", |
100 "//mojo/public/gles2:for_shared_library", | 102 "//mojo/public/gles2:for_shared_library", |
101 "//mojo/services/public/cpp/geometry", | |
102 "//mojo/services/public/cpp/surfaces", | |
103 "//mojo/services/public/interfaces/geometry", | 103 "//mojo/services/public/interfaces/geometry", |
104 "//mojo/services/public/interfaces/gpu", | 104 "//mojo/services/public/interfaces/gpu", |
105 "//mojo/services/public/interfaces/surfaces", | 105 "//mojo/services/public/interfaces/surfaces", |
106 "//mojo/services/public/interfaces/surfaces:surface_id", | 106 "//mojo/services/public/interfaces/surfaces:surface_id", |
107 "//skia", | 107 "//skia", |
108 "//ui/gfx", | 108 "//ui/gfx", |
109 "//ui/gfx/geometry", | 109 "//ui/gfx/geometry", |
110 ] | 110 ] |
111 | 111 |
112 sources = [ | 112 sources = [ |
(...skipping 20 matching lines...) Expand all Loading... |
133 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings | 133 # GYP version: mojo/mojo_examples.gypi:mojo_surfaces_app_bindings |
134 mojom("bindings") { | 134 mojom("bindings") { |
135 deps = [ | 135 deps = [ |
136 "//mojo/services/public/interfaces/geometry", | 136 "//mojo/services/public/interfaces/geometry", |
137 "//mojo/services/public/interfaces/surfaces", | 137 "//mojo/services/public/interfaces/surfaces", |
138 "//mojo/services/public/interfaces/surfaces:surface_id", | 138 "//mojo/services/public/interfaces/surfaces:surface_id", |
139 ] | 139 ] |
140 | 140 |
141 sources = [ "child.mojom" ] | 141 sources = [ "child.mojom" ] |
142 } | 142 } |
OLD | NEW |