blob: b8ae404e9e1add28db6b07528c2c0512149324cf [file] [log] [blame]
[email protected]02657da2013-09-16 02:55:181# Copyright 2013 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{
[email protected]f02343052014-01-14 14:43:566 'target_defaults': {
7 'conditions': [
8 ['mojo_shell_debug_url != ""', {
9 'defines': [
10 'MOJO_SHELL_DEBUG=1',
11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"',
12 ],
13 }],
14 ],
15 },
[email protected]02657da2013-09-16 02:55:1816 'variables': {
[email protected]3d58663b2013-09-28 00:30:0417 'chromium_code': 1,
[email protected]f02343052014-01-14 14:43:5618 'mojo_shell_debug_url%': "",
[email protected]02657da2013-09-16 02:55:1819 },
[email protected]3cf4aad2013-12-01 17:27:2520 'includes': [
[email protected]de3d0b02013-12-03 23:18:2521 'mojo_apps.gypi',
[email protected]3cf4aad2013-12-01 17:27:2522 'mojo_examples.gypi',
23 'mojo_public.gypi',
24 'mojo_services.gypi',
25 ],
[email protected]02657da2013-09-16 02:55:1826 'targets': [
27 {
28 'target_name': 'mojo',
29 'type': 'none',
[email protected]3d58663b2013-09-28 00:30:0430 'dependencies': [
[email protected]8de52462014-03-11 15:48:3931 'mojo_apps_js_unittests',
[email protected]4b1172e2014-01-15 22:26:3132 'mojo_compositor_app',
[email protected]cbf7e962013-11-07 20:35:5233 'mojo_common_lib',
34 'mojo_common_unittests',
[email protected]9a1526b2014-04-30 05:27:0635 'mojo_cpp_bindings',
[email protected]7eb25d92014-05-21 19:07:4036 'mojo_geometry_lib',
[email protected]0d3887252014-06-13 02:31:4737 'mojo_html_viewer',
[email protected]93830742013-11-08 12:17:2438 'mojo_js',
[email protected]9a1526b2014-04-30 05:27:0639 'mojo_js_bindings',
[email protected]de3d0b02013-12-03 23:18:2540 'mojo_js_unittests',
[email protected]0d3887252014-06-13 02:31:4741 'mojo_launcher',
[email protected]15429ab2014-04-04 00:43:2242 'mojo_message_generator',
[email protected]3a734732014-04-15 03:14:2543 'mojo_native_viewport_service',
[email protected]dd6ee4502014-06-05 09:27:3044 'mojo_network_service',
[email protected]6bcc45b2014-03-22 04:11:1245 'mojo_pepper_container_app',
[email protected]bd089bb2014-06-25 15:07:5646 'mojo_png_viewer',
[email protected]ed24c99c2014-06-23 13:20:1347 'mojo_profile_service',
[email protected]633a10a2014-06-25 05:51:4048 'mojo_public_application_unittests',
[email protected]6eb908a2014-02-13 17:54:5449 'mojo_public_test_utils',
[email protected]0b438a62014-01-12 06:19:0350 'mojo_public_bindings_unittests',
[email protected]0d37563e2014-01-14 16:27:5151 'mojo_public_environment_unittests',
[email protected]0b438a62014-01-12 06:19:0352 'mojo_public_system_perftests',
53 'mojo_public_system_unittests',
54 'mojo_public_utility_unittests',
[email protected]67f839c92013-12-11 03:26:4055 'mojo_sample_app',
[email protected]fadab2eb2014-02-27 23:41:3456 'mojo_service_manager',
57 'mojo_service_manager_unittests',
[email protected]b4aef952013-11-26 23:25:4558 'mojo_shell',
59 'mojo_shell_lib',
[email protected]fc459f2e2014-06-04 01:02:4560 'mojo_shell_tests',
[email protected]728729d2014-06-30 22:45:5161 'mojo_surfaces_lib',
62 'mojo_surfaces_lib_unittests',
[email protected]b4aef952013-11-26 23:25:4563 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4764 'mojo_system_impl',
[email protected]b4aef952013-11-26 23:25:4565 'mojo_system_unittests',
[email protected]a10299d2014-06-09 17:24:1066 'mojo_test_service',
[email protected]273e2172013-12-10 07:24:1667 'mojo_utility',
[email protected]9b9ec2f2014-05-07 17:17:1568 'mojo_view_manager_lib',
69 'mojo_view_manager_lib_unittests',
[email protected]dd6ee4502014-06-05 09:27:3070 'mojo_wget',
[email protected]3d58663b2013-09-28 00:30:0471 ],
[email protected]331e4db2014-01-07 21:46:0472 'conditions': [
73 ['use_aura==1', {
74 'dependencies': [
75 'mojo_aura_demo',
[email protected]29db69c72014-06-03 09:16:2676 'mojo_aura_demo_init',
[email protected]33bc2bc2014-06-10 17:52:2477 'mojo_browser',
[email protected]8dbcf0d2014-06-03 05:39:0078 'mojo_demo_launcher',
79 'mojo_embedded_app',
[email protected]1dfdc0b2014-06-25 19:28:3180 'mojo_keyboard',
[email protected]bd089bb2014-06-25 15:07:5681 'mojo_media_viewer',
[email protected]d0e2cfc2014-06-07 04:16:5382 'mojo_nesting_app',
[email protected]8dbcf0d2014-06-03 05:39:0083 'mojo_window_manager',
[email protected]1fd496142014-01-29 05:16:0284 'mojo_view_manager',
[email protected]36c2077c2014-04-23 22:36:0385 'mojo_view_manager_unittests',
[email protected]331e4db2014-01-07 21:46:0486 ],
87 }],
[email protected]70c03642014-04-23 16:02:3288 ['OS == "android"', {
89 'dependencies': [
[email protected]230db69d2014-05-15 18:54:0490 'mojo_bindings_java',
[email protected]70c03642014-04-23 16:02:3291 'mojo_public_java',
92 'mojo_system_java',
93 'libmojo_system_java',
94 'mojo_test_apk',
95 ],
96 }],
[email protected]5e1a8322014-05-09 22:35:5197 ['OS == "linux"', {
98 'dependencies': [
99 'mojo_dbus_echo',
100 'mojo_dbus_echo_service',
101 ],
102 }],
[email protected]331e4db2014-01-07 21:46:04103 ]
[email protected]3d58663b2013-09-28 00:30:04104 },
105 {
[email protected]65eedf72014-04-28 11:53:16106 'target_name': 'mojo_external_service_bindings',
107 'type': 'static_library',
108 'sources': [
109 'shell/external_service.mojom',
110 ],
[email protected]65eedf72014-04-28 11:53:16111 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
112 'export_dependent_settings': [
[email protected]9a1526b2014-04-30 05:27:06113 'mojo_cpp_bindings',
[email protected]65eedf72014-04-28 11:53:16114 ],
115 'dependencies': [
[email protected]9a1526b2014-04-30 05:27:06116 'mojo_cpp_bindings',
[email protected]65eedf72014-04-28 11:53:16117 ],
118 },
119 {
[email protected]4b4068d2013-11-11 21:12:03120 'target_name': 'mojo_run_all_unittests',
121 'type': 'static_library',
122 'dependencies': [
123 '../base/base.gyp:base',
124 '../base/base.gyp:test_support_base',
[email protected]d16a5b42013-12-03 17:47:24125 '../testing/gtest.gyp:gtest',
[email protected]5fd29c12013-12-10 07:13:47126 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:53127 'mojo_test_support',
128 'mojo_test_support_impl',
[email protected]4b4068d2013-11-11 21:12:03129 ],
130 'sources': [
131 'common/test/run_all_unittests.cc',
132 ],
133 },
134 {
[email protected]5f8471fb2013-11-26 23:07:24135 'target_name': 'mojo_run_all_perftests',
136 'type': 'static_library',
137 'dependencies': [
138 '../base/base.gyp:test_support_base',
[email protected]5fd29c12013-12-10 07:13:47139 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:53140 'mojo_test_support',
141 'mojo_test_support_impl',
[email protected]5f8471fb2013-11-26 23:07:24142 ],
143 'sources': [
144 'common/test/run_all_perftests.cc',
145 ],
146 },
147 {
[email protected]71c325d2014-06-13 23:14:04148 # GN version: //mojo/system
[email protected]5fd29c12013-12-10 07:13:47149 'target_name': 'mojo_system_impl',
[email protected]6cf6ca52013-10-10 20:52:11150 'type': '<(component)',
[email protected]3d58663b2013-09-28 00:30:04151 'dependencies': [
152 '../base/base.gyp:base',
[email protected]44992e72014-03-04 07:44:13153 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]3d58663b2013-09-28 00:30:04154 ],
[email protected]6cf6ca52013-10-10 20:52:11155 'defines': [
[email protected]5fd29c12013-12-10 07:13:47156 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
[email protected]3a734732014-04-15 03:14:25157 'MOJO_SYSTEM_IMPLEMENTATION',
158 'MOJO_USE_SYSTEM_IMPL',
[email protected]6cf6ca52013-10-10 20:52:11159 ],
[email protected]3d58663b2013-09-28 00:30:04160 'sources': [
[email protected]daa65fd2014-06-19 13:56:09161 'embedder/channel_init.cc',
162 'embedder/channel_init.h',
[email protected]f13fe442014-03-19 00:05:26163 'embedder/embedder.cc',
164 'embedder/embedder.h',
165 'embedder/platform_channel_pair.cc',
166 'embedder/platform_channel_pair.h',
167 'embedder/platform_channel_pair_posix.cc',
168 'embedder/platform_channel_pair_win.cc',
[email protected]d4698f42014-04-05 08:30:23169 'embedder/platform_channel_utils_posix.cc',
170 'embedder/platform_channel_utils_posix.h',
[email protected]f13fe442014-03-19 00:05:26171 'embedder/platform_handle.cc',
172 'embedder/platform_handle.h',
[email protected]70c617c2014-05-21 03:39:18173 'embedder/platform_handle_utils.h',
[email protected]11f31b1c2014-05-29 19:33:03174 'embedder/platform_handle_utils_posix.cc',
175 'embedder/platform_handle_utils_win.cc',
[email protected]1f738cb2014-05-13 00:03:49176 'embedder/platform_handle_vector.h',
[email protected]f13fe442014-03-19 00:05:26177 'embedder/scoped_platform_handle.h',
[email protected]ccf8453d2013-11-07 17:49:50178 'system/channel.cc',
179 'system/channel.h',
[email protected]32446982013-12-16 20:58:48180 'system/constants.h',
[email protected]3a734732014-04-15 03:14:25181 'system/core.cc',
182 'system/core.h',
[email protected]82d1954d2013-12-13 22:23:19183 'system/data_pipe.cc',
184 'system/data_pipe.h',
[email protected]ae3d3572013-12-14 00:00:53185 'system/data_pipe_consumer_dispatcher.cc',
186 'system/data_pipe_consumer_dispatcher.h',
[email protected]82d1954d2013-12-13 22:23:19187 'system/data_pipe_producer_dispatcher.cc',
188 'system/data_pipe_producer_dispatcher.h',
[email protected]3d58663b2013-09-28 00:30:04189 'system/dispatcher.cc',
190 'system/dispatcher.h',
[email protected]3a734732014-04-15 03:14:25191 'system/entrypoints.cc',
[email protected]24cbbaf2014-06-18 15:51:14192 'system/handle_signals_state.h',
[email protected]3f623282014-03-31 02:07:46193 'system/handle_table.cc',
194 'system/handle_table.h',
[email protected]00798012013-12-16 20:39:30195 'system/local_data_pipe.cc',
196 'system/local_data_pipe.h',
[email protected]989f8bc2013-10-16 00:24:37197 'system/local_message_pipe_endpoint.cc',
198 'system/local_message_pipe_endpoint.h',
[email protected]cfa16b3412014-04-01 11:20:12199 'system/mapping_table.cc',
200 'system/mapping_table.h',
[email protected]3d58663b2013-09-28 00:30:04201 'system/memory.cc',
202 'system/memory.h',
[email protected]aae74e92013-10-03 20:52:34203 'system/message_in_transit.cc',
204 'system/message_in_transit.h',
[email protected]311a9a12014-03-03 23:17:23205 'system/message_in_transit_queue.cc',
206 'system/message_in_transit_queue.h',
[email protected]3d58663b2013-09-28 00:30:04207 'system/message_pipe.cc',
208 'system/message_pipe.h',
209 'system/message_pipe_dispatcher.cc',
210 'system/message_pipe_dispatcher.h',
[email protected]989f8bc2013-10-16 00:24:37211 'system/message_pipe_endpoint.cc',
212 'system/message_pipe_endpoint.h',
[email protected]935c39fb2014-06-05 01:16:14213 'system/options_validation.h',
[email protected]d1e0c2212014-05-13 22:40:06214 'system/platform_handle_dispatcher.cc',
215 'system/platform_handle_dispatcher.h',
[email protected]ccf8453d2013-11-07 17:49:50216 'system/proxy_message_pipe_endpoint.cc',
217 'system/proxy_message_pipe_endpoint.h',
[email protected]497626502014-02-27 18:13:25218 'system/raw_channel.cc',
[email protected]5a0d0062013-10-11 19:07:18219 'system/raw_channel.h',
220 'system/raw_channel_posix.cc',
[email protected]ccf8453d2013-11-07 17:49:50221 'system/raw_channel_win.cc',
[email protected]ac1df702014-03-21 20:45:27222 'system/raw_shared_buffer.cc',
223 'system/raw_shared_buffer.h',
224 'system/raw_shared_buffer_posix.cc',
225 'system/raw_shared_buffer_win.cc',
[email protected]be7edee2014-03-22 07:01:52226 'system/shared_buffer_dispatcher.cc',
227 'system/shared_buffer_dispatcher.h',
[email protected]3d58663b2013-09-28 00:30:04228 'system/simple_dispatcher.cc',
229 'system/simple_dispatcher.h',
[email protected]68d3f6b2014-05-03 03:40:21230 'system/transport_data.cc',
231 'system/transport_data.h',
[email protected]3d58663b2013-09-28 00:30:04232 'system/waiter.cc',
233 'system/waiter.h',
234 'system/waiter_list.cc',
235 'system/waiter_list.h',
[email protected]8579fe02014-01-16 23:51:10236 # Test-only code:
237 # TODO(vtl): It's a little unfortunate that these end up in the same
238 # component as non-test-only code. In the static build, this code should
239 # hopefully be dead-stripped.
[email protected]f13fe442014-03-19 00:05:26240 'embedder/test_embedder.cc',
241 'embedder/test_embedder.h',
[email protected]3d58663b2013-09-28 00:30:04242 ],
[email protected]3a734732014-04-15 03:14:25243 'all_dependent_settings': {
244 # Ensures that dependent projects import the core functions on Windows.
245 'defines': ['MOJO_USE_SYSTEM_IMPL'],
246 }
[email protected]3d58663b2013-09-28 00:30:04247 },
248 {
249 'target_name': 'mojo_system_unittests',
250 'type': 'executable',
251 'dependencies': [
[email protected]3a734732014-04-15 03:14:25252 '../base/base.gyp:base',
[email protected]3d58663b2013-09-28 00:30:04253 '../base/base.gyp:run_all_unittests',
254 '../testing/gtest.gyp:gtest',
[email protected]1ad40142013-12-12 13:20:02255 'mojo_common_test_support',
[email protected]5fd29c12013-12-10 07:13:47256 'mojo_system_impl',
[email protected]3d58663b2013-09-28 00:30:04257 ],
258 'sources': [
[email protected]f13fe442014-03-19 00:05:26259 'embedder/embedder_unittest.cc',
[email protected]9e1d94922014-03-25 18:51:56260 'embedder/platform_channel_pair_posix_unittest.cc',
[email protected]c1531f52014-04-25 15:19:32261 'system/channel_unittest.cc',
[email protected]3a734732014-04-15 03:14:25262 'system/core_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04263 'system/core_test_base.cc',
264 'system/core_test_base.h',
[email protected]92fb7f42013-12-17 22:38:30265 'system/data_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04266 'system/dispatcher_unittest.cc',
[email protected]92fb7f42013-12-17 22:38:30267 'system/local_data_pipe_unittest.cc',
[email protected]4adc1272014-06-03 10:37:16268 'system/memory_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04269 'system/message_pipe_dispatcher_unittest.cc',
270 'system/message_pipe_unittest.cc',
[email protected]1ad40142013-12-12 13:20:02271 'system/multiprocess_message_pipe_unittest.cc',
[email protected]935c39fb2014-06-05 01:16:14272 'system/options_validation_unittest.cc',
[email protected]d1e0c2212014-05-13 22:40:06273 'system/platform_handle_dispatcher_unittest.cc',
[email protected]44992e72014-03-04 07:44:13274 'system/raw_channel_unittest.cc',
[email protected]ac1df702014-03-21 20:45:27275 'system/raw_shared_buffer_unittest.cc',
[email protected]f764b25b2014-03-06 10:31:47276 'system/remote_message_pipe_unittest.cc',
[email protected]40063092014-03-24 22:46:09277 'system/shared_buffer_dispatcher_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04278 'system/simple_dispatcher_unittest.cc',
[email protected]b334246d2013-10-24 00:08:57279 'system/test_utils.cc',
[email protected]3d58663b2013-09-28 00:30:04280 'system/test_utils.h',
281 'system/waiter_list_unittest.cc',
282 'system/waiter_test_utils.cc',
283 'system/waiter_test_utils.h',
284 'system/waiter_unittest.cc',
285 ],
[email protected]02657da2013-09-16 02:55:18286 },
[email protected]6cf6ca52013-10-10 20:52:11287 {
[email protected]826360a32014-01-22 22:19:27288 'target_name': 'mojo_gles2_impl',
[email protected]99e508a42013-12-04 01:15:09289 'type': '<(component)',
290 'dependencies': [
[email protected]826360a32014-01-22 22:19:27291 '../base/base.gyp:base',
292 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]68780862014-02-07 00:25:07293 '../gpu/gpu.gyp:command_buffer_client',
294 '../gpu/gpu.gyp:command_buffer_common',
295 '../gpu/gpu.gyp:gles2_cmd_helper',
296 '../gpu/gpu.gyp:gles2_implementation',
[email protected]826360a32014-01-22 22:19:27297 'mojo_gles2',
[email protected]c329ad72014-01-23 04:02:49298 'mojo_gles2_bindings',
299 'mojo_environment_chromium',
[email protected]3a734732014-04-15 03:14:25300 'mojo_system_impl',
[email protected]99e508a42013-12-04 01:15:09301 ],
302 'defines': [
[email protected]826360a32014-01-22 22:19:27303 'MOJO_GLES2_IMPL_IMPLEMENTATION',
[email protected]99e508a42013-12-04 01:15:09304 ],
305 'sources': [
[email protected]68780862014-02-07 00:25:07306 'gles2/command_buffer_client_impl.cc',
307 'gles2/command_buffer_client_impl.h',
[email protected]826360a32014-01-22 22:19:27308 'gles2/gles2_impl_export.h',
309 'gles2/gles2_support_impl.cc',
310 'gles2/gles2_support_impl.h',
[email protected]68780862014-02-07 00:25:07311 'gles2/gles2_context.cc',
312 'gles2/gles2_context.h',
[email protected]99e508a42013-12-04 01:15:09313 ],
314 },
315 {
[email protected]1477ef4c2014-02-13 20:40:53316 'target_name': 'mojo_test_support_impl',
317 'type': 'static_library',
318 'dependencies': [
319 '../base/base.gyp:base',
320 ],
321 'sources': [
322 'common/test/test_support_impl.cc',
323 'common/test/test_support_impl.h',
324 ],
325 },
326 {
[email protected]71c325d2014-06-13 23:14:04327 # GN version: //mojo/common
[email protected]3cf4aad2013-12-01 17:27:25328 'target_name': 'mojo_common_lib',
329 'type': '<(component)',
330 'defines': [
331 'MOJO_COMMON_IMPLEMENTATION',
332 ],
333 'dependencies': [
334 '../base/base.gyp:base',
335 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]3a734732014-04-15 03:14:25336 'mojo_system_impl',
337 ],
338 'export_dependent_settings': [
339 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
340 'mojo_system_impl',
[email protected]3cf4aad2013-12-01 17:27:25341 ],
342 'sources': [
[email protected]2229d4252013-12-08 06:53:47343 'common/common_type_converters.cc',
344 'common/common_type_converters.h',
[email protected]044a7272014-06-10 16:12:58345 'common/data_pipe_utils.cc',
346 'common/data_pipe_utils.h',
[email protected]3cf4aad2013-12-01 17:27:25347 'common/handle_watcher.cc',
348 'common/handle_watcher.h',
349 'common/message_pump_mojo.cc',
350 'common/message_pump_mojo.h',
351 'common/message_pump_mojo_handler.h',
[email protected]433f7d82014-03-15 00:53:48352 'common/time_helper.cc',
353 'common/time_helper.h',
[email protected]3cf4aad2013-12-01 17:27:25354 ],
[email protected]3cf4aad2013-12-01 17:27:25355 },
356 {
[email protected]1ad40142013-12-12 13:20:02357 'target_name': 'mojo_common_test_support',
358 'type': 'static_library',
359 'dependencies': [
360 '../base/base.gyp:base',
361 '../base/base.gyp:test_support_base',
362 '../testing/gtest.gyp:gtest',
[email protected]1ad40142013-12-12 13:20:02363 'mojo_system_impl',
364 ],
365 'sources': [
[email protected]3bc13792014-03-08 22:58:37366 'common/test/multiprocess_test_helper.cc',
367 'common/test/multiprocess_test_helper.h',
[email protected]b8e55f62014-02-22 21:01:54368 'common/test/test_utils.h',
369 'common/test/test_utils_posix.cc',
370 'common/test/test_utils_win.cc',
[email protected]1ad40142013-12-12 13:20:02371 ],
372 },
373 {
[email protected]3cf4aad2013-12-01 17:27:25374 'target_name': 'mojo_common_unittests',
375 'type': 'executable',
376 'dependencies': [
377 '../base/base.gyp:base',
378 '../base/base.gyp:base_message_loop_tests',
379 '../testing/gtest.gyp:gtest',
[email protected]9a1526b2014-04-30 05:27:06380 'mojo_cpp_bindings',
[email protected]0d37563e2014-01-14 16:27:51381 'mojo_environment_chromium',
[email protected]3cf4aad2013-12-01 17:27:25382 'mojo_common_lib',
[email protected]1ad40142013-12-12 13:20:02383 'mojo_common_test_support',
[email protected]6eb908a2014-02-13 17:54:54384 'mojo_public_test_utils',
[email protected]3cf4aad2013-12-01 17:27:25385 'mojo_run_all_unittests',
[email protected]3cf4aad2013-12-01 17:27:25386 ],
387 'sources': [
[email protected]2229d4252013-12-08 06:53:47388 'common/common_type_converters_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25389 'common/handle_watcher_unittest.cc',
390 'common/message_pump_mojo_unittest.cc',
[email protected]3bc13792014-03-08 22:58:37391 'common/test/multiprocess_test_helper_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25392 ],
[email protected]3cf4aad2013-12-01 17:27:25393 },
394 {
[email protected]71c325d2014-06-13 23:14:04395 # GN version: //mojo/environment:chromium
[email protected]0d37563e2014-01-14 16:27:51396 'target_name': 'mojo_environment_chromium',
397 'type': 'static_library',
398 'dependencies': [
[email protected]512e35e92014-04-08 17:35:55399 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51400 'mojo_environment_chromium_impl',
401 ],
402 'sources': [
[email protected]0d37563e2014-01-14 16:27:51403 'environment/environment.cc',
[email protected]e5e69c12014-06-19 22:10:49404 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
405 "public/cpp/environment/logging.h",
406 "public/cpp/environment/lib/logging.h",
[email protected]0d37563e2014-01-14 16:27:51407 ],
408 'include_dirs': [
409 '..',
410 ],
411 'export_dependent_settings': [
412 'mojo_environment_chromium_impl',
413 ],
414 },
415 {
[email protected]71c325d2014-06-13 23:14:04416 # GN version: //mojo/environment:chromium_impl
[email protected]0d37563e2014-01-14 16:27:51417 'target_name': 'mojo_environment_chromium_impl',
418 'type': '<(component)',
419 'defines': [
420 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
421 ],
422 'dependencies': [
423 '../base/base.gyp:base',
424 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
425 'mojo_common_lib'
426 ],
427 'sources': [
428 'environment/default_async_waiter_impl.cc',
429 'environment/default_async_waiter_impl.h',
[email protected]497d61d2014-06-14 07:24:33430 'environment/default_logger_impl.cc',
431 'environment/default_logger_impl.h',
[email protected]0d37563e2014-01-14 16:27:51432 ],
433 'include_dirs': [
434 '..',
435 ],
436 },
437 {
[email protected]71c325d2014-06-13 23:14:04438 # GN version: //mojo/service_manager
[email protected]fadab2eb2014-02-27 23:41:34439 'target_name': 'mojo_service_manager',
[email protected]5d90df52014-03-27 04:16:00440 'type': '<(component)',
441 'defines': [
442 'MOJO_SERVICE_MANAGER_IMPLEMENTATION',
443 ],
[email protected]fadab2eb2014-02-27 23:41:34444 'dependencies': [
445 '../base/base.gyp:base',
[email protected]d656e102014-03-04 18:29:48446 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]fadab2eb2014-02-27 23:41:34447 '../net/net.gyp:net',
448 '../url/url.gyp:url_lib',
[email protected]26d8482f2014-04-02 03:39:59449 'mojo_common_lib',
[email protected]5d90df52014-03-27 04:16:00450 'mojo_environment_chromium',
[email protected]66bf7e22014-05-27 16:50:29451 'mojo_service_provider_bindings',
[email protected]3a734732014-04-15 03:14:25452 'mojo_system_impl',
[email protected]fadab2eb2014-02-27 23:41:34453 ],
454 'sources': [
[email protected]34c758b2014-05-06 09:10:00455 'service_manager/background_service_loader.cc',
456 'service_manager/background_service_loader.h',
[email protected]d656e102014-03-04 18:29:48457 'service_manager/service_loader.h',
[email protected]fadab2eb2014-02-27 23:41:34458 'service_manager/service_manager.cc',
459 'service_manager/service_manager.h',
[email protected]5d90df52014-03-27 04:16:00460 'service_manager/service_manager_export.h',
[email protected]fadab2eb2014-02-27 23:41:34461 ],
[email protected]d656e102014-03-04 18:29:48462 'export_dependent_settings': [
463 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]66bf7e22014-05-27 16:50:29464 'mojo_service_provider_bindings',
[email protected]d656e102014-03-04 18:29:48465 ],
[email protected]fadab2eb2014-02-27 23:41:34466 },
467 {
[email protected]e2682412014-04-07 22:04:42468 'target_name': 'mojo_spy',
469 'type': 'static_library',
470 'dependencies': [
471 '../base/base.gyp:base',
472 '../base/base.gyp:base_static',
[email protected]dd6ca972014-04-30 08:07:50473 '../net/net.gyp:http_server',
[email protected]e2682412014-04-07 22:04:42474 '../url/url.gyp:url_lib',
475 'mojo_service_manager',
476 ],
477 'sources': [
478 'spy/spy.cc',
479 'spy/spy.h',
[email protected]dd6ca972014-04-30 08:07:50480 'spy/websocket_server.cc',
481 'spy/websocket_server.h',
[email protected]e2682412014-04-07 22:04:42482 ],
483 },
484 {
[email protected]786d75c2013-10-24 20:29:35485 'target_name': 'mojo_shell_lib',
486 'type': 'static_library',
[email protected]6cf6ca52013-10-10 20:52:11487 'dependencies': [
488 '../base/base.gyp:base',
[email protected]57d12ab2014-03-14 15:06:55489 '../base/base.gyp:base_static',
[email protected]1124dea02014-04-29 19:31:23490 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]eba6f512013-10-19 00:17:09491 '../net/net.gyp:net',
[email protected]3c448302013-10-22 08:39:08492 '../url/url.gyp:url_lib',
[email protected]ed24c99c2014-06-23 13:20:13493 'mojo_application',
[email protected]65eedf72014-04-28 11:53:16494 'mojo_external_service_bindings',
[email protected]826360a32014-01-22 22:19:27495 'mojo_gles2_impl',
[email protected]044a7272014-06-10 16:12:58496 'mojo_native_viewport_service',
497 'mojo_network_bindings',
[email protected]ed24c99c2014-06-23 13:20:13498 'mojo_profile_service',
[email protected]cfda411c2014-03-21 17:51:28499 'mojo_service_manager',
[email protected]66bf7e22014-05-27 16:50:29500 'mojo_service_provider_bindings',
[email protected]e2682412014-04-07 22:04:42501 'mojo_spy',
[email protected]044a7272014-06-10 16:12:58502 'mojo_system_impl',
[email protected]6cf6ca52013-10-10 20:52:11503 ],
[email protected]352ed67c2014-04-04 21:11:21504 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]6cf6ca52013-10-10 20:52:11505 'sources': [
[email protected]4e559292014-03-18 00:05:15506 'shell/app_child_process.cc',
507 'shell/app_child_process.h',
[email protected]5dcd57c32014-03-20 17:37:19508 'shell/app_child_process.mojom',
[email protected]4e559292014-03-18 00:05:15509 'shell/app_child_process_host.cc',
510 'shell/app_child_process_host.h',
[email protected]57d12ab2014-03-14 15:06:55511 'shell/child_process.cc',
512 'shell/child_process.h',
513 'shell/child_process_host.cc',
514 'shell/child_process_host.h',
[email protected]6e50d5e42013-10-27 02:45:46515 'shell/context.cc',
516 'shell/context.h',
[email protected]65eedf72014-04-28 11:53:16517 'shell/dbus_service_loader_linux.cc',
518 'shell/dbus_service_loader_linux.h',
[email protected]df47c492014-01-03 22:50:15519 'shell/dynamic_service_loader.cc',
520 'shell/dynamic_service_loader.h',
[email protected]e01f3a02014-03-15 00:57:43521 'shell/dynamic_service_runner.h',
[email protected]40932702013-11-20 22:29:30522 'shell/init.cc',
523 'shell/init.h',
[email protected]e01f3a02014-03-15 00:57:43524 'shell/in_process_dynamic_service_runner.cc',
525 'shell/in_process_dynamic_service_runner.h',
[email protected]dcd9a9cd2014-02-03 09:15:41526 'shell/keep_alive.cc',
527 'shell/keep_alive.h',
[email protected]044a7272014-06-10 16:12:58528 'shell/mojo_url_resolver.cc',
529 'shell/mojo_url_resolver.h',
[email protected]4e559292014-03-18 00:05:15530 'shell/out_of_process_dynamic_service_runner.cc',
531 'shell/out_of_process_dynamic_service_runner.h',
[email protected]ed24c99c2014-06-23 13:20:13532 'shell/profile_service_loader.cc',
533 'shell/profile_service_loader.h',
[email protected]adeb6f72013-10-25 08:05:02534 'shell/run.cc',
535 'shell/run.h',
[email protected]6cf6ca52013-10-10 20:52:11536 'shell/switches.cc',
537 'shell/switches.h',
[email protected]eba6f512013-10-19 00:17:09538 'shell/task_runners.cc',
539 'shell/task_runners.h',
[email protected]57d12ab2014-03-14 15:06:55540 'shell/test_child_process.cc',
541 'shell/test_child_process.h',
[email protected]08f1c5972014-05-09 16:26:06542 'shell/view_manager_loader.cc',
543 'shell/view_manager_loader.h',
[email protected]6cf6ca52013-10-10 20:52:11544 ],
[email protected]65eedf72014-04-28 11:53:16545 'conditions': [
546 ['OS=="linux"', {
547 'dependencies': [
548 '../build/linux/system.gyp:dbus',
549 '../dbus/dbus.gyp:dbus',
550 ],
551 }],
[email protected]1124dea02014-04-29 19:31:23552 ['use_aura==1', {
553 'dependencies': [
554 # These are only necessary as long as we hard code use of ViewManager.
555 '../skia/skia.gyp:skia',
[email protected]08f1c5972014-05-09 16:26:06556 'mojo_gles2',
[email protected]1124dea02014-04-29 19:31:23557 'mojo_view_manager',
[email protected]5e1a8322014-05-09 22:35:51558 'mojo_view_manager_bindings',
[email protected]1124dea02014-04-29 19:31:23559 ],
[email protected]08f1c5972014-05-09 16:26:06560 }, { # use_aura==0
561 'sources!': [
562 'shell/view_manager_loader.cc',
563 'shell/view_manager_loader.h',
564 ],
[email protected]1124dea02014-04-29 19:31:23565 }],
566 ],
567 },
568 {
569 'target_name': 'mojo_shell_test_support',
570 'type': 'static_library',
571 'dependencies': [
572 '../base/base.gyp:base',
573 '../base/base.gyp:base_static',
574 '../url/url.gyp:url_lib',
575 'mojo_service_manager',
576 'mojo_shell_lib',
577 'mojo_system_impl',
578 ],
579 'sources': [
580 'shell/shell_test_helper.cc',
581 'shell/shell_test_helper.h',
[email protected]65eedf72014-04-28 11:53:16582 ],
[email protected]6cf6ca52013-10-10 20:52:11583 },
584 {
[email protected]786d75c2013-10-24 20:29:35585 'target_name': 'mojo_shell',
586 'type': 'executable',
587 'dependencies': [
588 '../base/base.gyp:base',
[email protected]42368392013-11-05 13:45:02589 '../ui/gl/gl.gyp:gl',
[email protected]786d75c2013-10-24 20:29:35590 '../url/url.gyp:url_lib',
[email protected]c1e5c782013-11-12 05:10:07591 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51592 'mojo_environment_chromium',
[email protected]5d90df52014-03-27 04:16:00593 'mojo_service_manager',
[email protected]786d75c2013-10-24 20:29:35594 'mojo_shell_lib',
[email protected]5fd29c12013-12-10 07:13:47595 'mojo_system_impl',
[email protected]786d75c2013-10-24 20:29:35596 ],
[email protected]c2dec542014-06-27 22:45:00597 'conditions': [
598 ['use_ozone==1', {
599 'dependencies': [
600 '../ui/ozone/ozone.gyp:ozone',
601 ],
602 }],
603 ],
[email protected]786d75c2013-10-24 20:29:35604 'sources': [
[email protected]adeb6f72013-10-25 08:05:02605 'shell/desktop/mojo_main.cc',
[email protected]786d75c2013-10-24 20:29:35606 ],
[email protected]786d75c2013-10-24 20:29:35607 },
[email protected]df47c492014-01-03 22:50:15608 {
[email protected]fc459f2e2014-06-04 01:02:45609 'target_name': 'mojo_shell_tests',
[email protected]3b8b8052014-06-18 19:41:34610 'type': '<(gtest_target_type)',
[email protected]fc459f2e2014-06-04 01:02:45611 'dependencies': [
612 '../base/base.gyp:base',
613 '../base/base.gyp:test_support_base',
614 '../testing/gtest.gyp:gtest',
615 # TODO(vtl): We don't currently need this, but I imagine we will soon.
616 # '../ui/gl/gl.gyp:gl',
617 '../url/url.gyp:url_lib',
618 'mojo_common_lib',
619 'mojo_environment_chromium',
620 'mojo_service_manager',
621 'mojo_shell_lib',
622 'mojo_system_impl',
[email protected]38b07d572014-06-25 17:38:18623 'mojo_test_service',
[email protected]a10299d2014-06-09 17:24:10624 'mojo_test_service_bindings',
[email protected]fc459f2e2014-06-04 01:02:45625 ],
626 'sources': [
627 'shell/child_process_host_unittest.cc',
628 'shell/shell_test_base.cc',
629 'shell/shell_test_base.h',
[email protected]a10299d2014-06-09 17:24:10630 'shell/shell_test_base_unittest.cc',
[email protected]fc459f2e2014-06-04 01:02:45631 'shell/shell_test_main.cc',
632 ],
[email protected]3b8b8052014-06-18 19:41:34633 'conditions': [
634 ['OS == "android"', {
635 'dependencies': [
636 '../testing/android/native_test.gyp:native_test_native_code',
637 ],
638 }],
639 ],
[email protected]fc459f2e2014-06-04 01:02:45640 },
641 {
[email protected]fadab2eb2014-02-27 23:41:34642 'target_name': 'mojo_service_manager_unittests',
[email protected]df47c492014-01-03 22:50:15643 'type': 'executable',
644 'dependencies': [
645 '../base/base.gyp:base',
646 '../testing/gtest.gyp:gtest',
[email protected]5d90df52014-03-27 04:16:00647 '../url/url.gyp:url_lib',
[email protected]26d8482f2014-04-02 03:39:59648 'mojo_common_lib',
[email protected]9a1526b2014-04-30 05:27:06649 'mojo_cpp_bindings',
[email protected]5d90df52014-03-27 04:16:00650 'mojo_environment_chromium',
[email protected]df47c492014-01-03 22:50:15651 'mojo_run_all_unittests',
[email protected]fadab2eb2014-02-27 23:41:34652 'mojo_service_manager',
[email protected]66bf7e22014-05-27 16:50:29653 'mojo_application',
[email protected]df47c492014-01-03 22:50:15654 ],
[email protected]352ed67c2014-04-04 21:11:21655 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]df47c492014-01-03 22:50:15656 'sources': [
[email protected]fadab2eb2014-02-27 23:41:34657 'service_manager/service_manager_unittest.cc',
658 'service_manager/test.mojom',
[email protected]df47c492014-01-03 22:50:15659 ],
660 },
[email protected]f8c8cc12014-03-07 23:48:32661 {
662 'target_name': 'mojo_js_bindings_lib',
663 'type': 'static_library',
664 'dependencies': [
665 '../base/base.gyp:base',
666 '../gin/gin.gyp:gin',
667 '../v8/tools/gyp/v8.gyp:v8',
668 'mojo_common_lib',
[email protected]f8c8cc12014-03-07 23:48:32669 ],
670 'export_dependent_settings': [
671 '../base/base.gyp:base',
672 '../gin/gin.gyp:gin',
673 'mojo_common_lib',
[email protected]f8c8cc12014-03-07 23:48:32674 ],
675 'sources': [
676 'bindings/js/core.cc',
677 'bindings/js/core.h',
678 'bindings/js/handle.cc',
679 'bindings/js/handle.h',
680 'bindings/js/support.cc',
681 'bindings/js/support.h',
682 'bindings/js/waiting_callback.cc',
683 'bindings/js/waiting_callback.h',
684 ],
685 },
[email protected]8de52462014-03-11 15:48:39686 {
687 'target_name': 'mojo_js_unittests',
688 'type': 'executable',
689 'dependencies': [
690 '../gin/gin.gyp:gin_test',
[email protected]a27695c22014-04-25 05:17:31691 'mojo_common_test_support',
[email protected]8de52462014-03-11 15:48:39692 'mojo_js_bindings_lib',
693 'mojo_run_all_unittests',
[email protected]e1e974b2014-04-16 02:05:57694 'mojo_public_test_interfaces',
[email protected]8de52462014-03-11 15:48:39695 ],
696 'sources': [
697 'bindings/js/run_js_tests.cc',
698 ],
699 },
[email protected]15429ab2014-04-04 00:43:22700 {
701 'target_name': 'mojo_message_generator',
702 'type': 'executable',
703 'dependencies': [
704 '../base/base.gyp:base',
705 '../testing/gtest.gyp:gtest',
[email protected]15429ab2014-04-04 00:43:22706 'mojo_common_lib',
[email protected]9a1526b2014-04-30 05:27:06707 'mojo_cpp_bindings',
[email protected]15429ab2014-04-04 00:43:22708 'mojo_environment_chromium',
[email protected]15429ab2014-04-04 00:43:22709 'mojo_system_impl',
710 ],
711 'sources': [
712 'tools/message_generator.cc',
713 ],
714 },
[email protected]78ecb7c2014-05-06 22:34:24715 {
716 'target_name': 'mojo_cc_support',
717 'type': 'static_library',
718 'dependencies': [
719 '../base/base.gyp:base',
720 '../cc/cc.gyp:cc',
721 '../skia/skia.gyp:skia',
722 '../gpu/gpu.gyp:gles2_implementation',
723 'mojo_gles2',
724 ],
725 'sources': [
726 'cc/context_provider_mojo.cc',
727 'cc/context_provider_mojo.h',
728 ],
729 },
[email protected]02657da2013-09-16 02:55:18730 ],
[email protected]786d75c2013-10-24 20:29:35731 'conditions': [
732 ['OS=="android"', {
733 'targets': [
734 {
[email protected]70c03642014-04-23 16:02:32735 'target_name': 'mojo_jni_headers',
736 'type': 'none',
737 'dependencies': [
738 'mojo_java_set_jni_headers',
739 ],
740 'sources': [
[email protected]688d0672014-05-28 19:03:30741 'android/javatests/src/org/chromium/mojo/MojoTestCase.java',
742 'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java',
[email protected]70c03642014-04-23 16:02:32743 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java',
744 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java',
745 ],
746 'variables': {
747 'jni_gen_package': 'mojo',
[email protected]70c03642014-04-23 16:02:32748 },
749 'includes': [ '../build/jni_generator.gypi' ],
750 },
751 {
752 'target_name': 'mojo_system_java',
753 'type': 'none',
754 'dependencies': [
755 '../base/base.gyp:base_java',
756 'mojo_public_java',
757 ],
758 'variables': {
759 'java_in_dir': '<(DEPTH)/mojo/android/system',
760 },
761 'includes': [ '../build/java.gypi' ],
762 },
763 {
764 'target_name': 'libmojo_system_java',
765 'type': 'static_library',
766 'dependencies': [
767 '../base/base.gyp:base',
768 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
769 'mojo_common_lib',
770 'mojo_environment_chromium',
771 'mojo_jni_headers',
[email protected]66bf7e22014-05-27 16:50:29772 'mojo_service_provider_bindings',
[email protected]70c03642014-04-23 16:02:32773 'mojo_shell_lib',
774 ],
775 'sources': [
776 'android/system/core_impl.cc',
777 'android/system/core_impl.h',
778 ],
779 },
780 {
781 'target_name': 'libmojo_java_unittest',
782 'type': 'shared_library',
783 'dependencies': [
784 '../base/base.gyp:base',
[email protected]7d9d82e2014-05-20 15:36:34785 '../base/base.gyp:test_support_base',
[email protected]70c03642014-04-23 16:02:32786 'libmojo_system_java',
787 'mojo_jni_headers',
788 ],
[email protected]1ba6c7e2014-06-14 20:18:29789 'defines': [
790 'UNIT_TEST' # As exported from testing/gtest.gyp:gtest.
791 ],
[email protected]70c03642014-04-23 16:02:32792 'sources': [
[email protected]54cb5932014-05-28 14:02:38793 'android/javatests/mojo_test_case.cc',
794 'android/javatests/mojo_test_case.h',
[email protected]70c03642014-04-23 16:02:32795 'android/javatests/init_library.cc',
796 ],
797 },
798 {
799 'target_name': 'mojo_test_apk',
800 'type': 'none',
801 'dependencies': [
[email protected]230db69d2014-05-15 18:54:04802 'mojo_bindings_java',
803 'mojo_public_test_interfaces',
[email protected]70c03642014-04-23 16:02:32804 'mojo_system_java',
805 '../base/base.gyp:base_java_test_support',
806 ],
807 'variables': {
808 'apk_name': 'MojoTest',
809 'java_in_dir': '<(DEPTH)/mojo/android/javatests',
810 'resource_dir': '<(DEPTH)/mojo/android/javatests/apk',
811 'native_lib_target': 'libmojo_java_unittest',
812 'is_test_apk': 1,
[email protected]10955d32014-04-30 11:22:41813 # Given that this apk tests itself, it needs to bring emma with it
814 # when instrumented.
815 'conditions': [
816 ['emma_coverage != 0', {
817 'emma_instrument': 1,
818 }],
819 ],
[email protected]70c03642014-04-23 16:02:32820 },
821 'includes': [ '../build/java_apk.gypi' ],
822 },
823 {
[email protected]99e508a42013-12-04 01:15:09824 'target_name': 'mojo_native_viewport_java',
[email protected]29ccd8e2013-11-01 16:44:56825 'type': 'none',
826 'dependencies': [
827 '../base/base.gyp:base_java',
828 ],
829 'variables': {
830 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
831 },
832 'includes': [ '../build/java.gypi' ],
833 },
834 {
[email protected]67f839c92013-12-11 03:26:40835 'target_name': 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02836 'type': 'none',
837 'variables': {
838 'jni_gen_package': 'mojo',
839 'input_java_class': 'java/util/HashSet.class',
840 },
841 'includes': [ '../build/jar_file_jni_generator.gypi' ],
842 },
843 {
[email protected]786d75c2013-10-24 20:29:35844 'target_name': 'libmojo_shell',
845 'type': 'shared_library',
846 'dependencies': [
847 '../base/base.gyp:base',
[email protected]adeb6f72013-10-25 08:05:02848 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]570c26d2013-10-30 04:07:46849 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:15850 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]570c26d2013-10-30 04:07:46851 '../ui/gl/gl.gyp:gl',
[email protected]c1e5c782013-11-12 05:10:07852 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51853 'mojo_environment_chromium',
[email protected]adeb6f72013-10-25 08:05:02854 'mojo_jni_headers',
[email protected]66bf7e22014-05-27 16:50:29855 'mojo_service_provider_bindings',
[email protected]09d040f2013-12-20 20:44:59856 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35857 ],
858 'sources': [
859 'shell/android/library_loader.cc',
[email protected]adeb6f72013-10-25 08:05:02860 'shell/android/mojo_main.cc',
861 'shell/android/mojo_main.h',
[email protected]786d75c2013-10-24 20:29:35862 ],
863 },
864 {
865 'target_name': 'mojo_shell_apk',
866 'type': 'none',
867 'dependencies': [
868 '../base/base.gyp:base_java',
869 '../net/net.gyp:net_java',
[email protected]99e508a42013-12-04 01:15:09870 'mojo_native_viewport_java',
[email protected]786d75c2013-10-24 20:29:35871 'libmojo_shell',
872 ],
873 'variables': {
874 'apk_name': 'MojoShell',
[email protected]0be9b242013-10-28 06:28:38875 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
876 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
[email protected]786d75c2013-10-24 20:29:35877 'native_lib_target': 'libmojo_shell',
878 },
879 'includes': [ '../build/java_apk.gypi' ],
880 }
881 ],
882 }],
[email protected]8110218d2014-05-01 23:30:06883 ['OS=="linux"', {
884 'targets': [
885 {
886 'target_name': 'mojo_dbus_service',
887 'type': 'static_library',
888 'dependencies': [
889 '../base/base.gyp:base',
890 '../build/linux/system.gyp:dbus',
891 '../dbus/dbus.gyp:dbus',
892 'mojo_common_lib',
893 'mojo_external_service_bindings',
[email protected]66bf7e22014-05-27 16:50:29894 'mojo_application',
[email protected]8110218d2014-05-01 23:30:06895 'mojo_system_impl',
896 ],
897 'sources': [
898 'dbus/dbus_external_service.h',
899 'dbus/dbus_external_service.cc',
900 ],
901 },
902 ],
903 }],
[email protected]9eb072b62014-03-19 20:35:16904 ['test_isolation_mode != "noop"', {
905 'targets': [
906 {
907 'target_name': 'mojo_js_unittests_run',
908 'type': 'none',
909 'dependencies': [
910 'mojo_js_unittests',
911 ],
912 'includes': [
913 '../build/isolate.gypi',
914 'mojo_js_unittests.isolate',
915 ],
916 'sources': [
917 'mojo_js_unittests.isolate',
918 ],
919 },
920 ],
921 }],
[email protected]78ecb7c2014-05-06 22:34:24922 ['use_aura==1', {
923 'targets': [
924 {
925 'target_name': 'mojo_aura_support',
926 'type': 'static_library',
927 'dependencies': [
928 '../cc/cc.gyp:cc',
929 '../ui/aura/aura.gyp:aura',
[email protected]33bc2bc2014-06-10 17:52:24930 '../ui/compositor/compositor.gyp:compositor',
[email protected]78ecb7c2014-05-06 22:34:24931 '../ui/events/events.gyp:events',
932 '../ui/events/events.gyp:events_base',
[email protected]78ecb7c2014-05-06 22:34:24933 '../ui/gl/gl.gyp:gl',
934 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
935 'mojo_cc_support',
936 'mojo_gles2',
937 'mojo_native_viewport_bindings',
938 ],
939 'sources': [
[email protected]33bc2bc2014-06-10 17:52:24940 'aura/aura_init.cc',
941 'aura/aura_init.h',
[email protected]69291542014-06-07 08:17:42942 'aura/context_factory_mojo.cc',
943 'aura/context_factory_mojo.h',
[email protected]78ecb7c2014-05-06 22:34:24944 'aura/screen_mojo.cc',
945 'aura/screen_mojo.h',
[email protected]69291542014-06-07 08:17:42946 'aura/window_tree_host_mojo.cc',
947 'aura/window_tree_host_mojo.h',
948 'aura/window_tree_host_mojo_delegate.h',
[email protected]78ecb7c2014-05-06 22:34:24949 ],
950 },
[email protected]33bc2bc2014-06-10 17:52:24951 {
952 'target_name': 'mojo_views_support',
953 'type': 'static_library',
954 'dependencies': [
955 '../base/base.gyp:base',
956 '../base/base.gyp:base_i18n',
957 '../skia/skia.gyp:skia',
958 '../skia/skia.gyp:skia',
959 '../third_party/icu/icu.gyp:icui18n',
960 '../third_party/icu/icu.gyp:icuuc',
961 '../ui/aura/aura.gyp:aura',
962 '../ui/base/ui_base.gyp:ui_base',
963 '../ui/views/views.gyp:views',
964 '../ui/wm/wm.gyp:wm',
965 'mojo_aura_support',
[email protected]30d8e442014-06-24 19:41:07966 'mojo_views_support_internal',
[email protected]33bc2bc2014-06-10 17:52:24967 ],
968 'sources': [
969 'views/native_widget_view_manager.cc',
970 'views/native_widget_view_manager.h',
971 'views/views_init.cc',
972 'views/views_init.h',
973 ],
974 },
[email protected]30d8e442014-06-24 19:41:07975 {
976 'target_name': 'mojo_views_support_internal',
977 'type': '<(component)',
978 'dependencies': [
979 '../base/base.gyp:base',
980 '../base/base.gyp:base_i18n',
981 '../base/base.gyp:base_static',
982 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
983 '../skia/skia.gyp:skia',
984 '../skia/skia.gyp:skia',
985 '../third_party/icu/icu.gyp:icui18n',
986 '../third_party/icu/icu.gyp:icuuc',
987 '../ui/base/ui_base.gyp:ui_base',
988 '../ui/gfx/gfx.gyp:gfx',
989 ],
990 'sources': [
991 'views/mojo_views_export.h',
992 'views/views_init_internal.cc',
993 'views/views_init_internal.h',
994 ],
995 'defines': [
996 'MOJO_VIEWS_IMPLEMENTATION',
997 ],
998 },
[email protected]78ecb7c2014-05-06 22:34:24999 ],
1000 }],
[email protected]786d75c2013-10-24 20:29:351001 ],
[email protected]02657da2013-09-16 02:55:181002}