blob: c721cfaab6c04ae1c77d47ef0ac5965f7e21d041 [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]b4aef952013-11-26 23:25:4532 'mojo_bindings',
[email protected]4b1172e2014-01-15 22:26:3133 'mojo_compositor_app',
[email protected]cbf7e962013-11-07 20:35:5234 'mojo_common_lib',
35 'mojo_common_unittests',
[email protected]93830742013-11-08 12:17:2436 'mojo_js',
[email protected]de3d0b02013-12-03 23:18:2537 'mojo_js_unittests',
[email protected]15429ab2014-04-04 00:43:2238 'mojo_message_generator',
[email protected]6bcc45b2014-03-22 04:11:1239 'mojo_pepper_container_app',
[email protected]6eb908a2014-02-13 17:54:5440 'mojo_public_test_utils',
[email protected]0b438a62014-01-12 06:19:0341 'mojo_public_bindings_unittests',
[email protected]0d37563e2014-01-14 16:27:5142 'mojo_public_environment_unittests',
[email protected]0b438a62014-01-12 06:19:0343 'mojo_public_system_perftests',
44 'mojo_public_system_unittests',
45 'mojo_public_utility_unittests',
[email protected]67f839c92013-12-11 03:26:4046 'mojo_sample_app',
[email protected]fadab2eb2014-02-27 23:41:3447 'mojo_service_manager',
48 'mojo_service_manager_unittests',
[email protected]b4aef952013-11-26 23:25:4549 'mojo_shell',
50 'mojo_shell_lib',
51 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4752 'mojo_system_impl',
[email protected]b4aef952013-11-26 23:25:4553 'mojo_system_unittests',
[email protected]273e2172013-12-10 07:24:1654 'mojo_utility',
[email protected]3d58663b2013-09-28 00:30:0455 ],
[email protected]331e4db2014-01-07 21:46:0456 'conditions': [
57 ['use_aura==1', {
58 'dependencies': [
59 'mojo_aura_demo',
[email protected]bddb2842014-01-27 22:38:1960 'mojo_launcher',
[email protected]1fd496142014-01-29 05:16:0261 'mojo_view_manager',
[email protected]331e4db2014-01-07 21:46:0462 ],
63 }],
64 ]
[email protected]3d58663b2013-09-28 00:30:0465 },
66 {
[email protected]4b4068d2013-11-11 21:12:0367 'target_name': 'mojo_run_all_unittests',
68 'type': 'static_library',
69 'dependencies': [
70 '../base/base.gyp:base',
71 '../base/base.gyp:test_support_base',
[email protected]d16a5b42013-12-03 17:47:2472 '../testing/gtest.gyp:gtest',
[email protected]4b4068d2013-11-11 21:12:0373 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4774 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:5375 'mojo_test_support',
76 'mojo_test_support_impl',
[email protected]4b4068d2013-11-11 21:12:0377 ],
78 'sources': [
79 'common/test/run_all_unittests.cc',
80 ],
81 },
82 {
[email protected]5f8471fb2013-11-26 23:07:2483 'target_name': 'mojo_run_all_perftests',
84 'type': 'static_library',
85 'dependencies': [
86 '../base/base.gyp:test_support_base',
87 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4788 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:5389 'mojo_test_support',
90 'mojo_test_support_impl',
[email protected]5f8471fb2013-11-26 23:07:2491 ],
92 'sources': [
93 'common/test/run_all_perftests.cc',
94 ],
95 },
96 {
[email protected]5fd29c12013-12-10 07:13:4797 'target_name': 'mojo_system_impl',
[email protected]6cf6ca52013-10-10 20:52:1198 'type': '<(component)',
[email protected]3d58663b2013-09-28 00:30:0499 'dependencies': [
[email protected]5fd29c12013-12-10 07:13:47100 'mojo_system',
[email protected]3d58663b2013-09-28 00:30:04101 '../base/base.gyp:base',
[email protected]44992e72014-03-04 07:44:13102 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]3d58663b2013-09-28 00:30:04103 ],
[email protected]6cf6ca52013-10-10 20:52:11104 'defines': [
[email protected]5fd29c12013-12-10 07:13:47105 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
[email protected]6cf6ca52013-10-10 20:52:11106 ],
[email protected]3d58663b2013-09-28 00:30:04107 'sources': [
[email protected]f13fe442014-03-19 00:05:26108 'embedder/embedder.cc',
109 'embedder/embedder.h',
110 'embedder/platform_channel_pair.cc',
111 'embedder/platform_channel_pair.h',
112 'embedder/platform_channel_pair_posix.cc',
113 'embedder/platform_channel_pair_win.cc',
[email protected]d4698f42014-04-05 08:30:23114 'embedder/platform_channel_utils_posix.cc',
115 'embedder/platform_channel_utils_posix.h',
[email protected]f13fe442014-03-19 00:05:26116 'embedder/platform_handle.cc',
117 'embedder/platform_handle.h',
118 'embedder/scoped_platform_handle.h',
[email protected]ccf8453d2013-11-07 17:49:50119 'system/channel.cc',
120 'system/channel.h',
[email protected]32446982013-12-16 20:58:48121 'system/constants.h',
[email protected]3d58663b2013-09-28 00:30:04122 'system/core_impl.cc',
123 'system/core_impl.h',
[email protected]82d1954d2013-12-13 22:23:19124 'system/data_pipe.cc',
125 'system/data_pipe.h',
[email protected]ae3d3572013-12-14 00:00:53126 'system/data_pipe_consumer_dispatcher.cc',
127 'system/data_pipe_consumer_dispatcher.h',
[email protected]82d1954d2013-12-13 22:23:19128 'system/data_pipe_producer_dispatcher.cc',
129 'system/data_pipe_producer_dispatcher.h',
[email protected]3d58663b2013-09-28 00:30:04130 'system/dispatcher.cc',
131 'system/dispatcher.h',
[email protected]3f623282014-03-31 02:07:46132 'system/handle_table.cc',
133 'system/handle_table.h',
[email protected]00798012013-12-16 20:39:30134 'system/local_data_pipe.cc',
135 'system/local_data_pipe.h',
[email protected]989f8bc2013-10-16 00:24:37136 'system/local_message_pipe_endpoint.cc',
137 'system/local_message_pipe_endpoint.h',
[email protected]cfa16b3412014-04-01 11:20:12138 'system/mapping_table.cc',
139 'system/mapping_table.h',
[email protected]3d58663b2013-09-28 00:30:04140 'system/memory.cc',
141 'system/memory.h',
[email protected]aae74e92013-10-03 20:52:34142 'system/message_in_transit.cc',
143 'system/message_in_transit.h',
[email protected]311a9a12014-03-03 23:17:23144 'system/message_in_transit_queue.cc',
145 'system/message_in_transit_queue.h',
[email protected]3d58663b2013-09-28 00:30:04146 'system/message_pipe.cc',
147 'system/message_pipe.h',
148 'system/message_pipe_dispatcher.cc',
149 'system/message_pipe_dispatcher.h',
[email protected]989f8bc2013-10-16 00:24:37150 'system/message_pipe_endpoint.cc',
151 'system/message_pipe_endpoint.h',
[email protected]ccf8453d2013-11-07 17:49:50152 'system/proxy_message_pipe_endpoint.cc',
153 'system/proxy_message_pipe_endpoint.h',
[email protected]497626502014-02-27 18:13:25154 'system/raw_channel.cc',
[email protected]5a0d0062013-10-11 19:07:18155 'system/raw_channel.h',
156 'system/raw_channel_posix.cc',
[email protected]ccf8453d2013-11-07 17:49:50157 'system/raw_channel_win.cc',
[email protected]ac1df702014-03-21 20:45:27158 'system/raw_shared_buffer.cc',
159 'system/raw_shared_buffer.h',
160 'system/raw_shared_buffer_posix.cc',
161 'system/raw_shared_buffer_win.cc',
[email protected]be7edee2014-03-22 07:01:52162 'system/shared_buffer_dispatcher.cc',
163 'system/shared_buffer_dispatcher.h',
[email protected]3d58663b2013-09-28 00:30:04164 'system/simple_dispatcher.cc',
165 'system/simple_dispatcher.h',
166 'system/waiter.cc',
167 'system/waiter.h',
168 'system/waiter_list.cc',
169 'system/waiter_list.h',
[email protected]8579fe02014-01-16 23:51:10170 # Test-only code:
171 # TODO(vtl): It's a little unfortunate that these end up in the same
172 # component as non-test-only code. In the static build, this code should
173 # hopefully be dead-stripped.
[email protected]f13fe442014-03-19 00:05:26174 'embedder/test_embedder.cc',
175 'embedder/test_embedder.h',
[email protected]3d58663b2013-09-28 00:30:04176 ],
[email protected]3d58663b2013-09-28 00:30:04177 },
178 {
179 'target_name': 'mojo_system_unittests',
180 'type': 'executable',
181 'dependencies': [
182 '../base/base.gyp:run_all_unittests',
183 '../testing/gtest.gyp:gtest',
[email protected]1ad40142013-12-12 13:20:02184 'mojo_common_test_support',
[email protected]3d58663b2013-09-28 00:30:04185 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47186 'mojo_system_impl',
[email protected]3d58663b2013-09-28 00:30:04187 ],
188 'sources': [
[email protected]f13fe442014-03-19 00:05:26189 'embedder/embedder_unittest.cc',
[email protected]9e1d94922014-03-25 18:51:56190 'embedder/platform_channel_pair_posix_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04191 'system/core_impl_unittest.cc',
192 'system/core_test_base.cc',
193 'system/core_test_base.h',
[email protected]92fb7f42013-12-17 22:38:30194 'system/data_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04195 'system/dispatcher_unittest.cc',
[email protected]92fb7f42013-12-17 22:38:30196 'system/local_data_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04197 'system/message_pipe_dispatcher_unittest.cc',
198 'system/message_pipe_unittest.cc',
[email protected]1ad40142013-12-12 13:20:02199 'system/multiprocess_message_pipe_unittest.cc',
[email protected]44992e72014-03-04 07:44:13200 'system/raw_channel_unittest.cc',
[email protected]ac1df702014-03-21 20:45:27201 'system/raw_shared_buffer_unittest.cc',
[email protected]f764b25b2014-03-06 10:31:47202 'system/remote_message_pipe_unittest.cc',
[email protected]40063092014-03-24 22:46:09203 'system/shared_buffer_dispatcher_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04204 'system/simple_dispatcher_unittest.cc',
[email protected]b334246d2013-10-24 00:08:57205 'system/test_utils.cc',
[email protected]3d58663b2013-09-28 00:30:04206 'system/test_utils.h',
207 'system/waiter_list_unittest.cc',
208 'system/waiter_test_utils.cc',
209 'system/waiter_test_utils.h',
210 'system/waiter_unittest.cc',
211 ],
[email protected]02657da2013-09-16 02:55:18212 },
[email protected]6cf6ca52013-10-10 20:52:11213 {
[email protected]826360a32014-01-22 22:19:27214 'target_name': 'mojo_gles2_impl',
[email protected]99e508a42013-12-04 01:15:09215 'type': '<(component)',
216 'dependencies': [
[email protected]826360a32014-01-22 22:19:27217 '../base/base.gyp:base',
218 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]68780862014-02-07 00:25:07219 '../gpu/gpu.gyp:command_buffer_client',
220 '../gpu/gpu.gyp:command_buffer_common',
221 '../gpu/gpu.gyp:gles2_cmd_helper',
222 '../gpu/gpu.gyp:gles2_implementation',
[email protected]826360a32014-01-22 22:19:27223 'mojo_gles2',
[email protected]c329ad72014-01-23 04:02:49224 'mojo_gles2_bindings',
225 'mojo_environment_chromium',
[email protected]99e508a42013-12-04 01:15:09226 ],
227 'defines': [
[email protected]826360a32014-01-22 22:19:27228 'MOJO_GLES2_IMPL_IMPLEMENTATION',
[email protected]99e508a42013-12-04 01:15:09229 ],
230 'sources': [
[email protected]68780862014-02-07 00:25:07231 'gles2/command_buffer_client_impl.cc',
232 'gles2/command_buffer_client_impl.h',
[email protected]826360a32014-01-22 22:19:27233 'gles2/gles2_impl_export.h',
234 'gles2/gles2_support_impl.cc',
235 'gles2/gles2_support_impl.h',
[email protected]68780862014-02-07 00:25:07236 'gles2/gles2_context.cc',
237 'gles2/gles2_context.h',
[email protected]99e508a42013-12-04 01:15:09238 ],
239 },
240 {
[email protected]1477ef4c2014-02-13 20:40:53241 'target_name': 'mojo_test_support_impl',
242 'type': 'static_library',
243 'dependencies': [
244 '../base/base.gyp:base',
245 ],
246 'sources': [
247 'common/test/test_support_impl.cc',
248 'common/test/test_support_impl.h',
249 ],
250 },
251 {
[email protected]3cf4aad2013-12-01 17:27:25252 'target_name': 'mojo_common_lib',
253 'type': '<(component)',
254 'defines': [
255 'MOJO_COMMON_IMPLEMENTATION',
256 ],
257 'dependencies': [
258 '../base/base.gyp:base',
259 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
260 'mojo_system',
261 ],
262 'sources': [
[email protected]2229d4252013-12-08 06:53:47263 'common/common_type_converters.cc',
264 'common/common_type_converters.h',
[email protected]26d8482f2014-04-02 03:39:59265 'common/environment_data.cc',
266 'common/environment_data.h',
[email protected]3cf4aad2013-12-01 17:27:25267 'common/handle_watcher.cc',
268 'common/handle_watcher.h',
269 'common/message_pump_mojo.cc',
270 'common/message_pump_mojo.h',
271 'common/message_pump_mojo_handler.h',
[email protected]433f7d82014-03-15 00:53:48272 'common/time_helper.cc',
273 'common/time_helper.h',
[email protected]3cf4aad2013-12-01 17:27:25274 ],
[email protected]3cf4aad2013-12-01 17:27:25275 },
276 {
[email protected]1ad40142013-12-12 13:20:02277 'target_name': 'mojo_common_test_support',
278 'type': 'static_library',
279 'dependencies': [
280 '../base/base.gyp:base',
281 '../base/base.gyp:test_support_base',
282 '../testing/gtest.gyp:gtest',
283 'mojo_system',
284 'mojo_system_impl',
285 ],
286 'sources': [
[email protected]3bc13792014-03-08 22:58:37287 'common/test/multiprocess_test_helper.cc',
288 'common/test/multiprocess_test_helper.h',
[email protected]b8e55f62014-02-22 21:01:54289 'common/test/test_utils.h',
290 'common/test/test_utils_posix.cc',
291 'common/test/test_utils_win.cc',
[email protected]1ad40142013-12-12 13:20:02292 ],
293 },
294 {
[email protected]3cf4aad2013-12-01 17:27:25295 'target_name': 'mojo_common_unittests',
296 'type': 'executable',
297 'dependencies': [
298 '../base/base.gyp:base',
299 '../base/base.gyp:base_message_loop_tests',
300 '../testing/gtest.gyp:gtest',
[email protected]c2a52bf2013-12-02 13:55:36301 'mojo_bindings',
[email protected]0d37563e2014-01-14 16:27:51302 'mojo_environment_chromium',
[email protected]3cf4aad2013-12-01 17:27:25303 'mojo_common_lib',
[email protected]1ad40142013-12-12 13:20:02304 'mojo_common_test_support',
[email protected]6eb908a2014-02-13 17:54:54305 'mojo_public_test_utils',
[email protected]3cf4aad2013-12-01 17:27:25306 'mojo_run_all_unittests',
307 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47308 'mojo_system_impl',
[email protected]3cf4aad2013-12-01 17:27:25309 ],
310 'sources': [
[email protected]2229d4252013-12-08 06:53:47311 'common/common_type_converters_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25312 'common/handle_watcher_unittest.cc',
313 'common/message_pump_mojo_unittest.cc',
[email protected]3bc13792014-03-08 22:58:37314 'common/test/multiprocess_test_helper_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25315 ],
[email protected]3cf4aad2013-12-01 17:27:25316 },
317 {
[email protected]0d37563e2014-01-14 16:27:51318 'target_name': 'mojo_environment_chromium',
319 'type': 'static_library',
320 'dependencies': [
[email protected]512e35e92014-04-08 17:35:55321 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51322 'mojo_environment_chromium_impl',
323 ],
324 'sources': [
325 'environment/default_async_waiter.cc',
326 'environment/buffer_tls.cc',
327 'environment/environment.cc',
328 ],
329 'include_dirs': [
330 '..',
331 ],
332 'export_dependent_settings': [
333 'mojo_environment_chromium_impl',
334 ],
335 },
336 {
337 'target_name': 'mojo_environment_chromium_impl',
338 'type': '<(component)',
339 'defines': [
340 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
341 ],
342 'dependencies': [
343 '../base/base.gyp:base',
344 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
345 'mojo_common_lib'
346 ],
347 'sources': [
348 'environment/default_async_waiter_impl.cc',
349 'environment/default_async_waiter_impl.h',
350 'environment/buffer_tls_impl.cc',
351 'environment/buffer_tls_impl.h',
352 ],
353 'include_dirs': [
354 '..',
355 ],
356 },
357 {
[email protected]fadab2eb2014-02-27 23:41:34358 'target_name': 'mojo_service_manager',
[email protected]5d90df52014-03-27 04:16:00359 'type': '<(component)',
360 'defines': [
361 'MOJO_SERVICE_MANAGER_IMPLEMENTATION',
362 ],
[email protected]fadab2eb2014-02-27 23:41:34363 'dependencies': [
364 '../base/base.gyp:base',
[email protected]d656e102014-03-04 18:29:48365 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]fadab2eb2014-02-27 23:41:34366 '../net/net.gyp:net',
367 '../url/url.gyp:url_lib',
[email protected]26d8482f2014-04-02 03:39:59368 'mojo_common_lib',
[email protected]5d90df52014-03-27 04:16:00369 'mojo_environment_chromium',
[email protected]fadab2eb2014-02-27 23:41:34370 'mojo_shell_bindings',
371 ],
372 'sources': [
[email protected]d656e102014-03-04 18:29:48373 'service_manager/service_loader.h',
[email protected]fadab2eb2014-02-27 23:41:34374 'service_manager/service_manager.cc',
375 'service_manager/service_manager.h',
[email protected]5d90df52014-03-27 04:16:00376 'service_manager/service_manager_export.h',
[email protected]fadab2eb2014-02-27 23:41:34377 ],
[email protected]d656e102014-03-04 18:29:48378 'export_dependent_settings': [
379 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]5d90df52014-03-27 04:16:00380 'mojo_shell_bindings',
[email protected]d656e102014-03-04 18:29:48381 ],
[email protected]fadab2eb2014-02-27 23:41:34382 },
383 {
[email protected]e2682412014-04-07 22:04:42384 'target_name': 'mojo_spy',
385 'type': 'static_library',
386 'dependencies': [
387 '../base/base.gyp:base',
388 '../base/base.gyp:base_static',
389 '../url/url.gyp:url_lib',
390 'mojo_service_manager',
391 ],
392 'sources': [
393 'spy/spy.cc',
394 'spy/spy.h',
395 ],
396 },
397 {
[email protected]786d75c2013-10-24 20:29:35398 'target_name': 'mojo_shell_lib',
399 'type': 'static_library',
[email protected]6cf6ca52013-10-10 20:52:11400 'dependencies': [
401 '../base/base.gyp:base',
[email protected]57d12ab2014-03-14 15:06:55402 '../base/base.gyp:base_static',
[email protected]eba6f512013-10-19 00:17:09403 '../net/net.gyp:net',
[email protected]3c448302013-10-22 08:39:08404 '../url/url.gyp:url_lib',
[email protected]826360a32014-01-22 22:19:27405 'mojo_gles2_impl',
[email protected]cfda411c2014-03-21 17:51:28406 'mojo_service_manager',
[email protected]5d90df52014-03-27 04:16:00407 'mojo_shell_bindings',
[email protected]6cf6ca52013-10-10 20:52:11408 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47409 'mojo_system_impl',
[email protected]2e5f3a02013-12-21 07:12:37410 'mojo_native_viewport_service',
[email protected]e2682412014-04-07 22:04:42411 'mojo_spy',
[email protected]6cf6ca52013-10-10 20:52:11412 ],
[email protected]69a0a132014-03-26 16:45:02413 'variables': {
414 'mojom_base_output_dir': 'mojo',
415 },
[email protected]352ed67c2014-04-04 21:11:21416 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]6cf6ca52013-10-10 20:52:11417 'sources': [
[email protected]4e559292014-03-18 00:05:15418 'shell/app_child_process.cc',
419 'shell/app_child_process.h',
[email protected]5dcd57c32014-03-20 17:37:19420 'shell/app_child_process.mojom',
[email protected]4e559292014-03-18 00:05:15421 'shell/app_child_process_host.cc',
422 'shell/app_child_process_host.h',
[email protected]57d12ab2014-03-14 15:06:55423 'shell/child_process.cc',
424 'shell/child_process.h',
425 'shell/child_process_host.cc',
426 'shell/child_process_host.h',
[email protected]6e50d5e42013-10-27 02:45:46427 'shell/context.cc',
428 'shell/context.h',
[email protected]df47c492014-01-03 22:50:15429 'shell/dynamic_service_loader.cc',
430 'shell/dynamic_service_loader.h',
[email protected]e01f3a02014-03-15 00:57:43431 'shell/dynamic_service_runner.h',
[email protected]40932702013-11-20 22:29:30432 'shell/init.cc',
433 'shell/init.h',
[email protected]e01f3a02014-03-15 00:57:43434 'shell/in_process_dynamic_service_runner.cc',
435 'shell/in_process_dynamic_service_runner.h',
[email protected]dcd9a9cd2014-02-03 09:15:41436 'shell/keep_alive.cc',
437 'shell/keep_alive.h',
[email protected]0be9b242013-10-28 06:28:38438 'shell/loader.cc',
439 'shell/loader.h',
[email protected]c6c6e5652013-10-29 02:40:30440 'shell/network_delegate.cc',
441 'shell/network_delegate.h',
[email protected]4e559292014-03-18 00:05:15442 'shell/out_of_process_dynamic_service_runner.cc',
443 'shell/out_of_process_dynamic_service_runner.h',
[email protected]adeb6f72013-10-25 08:05:02444 'shell/run.cc',
445 'shell/run.h',
[email protected]09d040f2013-12-20 20:44:59446 'shell/storage.cc',
447 'shell/storage.h',
[email protected]6cf6ca52013-10-10 20:52:11448 'shell/switches.cc',
449 'shell/switches.h',
[email protected]eba6f512013-10-19 00:17:09450 'shell/task_runners.cc',
451 'shell/task_runners.h',
[email protected]57d12ab2014-03-14 15:06:55452 'shell/test_child_process.cc',
453 'shell/test_child_process.h',
[email protected]0be9b242013-10-28 06:28:38454 'shell/url_request_context_getter.cc',
455 'shell/url_request_context_getter.h',
[email protected]6cf6ca52013-10-10 20:52:11456 ],
457 },
458 {
[email protected]786d75c2013-10-24 20:29:35459 'target_name': 'mojo_shell',
460 'type': 'executable',
461 'dependencies': [
462 '../base/base.gyp:base',
[email protected]42368392013-11-05 13:45:02463 '../ui/gl/gl.gyp:gl',
[email protected]786d75c2013-10-24 20:29:35464 '../url/url.gyp:url_lib',
[email protected]c1e5c782013-11-12 05:10:07465 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51466 'mojo_environment_chromium',
[email protected]5d90df52014-03-27 04:16:00467 'mojo_service_manager',
[email protected]786d75c2013-10-24 20:29:35468 'mojo_shell_lib',
469 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47470 'mojo_system_impl',
[email protected]786d75c2013-10-24 20:29:35471 ],
472 'sources': [
[email protected]adeb6f72013-10-25 08:05:02473 'shell/desktop/mojo_main.cc',
[email protected]786d75c2013-10-24 20:29:35474 ],
[email protected]786d75c2013-10-24 20:29:35475 },
[email protected]df47c492014-01-03 22:50:15476 {
[email protected]fadab2eb2014-02-27 23:41:34477 'target_name': 'mojo_service_manager_unittests',
[email protected]df47c492014-01-03 22:50:15478 'type': 'executable',
479 'dependencies': [
480 '../base/base.gyp:base',
481 '../testing/gtest.gyp:gtest',
[email protected]5d90df52014-03-27 04:16:00482 '../url/url.gyp:url_lib',
[email protected]885798802014-03-12 16:14:21483 'mojo_bindings',
[email protected]26d8482f2014-04-02 03:39:59484 'mojo_common_lib',
[email protected]5d90df52014-03-27 04:16:00485 'mojo_environment_chromium',
[email protected]df47c492014-01-03 22:50:15486 'mojo_run_all_unittests',
[email protected]fadab2eb2014-02-27 23:41:34487 'mojo_service_manager',
[email protected]5d90df52014-03-27 04:16:00488 'mojo_shell_client',
[email protected]885798802014-03-12 16:14:21489 'mojo_system',
[email protected]df47c492014-01-03 22:50:15490 ],
[email protected]69a0a132014-03-26 16:45:02491 'variables': {
492 'mojom_base_output_dir': 'mojo',
493 },
[email protected]352ed67c2014-04-04 21:11:21494 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]df47c492014-01-03 22:50:15495 'sources': [
[email protected]fadab2eb2014-02-27 23:41:34496 'service_manager/service_manager_unittest.cc',
497 'service_manager/test.mojom',
[email protected]df47c492014-01-03 22:50:15498 ],
499 },
[email protected]f8c8cc12014-03-07 23:48:32500 {
501 'target_name': 'mojo_js_bindings_lib',
502 'type': 'static_library',
503 'dependencies': [
504 '../base/base.gyp:base',
505 '../gin/gin.gyp:gin',
506 '../v8/tools/gyp/v8.gyp:v8',
507 'mojo_common_lib',
508 'mojo_system',
509 ],
510 'export_dependent_settings': [
511 '../base/base.gyp:base',
512 '../gin/gin.gyp:gin',
513 'mojo_common_lib',
514 'mojo_system',
515 ],
516 'sources': [
517 'bindings/js/core.cc',
518 'bindings/js/core.h',
519 'bindings/js/handle.cc',
520 'bindings/js/handle.h',
521 'bindings/js/support.cc',
522 'bindings/js/support.h',
523 'bindings/js/waiting_callback.cc',
524 'bindings/js/waiting_callback.h',
525 ],
526 },
[email protected]8de52462014-03-11 15:48:39527 {
528 'target_name': 'mojo_js_unittests',
529 'type': 'executable',
530 'dependencies': [
531 '../gin/gin.gyp:gin_test',
532 'mojo_js_bindings_lib',
533 'mojo_run_all_unittests',
[email protected]09ddb10312014-03-13 18:01:13534 'mojo_sample_service',
[email protected]8de52462014-03-11 15:48:39535 ],
536 'sources': [
537 'bindings/js/run_js_tests.cc',
538 ],
539 },
[email protected]15429ab2014-04-04 00:43:22540 {
541 'target_name': 'mojo_message_generator',
542 'type': 'executable',
543 'dependencies': [
544 '../base/base.gyp:base',
545 '../testing/gtest.gyp:gtest',
546 'mojo_bindings',
547 'mojo_common_lib',
548 'mojo_environment_chromium',
549 'mojo_system',
550 'mojo_system_impl',
551 ],
552 'sources': [
553 'tools/message_generator.cc',
554 ],
555 },
[email protected]02657da2013-09-16 02:55:18556 ],
[email protected]786d75c2013-10-24 20:29:35557 'conditions': [
558 ['OS=="android"', {
559 'targets': [
560 {
[email protected]99e508a42013-12-04 01:15:09561 'target_name': 'mojo_native_viewport_java',
[email protected]29ccd8e2013-11-01 16:44:56562 'type': 'none',
563 'dependencies': [
564 '../base/base.gyp:base_java',
565 ],
566 'variables': {
567 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
568 },
569 'includes': [ '../build/java.gypi' ],
570 },
571 {
[email protected]67f839c92013-12-11 03:26:40572 'target_name': 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02573 'type': 'none',
574 'variables': {
575 'jni_gen_package': 'mojo',
[email protected]de857502014-01-10 15:08:04576 'jni_generator_ptr_type': 'long',
[email protected]adeb6f72013-10-25 08:05:02577 'input_java_class': 'java/util/HashSet.class',
578 },
579 'includes': [ '../build/jar_file_jni_generator.gypi' ],
580 },
581 {
582 'target_name': 'mojo_jni_headers',
583 'type': 'none',
584 'dependencies': [
[email protected]67f839c92013-12-11 03:26:40585 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02586 ],
[email protected]adeb6f72013-10-25 08:05:02587 'sources': [
[email protected]92aa30ec2013-12-05 06:39:18588 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java',
[email protected]0be9b242013-10-28 06:28:38589 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java',
[email protected]adeb6f72013-10-25 08:05:02590 ],
591 'variables': {
[email protected]de857502014-01-10 15:08:04592 'jni_gen_package': 'mojo',
593 'jni_generator_ptr_type': 'long',
594 },
[email protected]adeb6f72013-10-25 08:05:02595 'includes': [ '../build/jni_generator.gypi' ],
596 },
597 {
[email protected]786d75c2013-10-24 20:29:35598 'target_name': 'libmojo_shell',
599 'type': 'shared_library',
600 'dependencies': [
601 '../base/base.gyp:base',
[email protected]adeb6f72013-10-25 08:05:02602 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]570c26d2013-10-30 04:07:46603 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:15604 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]570c26d2013-10-30 04:07:46605 '../ui/gl/gl.gyp:gl',
[email protected]c1e5c782013-11-12 05:10:07606 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51607 'mojo_environment_chromium',
[email protected]adeb6f72013-10-25 08:05:02608 'mojo_jni_headers',
[email protected]09d040f2013-12-20 20:44:59609 'mojo_shell_bindings',
610 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35611 ],
612 'sources': [
613 'shell/android/library_loader.cc',
[email protected]adeb6f72013-10-25 08:05:02614 'shell/android/mojo_main.cc',
615 'shell/android/mojo_main.h',
[email protected]786d75c2013-10-24 20:29:35616 ],
617 },
618 {
619 'target_name': 'mojo_shell_apk',
620 'type': 'none',
621 'dependencies': [
622 '../base/base.gyp:base_java',
623 '../net/net.gyp:net_java',
[email protected]99e508a42013-12-04 01:15:09624 'mojo_native_viewport_java',
[email protected]786d75c2013-10-24 20:29:35625 'libmojo_shell',
626 ],
627 'variables': {
628 'apk_name': 'MojoShell',
[email protected]0be9b242013-10-28 06:28:38629 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
630 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
[email protected]786d75c2013-10-24 20:29:35631 'native_lib_target': 'libmojo_shell',
632 },
633 'includes': [ '../build/java_apk.gypi' ],
634 }
635 ],
636 }],
[email protected]9eb072b62014-03-19 20:35:16637 ['test_isolation_mode != "noop"', {
638 'targets': [
639 {
640 'target_name': 'mojo_js_unittests_run',
641 'type': 'none',
642 'dependencies': [
643 'mojo_js_unittests',
644 ],
645 'includes': [
646 '../build/isolate.gypi',
647 'mojo_js_unittests.isolate',
648 ],
649 'sources': [
650 'mojo_js_unittests.isolate',
651 ],
652 },
653 ],
654 }],
[email protected]786d75c2013-10-24 20:29:35655 ],
[email protected]02657da2013-09-16 02:55:18656}