blob: d69c2b5b8e74abb07c87c478fbe6c38295fc3841 [file] [log] [blame]
[email protected]3cf4aad2013-12-01 17:27:251{
2 'targets': [
3 {
[email protected]65eedf72014-04-28 11:53:164 'target_name': 'mojo_echo_bindings',
5 'type': 'static_library',
6 'sources': [
7 'services/dbus_echo/echo.mojom',
8 ],
9 'variables': {
10 'mojom_base_output_dir': 'mojo',
11 },
12 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
13 'export_dependent_settings': [
[email protected]9a1526b2014-04-30 05:27:0614 'mojo_cpp_bindings',
[email protected]65eedf72014-04-28 11:53:1615 ],
16 'dependencies': [
[email protected]9a1526b2014-04-30 05:27:0617 'mojo_cpp_bindings',
[email protected]65eedf72014-04-28 11:53:1618 ],
19 },
20 {
[email protected]99e508a42013-12-04 01:15:0921 'target_name': 'mojo_gles2_bindings',
[email protected]3cf4aad2013-12-01 17:27:2522 'type': 'static_library',
23 'sources': [
[email protected]68780862014-02-07 00:25:0724 'services/gles2/command_buffer.mojom',
25 'services/gles2/command_buffer_type_conversions.cc',
26 'services/gles2/command_buffer_type_conversions.h',
[email protected]a0e753b2014-04-03 23:44:2827 'services/gles2/mojo_buffer_backing.cc',
28 'services/gles2/mojo_buffer_backing.h',
[email protected]3cf4aad2013-12-01 17:27:2529 ],
[email protected]69a0a132014-03-26 16:45:0230 'variables': {
31 'mojom_base_output_dir': 'mojo',
32 },
[email protected]352ed67c2014-04-04 21:11:2133 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]3cf4aad2013-12-01 17:27:2534 'export_dependent_settings': [
[email protected]9a1526b2014-04-30 05:27:0635 'mojo_cpp_bindings',
[email protected]3cf4aad2013-12-01 17:27:2536 ],
[email protected]885798802014-03-12 16:14:2137 'dependencies': [
[email protected]a0e753b2014-04-03 23:44:2838 '../gpu/gpu.gyp:command_buffer_common',
[email protected]9a1526b2014-04-30 05:27:0639 'mojo_cpp_bindings',
[email protected]885798802014-03-12 16:14:2140 ],
[email protected]3cf4aad2013-12-01 17:27:2541 },
42 {
[email protected]99e508a42013-12-04 01:15:0943 'target_name': 'mojo_gles2_service',
[email protected]3cf4aad2013-12-01 17:27:2544 'type': 'static_library',
45 'dependencies': [
46 '../base/base.gyp:base',
47 '../gpu/gpu.gyp:command_buffer_service',
[email protected]3cf4aad2013-12-01 17:27:2548 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:1549 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]3cf4aad2013-12-01 17:27:2550 '../ui/gl/gl.gyp:gl',
[email protected]99e508a42013-12-04 01:15:0951 'mojo_gles2_bindings',
[email protected]3cf4aad2013-12-01 17:27:2552 ],
53 'export_dependent_settings': [
[email protected]99e508a42013-12-04 01:15:0954 'mojo_gles2_bindings',
[email protected]3cf4aad2013-12-01 17:27:2555 ],
56 'sources': [
[email protected]68780862014-02-07 00:25:0757 'services/gles2/command_buffer_impl.cc',
58 'services/gles2/command_buffer_impl.h',
[email protected]3cf4aad2013-12-01 17:27:2559 ],
60 },
61 {
[email protected]99e508a42013-12-04 01:15:0962 'target_name': 'mojo_native_viewport_bindings',
[email protected]3cf4aad2013-12-01 17:27:2563 'type': 'static_library',
64 'sources': [
65 'services/native_viewport/native_viewport.mojom',
66 ],
[email protected]69a0a132014-03-26 16:45:0267 'variables': {
68 'mojom_base_output_dir': 'mojo',
69 },
[email protected]352ed67c2014-04-04 21:11:2170 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]3cf4aad2013-12-01 17:27:2571 'export_dependent_settings': [
[email protected]9a1526b2014-04-30 05:27:0672 'mojo_cpp_bindings',
[email protected]3cf4aad2013-12-01 17:27:2573 ],
[email protected]885798802014-03-12 16:14:2174 'dependencies': [
[email protected]9a1526b2014-04-30 05:27:0675 'mojo_cpp_bindings',
[email protected]885798802014-03-12 16:14:2176 ],
[email protected]3cf4aad2013-12-01 17:27:2577 },
78 {
[email protected]99e508a42013-12-04 01:15:0979 'target_name': 'mojo_native_viewport_service',
[email protected]8c17298b2014-04-21 21:12:0880 # This is linked directly into the embedder, so we make it a component.
81 'type': '<(component)',
[email protected]3cf4aad2013-12-01 17:27:2582 'dependencies': [
83 '../base/base.gyp:base',
84 '../ui/events/events.gyp:events',
85 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:1586 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]edce7542013-12-18 02:07:3787 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:5188 'mojo_environment_chromium',
[email protected]99e508a42013-12-04 01:15:0989 'mojo_gles2_service',
90 'mojo_native_viewport_bindings',
[email protected]5d90df52014-03-27 04:16:0091 'mojo_shell_client',
[email protected]3a734732014-04-15 03:14:2592 'mojo_system_impl',
[email protected]3cf4aad2013-12-01 17:27:2593 ],
[email protected]edce7542013-12-18 02:07:3794 'defines': [
95 'MOJO_NATIVE_VIEWPORT_IMPLEMENTATION',
[email protected]3cf4aad2013-12-01 17:27:2596 ],
97 'sources': [
[email protected]bddb2842014-01-27 22:38:1998 'services/native_viewport/geometry_conversions.h',
[email protected]3cf4aad2013-12-01 17:27:2599 'services/native_viewport/native_viewport.h',
100 'services/native_viewport/native_viewport_android.cc',
[email protected]3cf4aad2013-12-01 17:27:25101 'services/native_viewport/native_viewport_mac.mm',
[email protected]edce7542013-12-18 02:07:37102 'services/native_viewport/native_viewport_service.cc',
103 'services/native_viewport/native_viewport_service.h',
[email protected]3cf4aad2013-12-01 17:27:25104 'services/native_viewport/native_viewport_stub.cc',
105 'services/native_viewport/native_viewport_win.cc',
106 'services/native_viewport/native_viewport_x11.cc',
107 ],
108 'conditions': [
109 ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
110 'sources!': [
111 'services/native_viewport/native_viewport_stub.cc',
112 ],
113 }],
114 ['OS=="android"', {
115 'dependencies': [
116 'mojo_jni_headers',
117 ],
118 }],
119 ],
120 },
[email protected]587ddac82014-04-21 21:18:56121 {
[email protected]ef8c7ed2014-05-02 16:41:49122 'target_name': 'mojo_view_manager_common',
123 'type': 'static_library',
124 'sources': [
125 'services/public/cpp/view_manager/view_manager_types.h',
126 ],
127 },
128 {
[email protected]1ab0b222014-05-01 04:23:47129 'target_name': 'mojo_view_manager_bindings',
130 'type': 'static_library',
131 'sources': [
132 'services/public/interfaces/view_manager/view_manager.mojom',
133 ],
134 'variables': {
135 'mojom_base_output_dir': 'mojo',
136 },
137 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
138 'export_dependent_settings': [
139 'mojo_cpp_bindings',
140 ],
141 'dependencies': [
142 'mojo_cpp_bindings',
143 ],
144 },
145 {
[email protected]587ddac82014-04-21 21:18:56146 'target_name': 'mojo_view_manager_lib',
147 'type': 'static_library',
148 'dependencies': [
149 '../base/base.gyp:base',
[email protected]1ab0b222014-05-01 04:23:47150 'mojo_view_manager_bindings',
[email protected]ef8c7ed2014-05-02 16:41:49151 'mojo_view_manager_common',
[email protected]587ddac82014-04-21 21:18:56152 ],
153 'sources': [
154 'services/public/cpp/view_manager/lib/view.cc',
155 'services/public/cpp/view_manager/lib/view_manager.cc',
[email protected]1ab0b222014-05-01 04:23:47156 'services/public/cpp/view_manager/lib/view_manager_private.cc',
157 'services/public/cpp/view_manager/lib/view_manager_private.h',
158 'services/public/cpp/view_manager/lib/view_manager_synchronizer.cc',
159 'services/public/cpp/view_manager/lib/view_manager_synchronizer.h',
[email protected]587ddac82014-04-21 21:18:56160 'services/public/cpp/view_manager/lib/view_tree_host.cc',
161 'services/public/cpp/view_manager/lib/view_tree_node.cc',
162 'services/public/cpp/view_manager/lib/view_tree_node_observer.cc',
163 'services/public/cpp/view_manager/lib/view_tree_node_private.cc',
164 'services/public/cpp/view_manager/lib/view_tree_node_private.h',
165 'services/public/cpp/view_manager/view.h',
166 'services/public/cpp/view_manager/view_manager.h',
[email protected]ef8c7ed2014-05-02 16:41:49167 'services/public/cpp/view_manager/view_manager_types.h',
[email protected]587ddac82014-04-21 21:18:56168 'services/public/cpp/view_manager/view_tree_host.h',
169 'services/public/cpp/view_manager/view_tree_node.h',
170 'services/public/cpp/view_manager/view_tree_node_observer.h',
171 ],
172 },
173 {
174 'target_name': 'mojo_view_manager_lib_unittests',
175 'type': 'executable',
176 'dependencies': [
177 '../base/base.gyp:base',
178 '../base/base.gyp:test_support_base',
179 '../testing/gtest.gyp:gtest',
[email protected]1ab0b222014-05-01 04:23:47180 'mojo_environment_chromium',
[email protected]587ddac82014-04-21 21:18:56181 'mojo_run_all_unittests',
182 'mojo_view_manager_lib',
183 ],
184 'sources': [
185 'services/public/cpp/view_manager/tests/view_unittest.cc',
186 'services/public/cpp/view_manager/tests/view_manager_unittest.cc',
187 'services/public/cpp/view_manager/tests/view_tree_host_unittest.cc',
188 'services/public/cpp/view_manager/tests/view_tree_node_unittest.cc',
189 ],
190 },
[email protected]3cf4aad2013-12-01 17:27:25191 ],
[email protected]d0012d1f2014-04-22 21:58:10192 'conditions': [
193 ['use_aura==1', {
194 'targets': [
195 {
[email protected]d0012d1f2014-04-22 21:58:10196 'target_name': 'mojo_view_manager',
[email protected]36c2077c2014-04-23 22:36:03197 'type': '<(component)',
[email protected]d0012d1f2014-04-22 21:58:10198 'dependencies': [
199 '../base/base.gyp:base',
200 '../skia/skia.gyp:skia',
201 '../ui/aura/aura.gyp:aura',
202 '../ui/gfx/gfx.gyp:gfx_geometry',
203 'mojo_common_lib',
204 'mojo_environment_chromium',
205 'mojo_launcher_bindings',
206 'mojo_native_viewport_bindings',
207 'mojo_shell_client',
208 'mojo_system_impl',
209 'mojo_view_manager_bindings',
[email protected]ef8c7ed2014-05-02 16:41:49210 'mojo_view_manager_common',
[email protected]d0012d1f2014-04-22 21:58:10211 ],
212 'sources': [
[email protected]36c2077c2014-04-23 22:36:03213 'services/view_manager/ids.h',
214 'services/view_manager/node.cc',
215 'services/view_manager/node.h',
216 'services/view_manager/node_delegate.h',
217 'services/view_manager/root_node_manager.cc',
218 'services/view_manager/root_node_manager.h',
[email protected]504bf75c2014-04-25 15:11:07219 'services/view_manager/view.cc',
220 'services/view_manager/view.h',
[email protected]36c2077c2014-04-23 22:36:03221 'services/view_manager/view_manager.cc',
[email protected]d0012d1f2014-04-22 21:58:10222 'services/view_manager/view_manager_connection.cc',
223 'services/view_manager/view_manager_connection.h',
[email protected]36c2077c2014-04-23 22:36:03224 'services/view_manager/view_manager_export.h',
225 ],
226 'defines': [
227 'MOJO_VIEW_MANAGER_IMPLEMENTATION',
228 ],
229 },
230 {
231 'target_name': 'mojo_view_manager_unittests',
232 'type': 'executable',
233 'dependencies': [
234 '../base/base.gyp:base',
[email protected]1124dea02014-04-29 19:31:23235 '../base/base.gyp:run_all_unittests',
[email protected]36c2077c2014-04-23 22:36:03236 '../skia/skia.gyp:skia',
237 '../testing/gtest.gyp:gtest',
238 '../ui/aura/aura.gyp:aura',
239 'mojo_environment_chromium',
[email protected]36c2077c2014-04-23 22:36:03240 'mojo_shell_client',
[email protected]1124dea02014-04-29 19:31:23241 'mojo_shell_test_support',
[email protected]36c2077c2014-04-23 22:36:03242 'mojo_system_impl',
[email protected]36c2077c2014-04-23 22:36:03243 'mojo_view_manager_bindings',
[email protected]ef8c7ed2014-05-02 16:41:49244 'mojo_view_manager_common',
[email protected]36c2077c2014-04-23 22:36:03245 ],
246 'sources': [
247 'services/view_manager/view_manager_connection_unittest.cc',
[email protected]d0012d1f2014-04-22 21:58:10248 ],
249 },
250 {
251 'target_name': 'package_mojo_view_manager',
252 'variables': {
253 'app_name': 'mojo_view_manager',
254 },
255 'includes': [ 'build/package_app.gypi' ],
256 },
257 ],
258 }],
[email protected]65eedf72014-04-28 11:53:16259 ['OS=="linux"', {
260 'targets': [
261 {
262 'target_name': 'mojo_dbus_echo_service',
263 'type': 'executable',
264 'dependencies': [
265 '../base/base.gyp:base',
266 '../build/linux/system.gyp:dbus',
267 '../dbus/dbus.gyp:dbus',
[email protected]65eedf72014-04-28 11:53:16268 'mojo_common_lib',
[email protected]8110218d2014-05-01 23:30:06269 'mojo_dbus_service',
[email protected]65eedf72014-04-28 11:53:16270 'mojo_echo_bindings',
[email protected]8110218d2014-05-01 23:30:06271 'mojo_environment_chromium',
[email protected]65eedf72014-04-28 11:53:16272 'mojo_shell_client',
273 'mojo_system_impl',
274 ],
275 'sources': [
276 'services/dbus_echo/dbus_echo_service.cc',
277 ],
278 },
279 ],
280 }],
[email protected]d0012d1f2014-04-22 21:58:10281 ],
[email protected]3cf4aad2013-12-01 17:27:25282}