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