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/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 group("surfaces_app") { | 8 group("surfaces_app") { |
9 deps = [ | 9 deps = [ |
10 ":child_app", | 10 ":child_app", |
(...skipping 14 matching lines...) Expand all Loading... |
25 "//cc/surfaces:surface_id", | 25 "//cc/surfaces:surface_id", |
26 "//skia", | 26 "//skia", |
27 "//ui/gfx", | 27 "//ui/gfx", |
28 "//ui/gfx/geometry", | 28 "//ui/gfx/geometry", |
29 "//mojo/application", | 29 "//mojo/application", |
30 "//mojo/common", | 30 "//mojo/common", |
31 "//mojo/converters/geometry", | 31 "//mojo/converters/geometry", |
32 "//mojo/converters/surfaces", | 32 "//mojo/converters/surfaces", |
33 "//mojo/environment:chromium", | 33 "//mojo/environment:chromium", |
34 "//mojo/public/cpp/system", | 34 "//mojo/public/cpp/system", |
35 "//mojo/services/geometry/public/interfaces", | 35 "//mojo/services/geometry/interfaces", |
36 "//mojo/services/gpu/public/interfaces", | 36 "//mojo/services/gpu/interfaces", |
37 "//mojo/services/native_viewport/public/interfaces", | 37 "//mojo/services/native_viewport/interfaces", |
38 "//mojo/services/surfaces/public/interfaces", | 38 "//mojo/services/surfaces/public/interfaces", |
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 mojo_native_application("child_app") { | 48 mojo_native_application("child_app") { |
49 output_name = "surfaces_child_app" | 49 output_name = "surfaces_child_app" |
50 | 50 |
51 deps = [ | 51 deps = [ |
52 ":bindings", | 52 ":bindings", |
53 ":util", | 53 ":util", |
54 "//base", | 54 "//base", |
55 "//cc", | 55 "//cc", |
56 "//cc/surfaces", | 56 "//cc/surfaces", |
57 "//cc/surfaces:surface_id", | 57 "//cc/surfaces:surface_id", |
58 "//mojo/application", | 58 "//mojo/application", |
59 "//mojo/common", | 59 "//mojo/common", |
60 "//mojo/converters/geometry", | 60 "//mojo/converters/geometry", |
61 "//mojo/converters/surfaces", | 61 "//mojo/converters/surfaces", |
62 "//mojo/environment:chromium", | 62 "//mojo/environment:chromium", |
63 "//mojo/public/cpp/bindings", | 63 "//mojo/public/cpp/bindings", |
64 "//mojo/services/geometry/public/interfaces", | 64 "//mojo/services/geometry/interfaces", |
65 "//mojo/services/surfaces/public/interfaces", | 65 "//mojo/services/surfaces/public/interfaces", |
66 "//mojo/services/surfaces/public/interfaces:surface_id", | 66 "//mojo/services/surfaces/public/interfaces:surface_id", |
67 "//skia", | 67 "//skia", |
68 "//ui/gfx", | 68 "//ui/gfx", |
69 "//ui/gfx/geometry", | 69 "//ui/gfx/geometry", |
70 ] | 70 ] |
71 | 71 |
72 sources = [ | 72 sources = [ |
73 "child_app.cc", | 73 "child_app.cc", |
74 "child_impl.cc", | 74 "child_impl.cc", |
(...skipping 15 matching lines...) Expand all Loading... |
90 "//gpu/command_buffer/common", | 90 "//gpu/command_buffer/common", |
91 "//mojo/application", | 91 "//mojo/application", |
92 "//mojo/common", | 92 "//mojo/common", |
93 "//mojo/converters/geometry", | 93 "//mojo/converters/geometry", |
94 "//mojo/converters/surfaces", | 94 "//mojo/converters/surfaces", |
95 "//mojo/environment:chromium", | 95 "//mojo/environment:chromium", |
96 "//mojo/public/c/gpu", | 96 "//mojo/public/c/gpu", |
97 "//mojo/public/cpp/bindings", | 97 "//mojo/public/cpp/bindings", |
98 "//mojo/public/cpp/environment", | 98 "//mojo/public/cpp/environment", |
99 "//mojo/public/cpp/system", | 99 "//mojo/public/cpp/system", |
100 "//mojo/services/geometry/public/interfaces", | 100 "//mojo/services/geometry/interfaces", |
101 "//mojo/services/gpu/public/interfaces", | 101 "//mojo/services/gpu/interfaces", |
102 "//mojo/services/surfaces/public/interfaces", | 102 "//mojo/services/surfaces/public/interfaces", |
103 "//mojo/services/surfaces/public/interfaces:surface_id", | 103 "//mojo/services/surfaces/public/interfaces:surface_id", |
104 "//skia", | 104 "//skia", |
105 "//ui/gfx", | 105 "//ui/gfx", |
106 "//ui/gfx/geometry", | 106 "//ui/gfx/geometry", |
107 ] | 107 ] |
108 | 108 |
109 sources = [ | 109 sources = [ |
110 "child_gl_app.cc", | 110 "child_gl_app.cc", |
111 "child_gl_impl.cc", | 111 "child_gl_impl.cc", |
(...skipping 10 matching lines...) Expand all Loading... |
122 ] | 122 ] |
123 | 123 |
124 sources = [ | 124 sources = [ |
125 "surfaces_util.cc", | 125 "surfaces_util.cc", |
126 "surfaces_util.h", | 126 "surfaces_util.h", |
127 ] | 127 ] |
128 } | 128 } |
129 | 129 |
130 mojom("bindings") { | 130 mojom("bindings") { |
131 deps = [ | 131 deps = [ |
132 "//mojo/services/geometry/public/interfaces", | 132 "//mojo/services/geometry/interfaces", |
133 "//mojo/services/surfaces/public/interfaces", | 133 "//mojo/services/surfaces/public/interfaces", |
134 "//mojo/services/surfaces/public/interfaces:surface_id", | 134 "//mojo/services/surfaces/public/interfaces:surface_id", |
135 ] | 135 ] |
136 | 136 |
137 import_dirs = [ get_path_info("../../mojo/services", "abspath") ] | 137 import_dirs = [ get_path_info("../../mojo/services", "abspath") ] |
138 | 138 |
139 sources = [ | 139 sources = [ |
140 "child.mojom", | 140 "child.mojom", |
141 ] | 141 ] |
142 } | 142 } |
OLD | NEW |