blob: 104089809b387c3b27e2985b5e1e5dda46c2d276 [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': [
321 'mojo_environment_chromium_impl',
322 ],
323 'sources': [
324 'environment/default_async_waiter.cc',
325 'environment/buffer_tls.cc',
326 'environment/environment.cc',
327 ],
328 'include_dirs': [
329 '..',
330 ],
331 'export_dependent_settings': [
332 'mojo_environment_chromium_impl',
333 ],
334 },
335 {
336 'target_name': 'mojo_environment_chromium_impl',
337 'type': '<(component)',
338 'defines': [
339 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
340 ],
341 'dependencies': [
342 '../base/base.gyp:base',
343 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
344 'mojo_common_lib'
345 ],
346 'sources': [
347 'environment/default_async_waiter_impl.cc',
348 'environment/default_async_waiter_impl.h',
349 'environment/buffer_tls_impl.cc',
350 'environment/buffer_tls_impl.h',
351 ],
352 'include_dirs': [
353 '..',
354 ],
355 },
356 {
[email protected]fadab2eb2014-02-27 23:41:34357 'target_name': 'mojo_service_manager',
[email protected]5d90df52014-03-27 04:16:00358 'type': '<(component)',
359 'defines': [
360 'MOJO_SERVICE_MANAGER_IMPLEMENTATION',
361 ],
[email protected]fadab2eb2014-02-27 23:41:34362 'dependencies': [
363 '../base/base.gyp:base',
[email protected]d656e102014-03-04 18:29:48364 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]fadab2eb2014-02-27 23:41:34365 '../net/net.gyp:net',
366 '../url/url.gyp:url_lib',
[email protected]26d8482f2014-04-02 03:39:59367 'mojo_common_lib',
[email protected]5d90df52014-03-27 04:16:00368 'mojo_environment_chromium',
[email protected]fadab2eb2014-02-27 23:41:34369 'mojo_shell_bindings',
370 ],
371 'sources': [
[email protected]d656e102014-03-04 18:29:48372 'service_manager/service_loader.h',
[email protected]fadab2eb2014-02-27 23:41:34373 'service_manager/service_manager.cc',
374 'service_manager/service_manager.h',
[email protected]5d90df52014-03-27 04:16:00375 'service_manager/service_manager_export.h',
[email protected]fadab2eb2014-02-27 23:41:34376 ],
[email protected]d656e102014-03-04 18:29:48377 'export_dependent_settings': [
378 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]5d90df52014-03-27 04:16:00379 'mojo_shell_bindings',
[email protected]d656e102014-03-04 18:29:48380 ],
[email protected]fadab2eb2014-02-27 23:41:34381 },
382 {
[email protected]e2682412014-04-07 22:04:42383 'target_name': 'mojo_spy',
384 'type': 'static_library',
385 'dependencies': [
386 '../base/base.gyp:base',
387 '../base/base.gyp:base_static',
388 '../url/url.gyp:url_lib',
389 'mojo_service_manager',
390 ],
391 'sources': [
392 'spy/spy.cc',
393 'spy/spy.h',
394 ],
395 },
396 {
[email protected]786d75c2013-10-24 20:29:35397 'target_name': 'mojo_shell_lib',
398 'type': 'static_library',
[email protected]6cf6ca52013-10-10 20:52:11399 'dependencies': [
400 '../base/base.gyp:base',
[email protected]57d12ab2014-03-14 15:06:55401 '../base/base.gyp:base_static',
[email protected]eba6f512013-10-19 00:17:09402 '../net/net.gyp:net',
[email protected]3c448302013-10-22 08:39:08403 '../url/url.gyp:url_lib',
[email protected]826360a32014-01-22 22:19:27404 'mojo_gles2_impl',
[email protected]cfda411c2014-03-21 17:51:28405 'mojo_service_manager',
[email protected]5d90df52014-03-27 04:16:00406 'mojo_shell_bindings',
[email protected]6cf6ca52013-10-10 20:52:11407 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47408 'mojo_system_impl',
[email protected]2e5f3a02013-12-21 07:12:37409 'mojo_native_viewport_service',
[email protected]e2682412014-04-07 22:04:42410 'mojo_spy',
[email protected]6cf6ca52013-10-10 20:52:11411 ],
[email protected]69a0a132014-03-26 16:45:02412 'variables': {
413 'mojom_base_output_dir': 'mojo',
414 },
[email protected]352ed67c2014-04-04 21:11:21415 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]6cf6ca52013-10-10 20:52:11416 'sources': [
[email protected]4e559292014-03-18 00:05:15417 'shell/app_child_process.cc',
418 'shell/app_child_process.h',
[email protected]5dcd57c32014-03-20 17:37:19419 'shell/app_child_process.mojom',
[email protected]4e559292014-03-18 00:05:15420 'shell/app_child_process_host.cc',
421 'shell/app_child_process_host.h',
[email protected]57d12ab2014-03-14 15:06:55422 'shell/child_process.cc',
423 'shell/child_process.h',
424 'shell/child_process_host.cc',
425 'shell/child_process_host.h',
[email protected]6e50d5e42013-10-27 02:45:46426 'shell/context.cc',
427 'shell/context.h',
[email protected]df47c492014-01-03 22:50:15428 'shell/dynamic_service_loader.cc',
429 'shell/dynamic_service_loader.h',
[email protected]e01f3a02014-03-15 00:57:43430 'shell/dynamic_service_runner.h',
[email protected]40932702013-11-20 22:29:30431 'shell/init.cc',
432 'shell/init.h',
[email protected]e01f3a02014-03-15 00:57:43433 'shell/in_process_dynamic_service_runner.cc',
434 'shell/in_process_dynamic_service_runner.h',
[email protected]dcd9a9cd2014-02-03 09:15:41435 'shell/keep_alive.cc',
436 'shell/keep_alive.h',
[email protected]0be9b242013-10-28 06:28:38437 'shell/loader.cc',
438 'shell/loader.h',
[email protected]c6c6e5652013-10-29 02:40:30439 'shell/network_delegate.cc',
440 'shell/network_delegate.h',
[email protected]4e559292014-03-18 00:05:15441 'shell/out_of_process_dynamic_service_runner.cc',
442 'shell/out_of_process_dynamic_service_runner.h',
[email protected]adeb6f72013-10-25 08:05:02443 'shell/run.cc',
444 'shell/run.h',
[email protected]09d040f2013-12-20 20:44:59445 'shell/storage.cc',
446 'shell/storage.h',
[email protected]6cf6ca52013-10-10 20:52:11447 'shell/switches.cc',
448 'shell/switches.h',
[email protected]eba6f512013-10-19 00:17:09449 'shell/task_runners.cc',
450 'shell/task_runners.h',
[email protected]57d12ab2014-03-14 15:06:55451 'shell/test_child_process.cc',
452 'shell/test_child_process.h',
[email protected]0be9b242013-10-28 06:28:38453 'shell/url_request_context_getter.cc',
454 'shell/url_request_context_getter.h',
[email protected]6cf6ca52013-10-10 20:52:11455 ],
456 },
457 {
[email protected]786d75c2013-10-24 20:29:35458 'target_name': 'mojo_shell',
459 'type': 'executable',
460 'dependencies': [
461 '../base/base.gyp:base',
[email protected]42368392013-11-05 13:45:02462 '../ui/gl/gl.gyp:gl',
[email protected]786d75c2013-10-24 20:29:35463 '../url/url.gyp:url_lib',
[email protected]c1e5c782013-11-12 05:10:07464 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51465 'mojo_environment_chromium',
[email protected]5d90df52014-03-27 04:16:00466 'mojo_service_manager',
[email protected]786d75c2013-10-24 20:29:35467 'mojo_shell_lib',
468 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47469 'mojo_system_impl',
[email protected]786d75c2013-10-24 20:29:35470 ],
471 'sources': [
[email protected]adeb6f72013-10-25 08:05:02472 'shell/desktop/mojo_main.cc',
[email protected]786d75c2013-10-24 20:29:35473 ],
[email protected]786d75c2013-10-24 20:29:35474 },
[email protected]df47c492014-01-03 22:50:15475 {
[email protected]fadab2eb2014-02-27 23:41:34476 'target_name': 'mojo_service_manager_unittests',
[email protected]df47c492014-01-03 22:50:15477 'type': 'executable',
478 'dependencies': [
479 '../base/base.gyp:base',
480 '../testing/gtest.gyp:gtest',
[email protected]5d90df52014-03-27 04:16:00481 '../url/url.gyp:url_lib',
[email protected]885798802014-03-12 16:14:21482 'mojo_bindings',
[email protected]26d8482f2014-04-02 03:39:59483 'mojo_common_lib',
[email protected]5d90df52014-03-27 04:16:00484 'mojo_environment_chromium',
[email protected]df47c492014-01-03 22:50:15485 'mojo_run_all_unittests',
[email protected]fadab2eb2014-02-27 23:41:34486 'mojo_service_manager',
[email protected]5d90df52014-03-27 04:16:00487 'mojo_shell_client',
[email protected]885798802014-03-12 16:14:21488 'mojo_system',
[email protected]df47c492014-01-03 22:50:15489 ],
[email protected]69a0a132014-03-26 16:45:02490 'variables': {
491 'mojom_base_output_dir': 'mojo',
492 },
[email protected]352ed67c2014-04-04 21:11:21493 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]df47c492014-01-03 22:50:15494 'sources': [
[email protected]fadab2eb2014-02-27 23:41:34495 'service_manager/service_manager_unittest.cc',
496 'service_manager/test.mojom',
[email protected]df47c492014-01-03 22:50:15497 ],
498 },
[email protected]f8c8cc12014-03-07 23:48:32499 {
500 'target_name': 'mojo_js_bindings_lib',
501 'type': 'static_library',
502 'dependencies': [
503 '../base/base.gyp:base',
504 '../gin/gin.gyp:gin',
505 '../v8/tools/gyp/v8.gyp:v8',
506 'mojo_common_lib',
507 'mojo_system',
508 ],
509 'export_dependent_settings': [
510 '../base/base.gyp:base',
511 '../gin/gin.gyp:gin',
512 'mojo_common_lib',
513 'mojo_system',
514 ],
515 'sources': [
516 'bindings/js/core.cc',
517 'bindings/js/core.h',
518 'bindings/js/handle.cc',
519 'bindings/js/handle.h',
520 'bindings/js/support.cc',
521 'bindings/js/support.h',
522 'bindings/js/waiting_callback.cc',
523 'bindings/js/waiting_callback.h',
524 ],
525 },
[email protected]8de52462014-03-11 15:48:39526 {
527 'target_name': 'mojo_js_unittests',
528 'type': 'executable',
529 'dependencies': [
530 '../gin/gin.gyp:gin_test',
531 'mojo_js_bindings_lib',
532 'mojo_run_all_unittests',
[email protected]09ddb10312014-03-13 18:01:13533 'mojo_sample_service',
[email protected]8de52462014-03-11 15:48:39534 ],
535 'sources': [
536 'bindings/js/run_js_tests.cc',
537 ],
538 },
[email protected]15429ab2014-04-04 00:43:22539 {
540 'target_name': 'mojo_message_generator',
541 'type': 'executable',
542 'dependencies': [
543 '../base/base.gyp:base',
544 '../testing/gtest.gyp:gtest',
545 'mojo_bindings',
546 'mojo_common_lib',
547 'mojo_environment_chromium',
548 'mojo_system',
549 'mojo_system_impl',
550 ],
551 'sources': [
552 'tools/message_generator.cc',
553 ],
554 },
[email protected]02657da2013-09-16 02:55:18555 ],
[email protected]786d75c2013-10-24 20:29:35556 'conditions': [
557 ['OS=="android"', {
558 'targets': [
559 {
[email protected]99e508a42013-12-04 01:15:09560 'target_name': 'mojo_native_viewport_java',
[email protected]29ccd8e2013-11-01 16:44:56561 'type': 'none',
562 'dependencies': [
563 '../base/base.gyp:base_java',
564 ],
565 'variables': {
566 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
567 },
568 'includes': [ '../build/java.gypi' ],
569 },
570 {
[email protected]67f839c92013-12-11 03:26:40571 'target_name': 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02572 'type': 'none',
573 'variables': {
574 'jni_gen_package': 'mojo',
[email protected]de857502014-01-10 15:08:04575 'jni_generator_ptr_type': 'long',
[email protected]adeb6f72013-10-25 08:05:02576 'input_java_class': 'java/util/HashSet.class',
577 },
578 'includes': [ '../build/jar_file_jni_generator.gypi' ],
579 },
580 {
581 'target_name': 'mojo_jni_headers',
582 'type': 'none',
583 'dependencies': [
[email protected]67f839c92013-12-11 03:26:40584 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02585 ],
[email protected]adeb6f72013-10-25 08:05:02586 'sources': [
[email protected]92aa30ec2013-12-05 06:39:18587 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java',
[email protected]0be9b242013-10-28 06:28:38588 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java',
[email protected]adeb6f72013-10-25 08:05:02589 ],
590 'variables': {
[email protected]de857502014-01-10 15:08:04591 'jni_gen_package': 'mojo',
592 'jni_generator_ptr_type': 'long',
593 },
[email protected]adeb6f72013-10-25 08:05:02594 'includes': [ '../build/jni_generator.gypi' ],
595 },
596 {
[email protected]786d75c2013-10-24 20:29:35597 'target_name': 'libmojo_shell',
598 'type': 'shared_library',
599 'dependencies': [
600 '../base/base.gyp:base',
[email protected]adeb6f72013-10-25 08:05:02601 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]570c26d2013-10-30 04:07:46602 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:15603 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]570c26d2013-10-30 04:07:46604 '../ui/gl/gl.gyp:gl',
[email protected]c1e5c782013-11-12 05:10:07605 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51606 'mojo_environment_chromium',
[email protected]adeb6f72013-10-25 08:05:02607 'mojo_jni_headers',
[email protected]09d040f2013-12-20 20:44:59608 'mojo_shell_bindings',
609 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35610 ],
611 'sources': [
612 'shell/android/library_loader.cc',
[email protected]adeb6f72013-10-25 08:05:02613 'shell/android/mojo_main.cc',
614 'shell/android/mojo_main.h',
[email protected]786d75c2013-10-24 20:29:35615 ],
616 },
617 {
618 'target_name': 'mojo_shell_apk',
619 'type': 'none',
620 'dependencies': [
621 '../base/base.gyp:base_java',
622 '../net/net.gyp:net_java',
[email protected]99e508a42013-12-04 01:15:09623 'mojo_native_viewport_java',
[email protected]786d75c2013-10-24 20:29:35624 'libmojo_shell',
625 ],
626 'variables': {
627 'apk_name': 'MojoShell',
[email protected]0be9b242013-10-28 06:28:38628 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
629 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
[email protected]786d75c2013-10-24 20:29:35630 'native_lib_target': 'libmojo_shell',
631 },
632 'includes': [ '../build/java_apk.gypi' ],
633 }
634 ],
635 }],
[email protected]9eb072b62014-03-19 20:35:16636 ['test_isolation_mode != "noop"', {
637 'targets': [
638 {
639 'target_name': 'mojo_js_unittests_run',
640 'type': 'none',
641 'dependencies': [
642 'mojo_js_unittests',
643 ],
644 'includes': [
645 '../build/isolate.gypi',
646 'mojo_js_unittests.isolate',
647 ],
648 'sources': [
649 'mojo_js_unittests.isolate',
650 ],
651 },
652 ],
653 }],
[email protected]786d75c2013-10-24 20:29:35654 ],
[email protected]02657da2013-09-16 02:55:18655}