blob: 37834b22aaf950e63cce6653b5697e730c4a2598 [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]6bcc45b2014-03-22 04:11:1238 'mojo_pepper_container_app',
[email protected]6eb908a2014-02-13 17:54:5439 'mojo_public_test_utils',
[email protected]0b438a62014-01-12 06:19:0340 'mojo_public_bindings_unittests',
[email protected]0d37563e2014-01-14 16:27:5141 'mojo_public_environment_unittests',
[email protected]0b438a62014-01-12 06:19:0342 'mojo_public_system_perftests',
43 'mojo_public_system_unittests',
44 'mojo_public_utility_unittests',
[email protected]67f839c92013-12-11 03:26:4045 'mojo_sample_app',
[email protected]fadab2eb2014-02-27 23:41:3446 'mojo_service_manager',
47 'mojo_service_manager_unittests',
[email protected]b4aef952013-11-26 23:25:4548 'mojo_shell',
49 'mojo_shell_lib',
50 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4751 'mojo_system_impl',
[email protected]b4aef952013-11-26 23:25:4552 'mojo_system_unittests',
[email protected]273e2172013-12-10 07:24:1653 'mojo_utility',
[email protected]3d58663b2013-09-28 00:30:0454 ],
[email protected]331e4db2014-01-07 21:46:0455 'conditions': [
56 ['use_aura==1', {
57 'dependencies': [
58 'mojo_aura_demo',
[email protected]bddb2842014-01-27 22:38:1959 'mojo_launcher',
[email protected]1fd496142014-01-29 05:16:0260 'mojo_view_manager',
[email protected]331e4db2014-01-07 21:46:0461 ],
62 }],
63 ]
[email protected]3d58663b2013-09-28 00:30:0464 },
65 {
[email protected]4b4068d2013-11-11 21:12:0366 'target_name': 'mojo_run_all_unittests',
67 'type': 'static_library',
68 'dependencies': [
69 '../base/base.gyp:base',
70 '../base/base.gyp:test_support_base',
[email protected]d16a5b42013-12-03 17:47:2471 '../testing/gtest.gyp:gtest',
[email protected]4b4068d2013-11-11 21:12:0372 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4773 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:5374 'mojo_test_support',
75 'mojo_test_support_impl',
[email protected]4b4068d2013-11-11 21:12:0376 ],
77 'sources': [
78 'common/test/run_all_unittests.cc',
79 ],
80 },
81 {
[email protected]5f8471fb2013-11-26 23:07:2482 'target_name': 'mojo_run_all_perftests',
83 'type': 'static_library',
84 'dependencies': [
85 '../base/base.gyp:test_support_base',
86 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4787 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:5388 'mojo_test_support',
89 'mojo_test_support_impl',
[email protected]5f8471fb2013-11-26 23:07:2490 ],
91 'sources': [
92 'common/test/run_all_perftests.cc',
93 ],
94 },
95 {
[email protected]5fd29c12013-12-10 07:13:4796 'target_name': 'mojo_system_impl',
[email protected]6cf6ca52013-10-10 20:52:1197 'type': '<(component)',
[email protected]3d58663b2013-09-28 00:30:0498 'dependencies': [
[email protected]5fd29c12013-12-10 07:13:4799 'mojo_system',
[email protected]3d58663b2013-09-28 00:30:04100 '../base/base.gyp:base',
[email protected]44992e72014-03-04 07:44:13101 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]3d58663b2013-09-28 00:30:04102 ],
[email protected]6cf6ca52013-10-10 20:52:11103 'defines': [
[email protected]5fd29c12013-12-10 07:13:47104 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
[email protected]6cf6ca52013-10-10 20:52:11105 ],
[email protected]3d58663b2013-09-28 00:30:04106 'sources': [
[email protected]f13fe442014-03-19 00:05:26107 'embedder/embedder.cc',
108 'embedder/embedder.h',
109 'embedder/platform_channel_pair.cc',
110 'embedder/platform_channel_pair.h',
111 'embedder/platform_channel_pair_posix.cc',
112 'embedder/platform_channel_pair_win.cc',
113 'embedder/platform_handle.cc',
114 'embedder/platform_handle.h',
115 'embedder/scoped_platform_handle.h',
[email protected]ccf8453d2013-11-07 17:49:50116 'system/channel.cc',
117 'system/channel.h',
[email protected]32446982013-12-16 20:58:48118 'system/constants.h',
[email protected]3d58663b2013-09-28 00:30:04119 'system/core_impl.cc',
120 'system/core_impl.h',
[email protected]82d1954d2013-12-13 22:23:19121 'system/data_pipe.cc',
122 'system/data_pipe.h',
[email protected]ae3d3572013-12-14 00:00:53123 'system/data_pipe_consumer_dispatcher.cc',
124 'system/data_pipe_consumer_dispatcher.h',
[email protected]82d1954d2013-12-13 22:23:19125 'system/data_pipe_producer_dispatcher.cc',
126 'system/data_pipe_producer_dispatcher.h',
[email protected]3d58663b2013-09-28 00:30:04127 'system/dispatcher.cc',
128 'system/dispatcher.h',
[email protected]00798012013-12-16 20:39:30129 'system/local_data_pipe.cc',
130 'system/local_data_pipe.h',
[email protected]989f8bc2013-10-16 00:24:37131 'system/local_message_pipe_endpoint.cc',
132 'system/local_message_pipe_endpoint.h',
[email protected]3d58663b2013-09-28 00:30:04133 'system/memory.cc',
134 'system/memory.h',
[email protected]aae74e92013-10-03 20:52:34135 'system/message_in_transit.cc',
136 'system/message_in_transit.h',
[email protected]311a9a12014-03-03 23:17:23137 'system/message_in_transit_queue.cc',
138 'system/message_in_transit_queue.h',
[email protected]3d58663b2013-09-28 00:30:04139 'system/message_pipe.cc',
140 'system/message_pipe.h',
141 'system/message_pipe_dispatcher.cc',
142 'system/message_pipe_dispatcher.h',
[email protected]989f8bc2013-10-16 00:24:37143 'system/message_pipe_endpoint.cc',
144 'system/message_pipe_endpoint.h',
[email protected]ccf8453d2013-11-07 17:49:50145 'system/proxy_message_pipe_endpoint.cc',
146 'system/proxy_message_pipe_endpoint.h',
[email protected]497626502014-02-27 18:13:25147 'system/raw_channel.cc',
[email protected]5a0d0062013-10-11 19:07:18148 'system/raw_channel.h',
149 'system/raw_channel_posix.cc',
[email protected]ccf8453d2013-11-07 17:49:50150 'system/raw_channel_win.cc',
[email protected]ac1df702014-03-21 20:45:27151 'system/raw_shared_buffer.cc',
152 'system/raw_shared_buffer.h',
153 'system/raw_shared_buffer_posix.cc',
154 'system/raw_shared_buffer_win.cc',
[email protected]be7edee2014-03-22 07:01:52155 'system/shared_buffer_dispatcher.cc',
156 'system/shared_buffer_dispatcher.h',
[email protected]3d58663b2013-09-28 00:30:04157 'system/simple_dispatcher.cc',
158 'system/simple_dispatcher.h',
159 'system/waiter.cc',
160 'system/waiter.h',
161 'system/waiter_list.cc',
162 'system/waiter_list.h',
[email protected]8579fe02014-01-16 23:51:10163 # Test-only code:
164 # TODO(vtl): It's a little unfortunate that these end up in the same
165 # component as non-test-only code. In the static build, this code should
166 # hopefully be dead-stripped.
[email protected]f13fe442014-03-19 00:05:26167 'embedder/test_embedder.cc',
168 'embedder/test_embedder.h',
[email protected]3d58663b2013-09-28 00:30:04169 ],
[email protected]3d58663b2013-09-28 00:30:04170 },
171 {
172 'target_name': 'mojo_system_unittests',
173 'type': 'executable',
174 'dependencies': [
175 '../base/base.gyp:run_all_unittests',
176 '../testing/gtest.gyp:gtest',
[email protected]1ad40142013-12-12 13:20:02177 'mojo_common_test_support',
[email protected]3d58663b2013-09-28 00:30:04178 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47179 'mojo_system_impl',
[email protected]3d58663b2013-09-28 00:30:04180 ],
181 'sources': [
[email protected]f13fe442014-03-19 00:05:26182 'embedder/embedder_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04183 'system/core_impl_unittest.cc',
184 'system/core_test_base.cc',
185 'system/core_test_base.h',
[email protected]92fb7f42013-12-17 22:38:30186 'system/data_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04187 'system/dispatcher_unittest.cc',
[email protected]92fb7f42013-12-17 22:38:30188 'system/local_data_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04189 'system/message_pipe_dispatcher_unittest.cc',
190 'system/message_pipe_unittest.cc',
[email protected]1ad40142013-12-12 13:20:02191 'system/multiprocess_message_pipe_unittest.cc',
[email protected]44992e72014-03-04 07:44:13192 'system/raw_channel_unittest.cc',
[email protected]ac1df702014-03-21 20:45:27193 'system/raw_shared_buffer_unittest.cc',
[email protected]f764b25b2014-03-06 10:31:47194 'system/remote_message_pipe_unittest.cc',
[email protected]40063092014-03-24 22:46:09195 'system/shared_buffer_dispatcher_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04196 'system/simple_dispatcher_unittest.cc',
[email protected]b334246d2013-10-24 00:08:57197 'system/test_utils.cc',
[email protected]3d58663b2013-09-28 00:30:04198 'system/test_utils.h',
199 'system/waiter_list_unittest.cc',
200 'system/waiter_test_utils.cc',
201 'system/waiter_test_utils.h',
202 'system/waiter_unittest.cc',
203 ],
[email protected]02657da2013-09-16 02:55:18204 },
[email protected]6cf6ca52013-10-10 20:52:11205 {
[email protected]826360a32014-01-22 22:19:27206 'target_name': 'mojo_gles2_impl',
[email protected]99e508a42013-12-04 01:15:09207 'type': '<(component)',
208 'dependencies': [
[email protected]826360a32014-01-22 22:19:27209 '../base/base.gyp:base',
210 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]68780862014-02-07 00:25:07211 '../gpu/gpu.gyp:command_buffer_client',
212 '../gpu/gpu.gyp:command_buffer_common',
213 '../gpu/gpu.gyp:gles2_cmd_helper',
214 '../gpu/gpu.gyp:gles2_implementation',
[email protected]826360a32014-01-22 22:19:27215 'mojo_gles2',
[email protected]c329ad72014-01-23 04:02:49216 'mojo_gles2_bindings',
217 'mojo_environment_chromium',
[email protected]99e508a42013-12-04 01:15:09218 ],
219 'defines': [
[email protected]826360a32014-01-22 22:19:27220 'MOJO_GLES2_IMPL_IMPLEMENTATION',
[email protected]99e508a42013-12-04 01:15:09221 ],
222 'sources': [
[email protected]68780862014-02-07 00:25:07223 'gles2/command_buffer_client_impl.cc',
224 'gles2/command_buffer_client_impl.h',
[email protected]826360a32014-01-22 22:19:27225 'gles2/gles2_impl_export.h',
226 'gles2/gles2_support_impl.cc',
227 'gles2/gles2_support_impl.h',
[email protected]68780862014-02-07 00:25:07228 'gles2/gles2_context.cc',
229 'gles2/gles2_context.h',
[email protected]99e508a42013-12-04 01:15:09230 ],
231 },
232 {
[email protected]1477ef4c2014-02-13 20:40:53233 'target_name': 'mojo_test_support_impl',
234 'type': 'static_library',
235 'dependencies': [
236 '../base/base.gyp:base',
237 ],
238 'sources': [
239 'common/test/test_support_impl.cc',
240 'common/test/test_support_impl.h',
241 ],
242 },
243 {
[email protected]3cf4aad2013-12-01 17:27:25244 'target_name': 'mojo_common_lib',
245 'type': '<(component)',
246 'defines': [
247 'MOJO_COMMON_IMPLEMENTATION',
248 ],
249 'dependencies': [
250 '../base/base.gyp:base',
251 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
252 'mojo_system',
253 ],
254 'sources': [
[email protected]2229d4252013-12-08 06:53:47255 'common/common_type_converters.cc',
256 'common/common_type_converters.h',
[email protected]3cf4aad2013-12-01 17:27:25257 'common/handle_watcher.cc',
258 'common/handle_watcher.h',
259 'common/message_pump_mojo.cc',
260 'common/message_pump_mojo.h',
261 'common/message_pump_mojo_handler.h',
[email protected]433f7d82014-03-15 00:53:48262 'common/time_helper.cc',
263 'common/time_helper.h',
[email protected]3cf4aad2013-12-01 17:27:25264 ],
[email protected]3cf4aad2013-12-01 17:27:25265 },
266 {
[email protected]1ad40142013-12-12 13:20:02267 'target_name': 'mojo_common_test_support',
268 'type': 'static_library',
269 'dependencies': [
270 '../base/base.gyp:base',
271 '../base/base.gyp:test_support_base',
272 '../testing/gtest.gyp:gtest',
273 'mojo_system',
274 'mojo_system_impl',
275 ],
276 'sources': [
[email protected]3bc13792014-03-08 22:58:37277 'common/test/multiprocess_test_helper.cc',
278 'common/test/multiprocess_test_helper.h',
[email protected]b8e55f62014-02-22 21:01:54279 'common/test/test_utils.h',
280 'common/test/test_utils_posix.cc',
281 'common/test/test_utils_win.cc',
[email protected]1ad40142013-12-12 13:20:02282 ],
283 },
284 {
[email protected]3cf4aad2013-12-01 17:27:25285 'target_name': 'mojo_common_unittests',
286 'type': 'executable',
287 'dependencies': [
288 '../base/base.gyp:base',
289 '../base/base.gyp:base_message_loop_tests',
290 '../testing/gtest.gyp:gtest',
[email protected]c2a52bf2013-12-02 13:55:36291 'mojo_bindings',
[email protected]0d37563e2014-01-14 16:27:51292 'mojo_environment_chromium',
[email protected]3cf4aad2013-12-01 17:27:25293 'mojo_common_lib',
[email protected]1ad40142013-12-12 13:20:02294 'mojo_common_test_support',
[email protected]6eb908a2014-02-13 17:54:54295 'mojo_public_test_utils',
[email protected]3cf4aad2013-12-01 17:27:25296 'mojo_run_all_unittests',
297 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47298 'mojo_system_impl',
[email protected]3cf4aad2013-12-01 17:27:25299 ],
300 'sources': [
[email protected]2229d4252013-12-08 06:53:47301 'common/common_type_converters_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25302 'common/handle_watcher_unittest.cc',
303 'common/message_pump_mojo_unittest.cc',
[email protected]3bc13792014-03-08 22:58:37304 'common/test/multiprocess_test_helper_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25305 ],
[email protected]3cf4aad2013-12-01 17:27:25306 },
307 {
[email protected]0d37563e2014-01-14 16:27:51308 'target_name': 'mojo_environment_chromium',
309 'type': 'static_library',
310 'dependencies': [
311 'mojo_environment_chromium_impl',
312 ],
313 'sources': [
314 'environment/default_async_waiter.cc',
315 'environment/buffer_tls.cc',
316 'environment/environment.cc',
317 ],
318 'include_dirs': [
319 '..',
320 ],
321 'export_dependent_settings': [
322 'mojo_environment_chromium_impl',
323 ],
324 },
325 {
326 'target_name': 'mojo_environment_chromium_impl',
327 'type': '<(component)',
328 'defines': [
329 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
330 ],
331 'dependencies': [
332 '../base/base.gyp:base',
333 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
334 'mojo_common_lib'
335 ],
336 'sources': [
337 'environment/default_async_waiter_impl.cc',
338 'environment/default_async_waiter_impl.h',
339 'environment/buffer_tls_impl.cc',
340 'environment/buffer_tls_impl.h',
341 ],
342 'include_dirs': [
343 '..',
344 ],
345 },
346 {
[email protected]fadab2eb2014-02-27 23:41:34347 'target_name': 'mojo_service_manager',
[email protected]cfda411c2014-03-21 17:51:28348 'type': 'static_library',
[email protected]fadab2eb2014-02-27 23:41:34349 'dependencies': [
350 '../base/base.gyp:base',
[email protected]d656e102014-03-04 18:29:48351 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]fadab2eb2014-02-27 23:41:34352 '../net/net.gyp:net',
353 '../url/url.gyp:url_lib',
354 'mojo_shell_bindings',
355 ],
356 'sources': [
[email protected]d656e102014-03-04 18:29:48357 'service_manager/service_loader.h',
[email protected]fadab2eb2014-02-27 23:41:34358 'service_manager/service_manager.cc',
359 'service_manager/service_manager.h',
360 ],
[email protected]d656e102014-03-04 18:29:48361 'export_dependent_settings': [
362 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
363 ],
[email protected]fadab2eb2014-02-27 23:41:34364 },
365 {
[email protected]786d75c2013-10-24 20:29:35366 'target_name': 'mojo_shell_lib',
367 'type': 'static_library',
[email protected]6cf6ca52013-10-10 20:52:11368 'dependencies': [
369 '../base/base.gyp:base',
[email protected]57d12ab2014-03-14 15:06:55370 '../base/base.gyp:base_static',
[email protected]eba6f512013-10-19 00:17:09371 '../net/net.gyp:net',
[email protected]3c448302013-10-22 08:39:08372 '../url/url.gyp:url_lib',
[email protected]826360a32014-01-22 22:19:27373 'mojo_gles2_impl',
[email protected]e0bd76c2014-03-21 16:44:38374 'mojo_shell_bindings',
[email protected]cfda411c2014-03-21 17:51:28375 'mojo_service_manager',
[email protected]6cf6ca52013-10-10 20:52:11376 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47377 'mojo_system_impl',
[email protected]2e5f3a02013-12-21 07:12:37378 'mojo_native_viewport_service',
[email protected]6cf6ca52013-10-10 20:52:11379 ],
[email protected]5dcd57c32014-03-20 17:37:19380 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
[email protected]6cf6ca52013-10-10 20:52:11381 'sources': [
[email protected]4e559292014-03-18 00:05:15382 'shell/app_child_process.cc',
383 'shell/app_child_process.h',
[email protected]5dcd57c32014-03-20 17:37:19384 'shell/app_child_process.mojom',
[email protected]4e559292014-03-18 00:05:15385 'shell/app_child_process_host.cc',
386 'shell/app_child_process_host.h',
[email protected]57d12ab2014-03-14 15:06:55387 'shell/child_process.cc',
388 'shell/child_process.h',
389 'shell/child_process_host.cc',
390 'shell/child_process_host.h',
[email protected]6e50d5e42013-10-27 02:45:46391 'shell/context.cc',
392 'shell/context.h',
[email protected]df47c492014-01-03 22:50:15393 'shell/dynamic_service_loader.cc',
394 'shell/dynamic_service_loader.h',
[email protected]e01f3a02014-03-15 00:57:43395 'shell/dynamic_service_runner.h',
[email protected]40932702013-11-20 22:29:30396 'shell/init.cc',
397 'shell/init.h',
[email protected]e01f3a02014-03-15 00:57:43398 'shell/in_process_dynamic_service_runner.cc',
399 'shell/in_process_dynamic_service_runner.h',
[email protected]dcd9a9cd2014-02-03 09:15:41400 'shell/keep_alive.cc',
401 'shell/keep_alive.h',
[email protected]0be9b242013-10-28 06:28:38402 'shell/loader.cc',
403 'shell/loader.h',
[email protected]c6c6e5652013-10-29 02:40:30404 'shell/network_delegate.cc',
405 'shell/network_delegate.h',
[email protected]4e559292014-03-18 00:05:15406 'shell/out_of_process_dynamic_service_runner.cc',
407 'shell/out_of_process_dynamic_service_runner.h',
[email protected]adeb6f72013-10-25 08:05:02408 'shell/run.cc',
409 'shell/run.h',
[email protected]09d040f2013-12-20 20:44:59410 'shell/storage.cc',
411 'shell/storage.h',
[email protected]6cf6ca52013-10-10 20:52:11412 'shell/switches.cc',
413 'shell/switches.h',
[email protected]eba6f512013-10-19 00:17:09414 'shell/task_runners.cc',
415 'shell/task_runners.h',
[email protected]57d12ab2014-03-14 15:06:55416 'shell/test_child_process.cc',
417 'shell/test_child_process.h',
[email protected]0be9b242013-10-28 06:28:38418 'shell/url_request_context_getter.cc',
419 'shell/url_request_context_getter.h',
[email protected]6cf6ca52013-10-10 20:52:11420 ],
421 },
422 {
[email protected]786d75c2013-10-24 20:29:35423 'target_name': 'mojo_shell',
424 'type': 'executable',
425 'dependencies': [
426 '../base/base.gyp:base',
[email protected]42368392013-11-05 13:45:02427 '../ui/gl/gl.gyp:gl',
[email protected]786d75c2013-10-24 20:29:35428 '../url/url.gyp:url_lib',
[email protected]c1e5c782013-11-12 05:10:07429 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51430 'mojo_environment_chromium',
[email protected]cfda411c2014-03-21 17:51:28431 'mojo_shell_bindings',
[email protected]786d75c2013-10-24 20:29:35432 'mojo_shell_lib',
433 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47434 'mojo_system_impl',
[email protected]786d75c2013-10-24 20:29:35435 ],
436 'sources': [
[email protected]adeb6f72013-10-25 08:05:02437 'shell/desktop/mojo_main.cc',
[email protected]786d75c2013-10-24 20:29:35438 ],
[email protected]786d75c2013-10-24 20:29:35439 },
[email protected]df47c492014-01-03 22:50:15440 {
[email protected]fadab2eb2014-02-27 23:41:34441 'target_name': 'mojo_service_manager_unittests',
[email protected]df47c492014-01-03 22:50:15442 'type': 'executable',
443 'dependencies': [
444 '../base/base.gyp:base',
445 '../testing/gtest.gyp:gtest',
[email protected]885798802014-03-12 16:14:21446 'mojo_bindings',
[email protected]a771d1d12014-02-06 17:34:56447 'mojo_environment_standalone',
[email protected]df47c492014-01-03 22:50:15448 'mojo_run_all_unittests',
[email protected]fadab2eb2014-02-27 23:41:34449 'mojo_service_manager',
[email protected]885798802014-03-12 16:14:21450 'mojo_system',
[email protected]a771d1d12014-02-06 17:34:56451 'mojo_utility',
[email protected]df47c492014-01-03 22:50:15452 ],
453 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
454 'sources': [
[email protected]fadab2eb2014-02-27 23:41:34455 'service_manager/service_manager_unittest.cc',
456 'service_manager/test.mojom',
[email protected]df47c492014-01-03 22:50:15457 ],
458 },
[email protected]f8c8cc12014-03-07 23:48:32459 {
460 'target_name': 'mojo_js_bindings_lib',
461 'type': 'static_library',
462 'dependencies': [
463 '../base/base.gyp:base',
464 '../gin/gin.gyp:gin',
465 '../v8/tools/gyp/v8.gyp:v8',
466 'mojo_common_lib',
467 'mojo_system',
468 ],
469 'export_dependent_settings': [
470 '../base/base.gyp:base',
471 '../gin/gin.gyp:gin',
472 'mojo_common_lib',
473 'mojo_system',
474 ],
475 'sources': [
476 'bindings/js/core.cc',
477 'bindings/js/core.h',
478 'bindings/js/handle.cc',
479 'bindings/js/handle.h',
480 'bindings/js/support.cc',
481 'bindings/js/support.h',
482 'bindings/js/waiting_callback.cc',
483 'bindings/js/waiting_callback.h',
484 ],
485 },
[email protected]8de52462014-03-11 15:48:39486 {
487 'target_name': 'mojo_js_unittests',
488 'type': 'executable',
489 'dependencies': [
490 '../gin/gin.gyp:gin_test',
491 'mojo_js_bindings_lib',
492 'mojo_run_all_unittests',
[email protected]09ddb10312014-03-13 18:01:13493 'mojo_sample_service',
[email protected]8de52462014-03-11 15:48:39494 ],
495 'sources': [
496 'bindings/js/run_js_tests.cc',
497 ],
498 },
[email protected]02657da2013-09-16 02:55:18499 ],
[email protected]786d75c2013-10-24 20:29:35500 'conditions': [
501 ['OS=="android"', {
502 'targets': [
503 {
[email protected]99e508a42013-12-04 01:15:09504 'target_name': 'mojo_native_viewport_java',
[email protected]29ccd8e2013-11-01 16:44:56505 'type': 'none',
506 'dependencies': [
507 '../base/base.gyp:base_java',
508 ],
509 'variables': {
510 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
511 },
512 'includes': [ '../build/java.gypi' ],
513 },
514 {
[email protected]67f839c92013-12-11 03:26:40515 'target_name': 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02516 'type': 'none',
517 'variables': {
518 'jni_gen_package': 'mojo',
[email protected]de857502014-01-10 15:08:04519 'jni_generator_ptr_type': 'long',
[email protected]adeb6f72013-10-25 08:05:02520 'input_java_class': 'java/util/HashSet.class',
521 },
522 'includes': [ '../build/jar_file_jni_generator.gypi' ],
523 },
524 {
525 'target_name': 'mojo_jni_headers',
526 'type': 'none',
527 'dependencies': [
[email protected]67f839c92013-12-11 03:26:40528 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02529 ],
[email protected]adeb6f72013-10-25 08:05:02530 'sources': [
[email protected]92aa30ec2013-12-05 06:39:18531 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java',
[email protected]0be9b242013-10-28 06:28:38532 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java',
[email protected]adeb6f72013-10-25 08:05:02533 ],
534 'variables': {
[email protected]de857502014-01-10 15:08:04535 'jni_gen_package': 'mojo',
536 'jni_generator_ptr_type': 'long',
537 },
[email protected]adeb6f72013-10-25 08:05:02538 'includes': [ '../build/jni_generator.gypi' ],
539 },
540 {
[email protected]786d75c2013-10-24 20:29:35541 'target_name': 'libmojo_shell',
542 'type': 'shared_library',
543 'dependencies': [
544 '../base/base.gyp:base',
[email protected]adeb6f72013-10-25 08:05:02545 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]570c26d2013-10-30 04:07:46546 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:15547 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]570c26d2013-10-30 04:07:46548 '../ui/gl/gl.gyp:gl',
[email protected]c1e5c782013-11-12 05:10:07549 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51550 'mojo_environment_chromium',
[email protected]adeb6f72013-10-25 08:05:02551 'mojo_jni_headers',
[email protected]09d040f2013-12-20 20:44:59552 'mojo_shell_bindings',
553 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35554 ],
555 'sources': [
556 'shell/android/library_loader.cc',
[email protected]adeb6f72013-10-25 08:05:02557 'shell/android/mojo_main.cc',
558 'shell/android/mojo_main.h',
[email protected]786d75c2013-10-24 20:29:35559 ],
560 },
561 {
562 'target_name': 'mojo_shell_apk',
563 'type': 'none',
564 'dependencies': [
565 '../base/base.gyp:base_java',
566 '../net/net.gyp:net_java',
[email protected]99e508a42013-12-04 01:15:09567 'mojo_native_viewport_java',
[email protected]786d75c2013-10-24 20:29:35568 'libmojo_shell',
569 ],
570 'variables': {
571 'apk_name': 'MojoShell',
[email protected]0be9b242013-10-28 06:28:38572 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
573 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
[email protected]786d75c2013-10-24 20:29:35574 'native_lib_target': 'libmojo_shell',
575 },
576 'includes': [ '../build/java_apk.gypi' ],
577 }
578 ],
579 }],
[email protected]9eb072b62014-03-19 20:35:16580 ['test_isolation_mode != "noop"', {
581 'targets': [
582 {
583 'target_name': 'mojo_js_unittests_run',
584 'type': 'none',
585 'dependencies': [
586 'mojo_js_unittests',
587 ],
588 'includes': [
589 '../build/isolate.gypi',
590 'mojo_js_unittests.isolate',
591 ],
592 'sources': [
593 'mojo_js_unittests.isolate',
594 ],
595 },
596 ],
597 }],
[email protected]786d75c2013-10-24 20:29:35598 ],
[email protected]02657da2013-09-16 02:55:18599}