blob: 8aaa75b19ed4d17f233af84b6e09cb301eff7ad4 [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]6eb908a2014-02-13 17:54:5438 'mojo_public_test_utils',
[email protected]0b438a62014-01-12 06:19:0339 'mojo_public_bindings_unittests',
[email protected]0d37563e2014-01-14 16:27:5140 'mojo_public_environment_unittests',
[email protected]0b438a62014-01-12 06:19:0341 'mojo_public_system_perftests',
42 'mojo_public_system_unittests',
43 'mojo_public_utility_unittests',
[email protected]67f839c92013-12-11 03:26:4044 'mojo_sample_app',
[email protected]fadab2eb2014-02-27 23:41:3445 'mojo_service_manager',
46 'mojo_service_manager_unittests',
[email protected]b4aef952013-11-26 23:25:4547 'mojo_shell',
48 'mojo_shell_lib',
49 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4750 'mojo_system_impl',
[email protected]b4aef952013-11-26 23:25:4551 'mojo_system_unittests',
[email protected]273e2172013-12-10 07:24:1652 'mojo_utility',
[email protected]3d58663b2013-09-28 00:30:0453 ],
[email protected]331e4db2014-01-07 21:46:0454 'conditions': [
55 ['use_aura==1', {
56 'dependencies': [
57 'mojo_aura_demo',
[email protected]bddb2842014-01-27 22:38:1958 'mojo_launcher',
[email protected]1fd496142014-01-29 05:16:0259 'mojo_view_manager',
[email protected]331e4db2014-01-07 21:46:0460 ],
61 }],
62 ]
[email protected]3d58663b2013-09-28 00:30:0463 },
64 {
[email protected]4b4068d2013-11-11 21:12:0365 'target_name': 'mojo_run_all_unittests',
66 'type': 'static_library',
67 'dependencies': [
68 '../base/base.gyp:base',
69 '../base/base.gyp:test_support_base',
[email protected]d16a5b42013-12-03 17:47:2470 '../testing/gtest.gyp:gtest',
[email protected]4b4068d2013-11-11 21:12:0371 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4772 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:5373 'mojo_test_support',
74 'mojo_test_support_impl',
[email protected]4b4068d2013-11-11 21:12:0375 ],
76 'sources': [
77 'common/test/run_all_unittests.cc',
78 ],
79 },
80 {
[email protected]5f8471fb2013-11-26 23:07:2481 'target_name': 'mojo_run_all_perftests',
82 'type': 'static_library',
83 'dependencies': [
84 '../base/base.gyp:test_support_base',
85 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:4786 'mojo_system_impl',
[email protected]1477ef4c2014-02-13 20:40:5387 'mojo_test_support',
88 'mojo_test_support_impl',
[email protected]5f8471fb2013-11-26 23:07:2489 ],
90 'sources': [
91 'common/test/run_all_perftests.cc',
92 ],
93 },
94 {
[email protected]5fd29c12013-12-10 07:13:4795 'target_name': 'mojo_system_impl',
[email protected]6cf6ca52013-10-10 20:52:1196 'type': '<(component)',
[email protected]3d58663b2013-09-28 00:30:0497 'dependencies': [
[email protected]5fd29c12013-12-10 07:13:4798 'mojo_system',
[email protected]3d58663b2013-09-28 00:30:0499 '../base/base.gyp:base',
[email protected]44992e72014-03-04 07:44:13100 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]3d58663b2013-09-28 00:30:04101 ],
[email protected]6cf6ca52013-10-10 20:52:11102 'defines': [
[email protected]5fd29c12013-12-10 07:13:47103 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
[email protected]6cf6ca52013-10-10 20:52:11104 ],
[email protected]3d58663b2013-09-28 00:30:04105 'sources': [
[email protected]ccf8453d2013-11-07 17:49:50106 'system/channel.cc',
107 'system/channel.h',
[email protected]32446982013-12-16 20:58:48108 'system/constants.h',
[email protected]3d58663b2013-09-28 00:30:04109 'system/core_impl.cc',
110 'system/core_impl.h',
[email protected]82d1954d2013-12-13 22:23:19111 'system/data_pipe.cc',
112 'system/data_pipe.h',
[email protected]ae3d3572013-12-14 00:00:53113 'system/data_pipe_consumer_dispatcher.cc',
114 'system/data_pipe_consumer_dispatcher.h',
[email protected]82d1954d2013-12-13 22:23:19115 'system/data_pipe_producer_dispatcher.cc',
116 'system/data_pipe_producer_dispatcher.h',
[email protected]3d58663b2013-09-28 00:30:04117 'system/dispatcher.cc',
118 'system/dispatcher.h',
[email protected]d1ffc69c2014-01-16 21:48:06119 'system/embedder/embedder.cc',
120 'system/embedder/embedder.h',
121 'system/embedder/platform_channel_pair.cc',
122 'system/embedder/platform_channel_pair.h',
123 'system/embedder/platform_channel_pair_posix.cc',
[email protected]c64265662014-02-05 18:40:13124 'system/embedder/platform_channel_pair_win.cc',
[email protected]d1ffc69c2014-01-16 21:48:06125 'system/embedder/platform_handle.cc',
126 'system/embedder/platform_handle.h',
127 'system/embedder/scoped_platform_handle.h',
[email protected]00798012013-12-16 20:39:30128 'system/local_data_pipe.cc',
129 'system/local_data_pipe.h',
[email protected]989f8bc2013-10-16 00:24:37130 'system/local_message_pipe_endpoint.cc',
131 'system/local_message_pipe_endpoint.h',
[email protected]3d58663b2013-09-28 00:30:04132 'system/memory.cc',
133 'system/memory.h',
[email protected]aae74e92013-10-03 20:52:34134 'system/message_in_transit.cc',
135 'system/message_in_transit.h',
[email protected]311a9a12014-03-03 23:17:23136 'system/message_in_transit_queue.cc',
137 'system/message_in_transit_queue.h',
[email protected]3d58663b2013-09-28 00:30:04138 'system/message_pipe.cc',
139 'system/message_pipe.h',
140 'system/message_pipe_dispatcher.cc',
141 'system/message_pipe_dispatcher.h',
[email protected]989f8bc2013-10-16 00:24:37142 'system/message_pipe_endpoint.cc',
143 'system/message_pipe_endpoint.h',
[email protected]ccf8453d2013-11-07 17:49:50144 'system/proxy_message_pipe_endpoint.cc',
145 'system/proxy_message_pipe_endpoint.h',
[email protected]497626502014-02-27 18:13:25146 'system/raw_channel.cc',
[email protected]5a0d0062013-10-11 19:07:18147 'system/raw_channel.h',
148 'system/raw_channel_posix.cc',
[email protected]ccf8453d2013-11-07 17:49:50149 'system/raw_channel_win.cc',
[email protected]3d58663b2013-09-28 00:30:04150 'system/simple_dispatcher.cc',
151 'system/simple_dispatcher.h',
152 'system/waiter.cc',
153 'system/waiter.h',
154 'system/waiter_list.cc',
155 'system/waiter_list.h',
[email protected]8579fe02014-01-16 23:51:10156 # Test-only code:
157 # TODO(vtl): It's a little unfortunate that these end up in the same
158 # component as non-test-only code. In the static build, this code should
159 # hopefully be dead-stripped.
160 'system/embedder/test_embedder.cc',
161 'system/embedder/test_embedder.h',
[email protected]3d58663b2013-09-28 00:30:04162 ],
[email protected]3d58663b2013-09-28 00:30:04163 },
164 {
165 'target_name': 'mojo_system_unittests',
166 'type': 'executable',
167 'dependencies': [
168 '../base/base.gyp:run_all_unittests',
169 '../testing/gtest.gyp:gtest',
[email protected]1ad40142013-12-12 13:20:02170 'mojo_common_test_support',
[email protected]3d58663b2013-09-28 00:30:04171 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47172 'mojo_system_impl',
[email protected]3d58663b2013-09-28 00:30:04173 ],
174 'sources': [
175 'system/core_impl_unittest.cc',
176 'system/core_test_base.cc',
177 'system/core_test_base.h',
[email protected]92fb7f42013-12-17 22:38:30178 'system/data_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04179 'system/dispatcher_unittest.cc',
[email protected]d1ffc69c2014-01-16 21:48:06180 'system/embedder/embedder_unittest.cc',
[email protected]92fb7f42013-12-17 22:38:30181 'system/local_data_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04182 'system/message_pipe_dispatcher_unittest.cc',
183 'system/message_pipe_unittest.cc',
[email protected]1ad40142013-12-12 13:20:02184 'system/multiprocess_message_pipe_unittest.cc',
[email protected]44992e72014-03-04 07:44:13185 'system/raw_channel_unittest.cc',
[email protected]f764b25b2014-03-06 10:31:47186 'system/remote_message_pipe_unittest.cc',
[email protected]3d58663b2013-09-28 00:30:04187 'system/simple_dispatcher_unittest.cc',
[email protected]b334246d2013-10-24 00:08:57188 'system/test_utils.cc',
[email protected]3d58663b2013-09-28 00:30:04189 'system/test_utils.h',
190 'system/waiter_list_unittest.cc',
191 'system/waiter_test_utils.cc',
192 'system/waiter_test_utils.h',
193 'system/waiter_unittest.cc',
194 ],
[email protected]02657da2013-09-16 02:55:18195 },
[email protected]6cf6ca52013-10-10 20:52:11196 {
[email protected]826360a32014-01-22 22:19:27197 'target_name': 'mojo_gles2_impl',
[email protected]99e508a42013-12-04 01:15:09198 'type': '<(component)',
199 'dependencies': [
[email protected]826360a32014-01-22 22:19:27200 '../base/base.gyp:base',
201 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]68780862014-02-07 00:25:07202 '../gpu/gpu.gyp:command_buffer_client',
203 '../gpu/gpu.gyp:command_buffer_common',
204 '../gpu/gpu.gyp:gles2_cmd_helper',
205 '../gpu/gpu.gyp:gles2_implementation',
[email protected]826360a32014-01-22 22:19:27206 'mojo_gles2',
[email protected]c329ad72014-01-23 04:02:49207 'mojo_gles2_bindings',
208 'mojo_environment_chromium',
[email protected]99e508a42013-12-04 01:15:09209 ],
210 'defines': [
[email protected]826360a32014-01-22 22:19:27211 'MOJO_GLES2_IMPL_IMPLEMENTATION',
[email protected]99e508a42013-12-04 01:15:09212 ],
213 'sources': [
[email protected]68780862014-02-07 00:25:07214 'gles2/command_buffer_client_impl.cc',
215 'gles2/command_buffer_client_impl.h',
[email protected]826360a32014-01-22 22:19:27216 'gles2/gles2_impl_export.h',
217 'gles2/gles2_support_impl.cc',
218 'gles2/gles2_support_impl.h',
[email protected]68780862014-02-07 00:25:07219 'gles2/gles2_context.cc',
220 'gles2/gles2_context.h',
[email protected]99e508a42013-12-04 01:15:09221 ],
222 },
223 {
[email protected]1477ef4c2014-02-13 20:40:53224 'target_name': 'mojo_test_support_impl',
225 'type': 'static_library',
226 'dependencies': [
227 '../base/base.gyp:base',
228 ],
229 'sources': [
230 'common/test/test_support_impl.cc',
231 'common/test/test_support_impl.h',
232 ],
233 },
234 {
[email protected]3cf4aad2013-12-01 17:27:25235 'target_name': 'mojo_common_lib',
236 'type': '<(component)',
237 'defines': [
238 'MOJO_COMMON_IMPLEMENTATION',
239 ],
240 'dependencies': [
241 '../base/base.gyp:base',
242 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
243 'mojo_system',
244 ],
245 'sources': [
[email protected]2229d4252013-12-08 06:53:47246 'common/common_type_converters.cc',
247 'common/common_type_converters.h',
[email protected]3cf4aad2013-12-01 17:27:25248 'common/handle_watcher.cc',
249 'common/handle_watcher.h',
250 'common/message_pump_mojo.cc',
251 'common/message_pump_mojo.h',
252 'common/message_pump_mojo_handler.h',
253 ],
[email protected]3cf4aad2013-12-01 17:27:25254 },
255 {
[email protected]1ad40142013-12-12 13:20:02256 'target_name': 'mojo_common_test_support',
257 'type': 'static_library',
258 'dependencies': [
259 '../base/base.gyp:base',
260 '../base/base.gyp:test_support_base',
261 '../testing/gtest.gyp:gtest',
262 'mojo_system',
263 'mojo_system_impl',
264 ],
265 'sources': [
[email protected]3bc13792014-03-08 22:58:37266 'common/test/multiprocess_test_helper.cc',
267 'common/test/multiprocess_test_helper.h',
[email protected]b8e55f62014-02-22 21:01:54268 'common/test/test_utils.h',
269 'common/test/test_utils_posix.cc',
270 'common/test/test_utils_win.cc',
[email protected]1ad40142013-12-12 13:20:02271 ],
272 },
273 {
[email protected]3cf4aad2013-12-01 17:27:25274 'target_name': 'mojo_common_unittests',
275 'type': 'executable',
276 'dependencies': [
277 '../base/base.gyp:base',
278 '../base/base.gyp:base_message_loop_tests',
279 '../testing/gtest.gyp:gtest',
[email protected]c2a52bf2013-12-02 13:55:36280 'mojo_bindings',
[email protected]0d37563e2014-01-14 16:27:51281 'mojo_environment_chromium',
[email protected]3cf4aad2013-12-01 17:27:25282 'mojo_common_lib',
[email protected]1ad40142013-12-12 13:20:02283 'mojo_common_test_support',
[email protected]6eb908a2014-02-13 17:54:54284 'mojo_public_test_utils',
[email protected]3cf4aad2013-12-01 17:27:25285 'mojo_run_all_unittests',
286 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47287 'mojo_system_impl',
[email protected]3cf4aad2013-12-01 17:27:25288 ],
289 'sources': [
[email protected]2229d4252013-12-08 06:53:47290 'common/common_type_converters_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25291 'common/handle_watcher_unittest.cc',
292 'common/message_pump_mojo_unittest.cc',
[email protected]3bc13792014-03-08 22:58:37293 'common/test/multiprocess_test_helper_unittest.cc',
[email protected]3cf4aad2013-12-01 17:27:25294 ],
[email protected]3cf4aad2013-12-01 17:27:25295 },
296 {
[email protected]0d37563e2014-01-14 16:27:51297 'target_name': 'mojo_environment_chromium',
298 'type': 'static_library',
299 'dependencies': [
300 'mojo_environment_chromium_impl',
301 ],
302 'sources': [
303 'environment/default_async_waiter.cc',
304 'environment/buffer_tls.cc',
305 'environment/environment.cc',
306 ],
307 'include_dirs': [
308 '..',
309 ],
310 'export_dependent_settings': [
311 'mojo_environment_chromium_impl',
312 ],
313 },
314 {
315 'target_name': 'mojo_environment_chromium_impl',
316 'type': '<(component)',
317 'defines': [
318 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
319 ],
320 'dependencies': [
321 '../base/base.gyp:base',
322 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
323 'mojo_common_lib'
324 ],
325 'sources': [
326 'environment/default_async_waiter_impl.cc',
327 'environment/default_async_waiter_impl.h',
328 'environment/buffer_tls_impl.cc',
329 'environment/buffer_tls_impl.h',
330 ],
331 'include_dirs': [
332 '..',
333 ],
334 },
335 {
[email protected]fadab2eb2014-02-27 23:41:34336 'target_name': 'mojo_service_manager',
337 'type': 'static_library',
338 'dependencies': [
339 '../base/base.gyp:base',
[email protected]d656e102014-03-04 18:29:48340 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]fadab2eb2014-02-27 23:41:34341 '../net/net.gyp:net',
342 '../url/url.gyp:url_lib',
343 'mojo_shell_bindings',
344 ],
345 'sources': [
[email protected]d656e102014-03-04 18:29:48346 'service_manager/service_loader.h',
[email protected]fadab2eb2014-02-27 23:41:34347 'service_manager/service_manager.cc',
348 'service_manager/service_manager.h',
349 ],
[email protected]d656e102014-03-04 18:29:48350 'export_dependent_settings': [
351 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
352 ],
[email protected]fadab2eb2014-02-27 23:41:34353 },
354 {
[email protected]786d75c2013-10-24 20:29:35355 'target_name': 'mojo_shell_lib',
356 'type': 'static_library',
[email protected]6cf6ca52013-10-10 20:52:11357 'dependencies': [
358 '../base/base.gyp:base',
[email protected]eba6f512013-10-19 00:17:09359 '../net/net.gyp:net',
[email protected]3c448302013-10-22 08:39:08360 '../url/url.gyp:url_lib',
[email protected]826360a32014-01-22 22:19:27361 'mojo_gles2_impl',
[email protected]edce7542013-12-18 02:07:37362 'mojo_shell_bindings',
[email protected]fadab2eb2014-02-27 23:41:34363 'mojo_service_manager',
[email protected]6cf6ca52013-10-10 20:52:11364 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47365 'mojo_system_impl',
[email protected]2e5f3a02013-12-21 07:12:37366 'mojo_native_viewport_service',
[email protected]6cf6ca52013-10-10 20:52:11367 ],
368 'sources': [
[email protected]6e50d5e42013-10-27 02:45:46369 'shell/context.cc',
370 'shell/context.h',
[email protected]df47c492014-01-03 22:50:15371 'shell/dynamic_service_loader.cc',
372 'shell/dynamic_service_loader.h',
[email protected]40932702013-11-20 22:29:30373 'shell/init.cc',
374 'shell/init.h',
[email protected]dcd9a9cd2014-02-03 09:15:41375 'shell/keep_alive.cc',
376 'shell/keep_alive.h',
[email protected]0be9b242013-10-28 06:28:38377 'shell/loader.cc',
378 'shell/loader.h',
[email protected]c6c6e5652013-10-29 02:40:30379 'shell/network_delegate.cc',
380 'shell/network_delegate.h',
[email protected]adeb6f72013-10-25 08:05:02381 'shell/run.cc',
382 'shell/run.h',
[email protected]09d040f2013-12-20 20:44:59383 'shell/storage.cc',
384 'shell/storage.h',
[email protected]6cf6ca52013-10-10 20:52:11385 'shell/switches.cc',
386 'shell/switches.h',
[email protected]eba6f512013-10-19 00:17:09387 'shell/task_runners.cc',
388 'shell/task_runners.h',
[email protected]0be9b242013-10-28 06:28:38389 'shell/url_request_context_getter.cc',
390 'shell/url_request_context_getter.h',
[email protected]6cf6ca52013-10-10 20:52:11391 ],
392 },
393 {
[email protected]786d75c2013-10-24 20:29:35394 'target_name': 'mojo_shell',
395 'type': 'executable',
396 'dependencies': [
397 '../base/base.gyp:base',
[email protected]42368392013-11-05 13:45:02398 '../ui/gl/gl.gyp:gl',
[email protected]786d75c2013-10-24 20:29:35399 '../url/url.gyp:url_lib',
[email protected]c1e5c782013-11-12 05:10:07400 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51401 'mojo_environment_chromium',
[email protected]76b8e582014-02-11 14:44:25402 'mojo_shell_bindings',
[email protected]786d75c2013-10-24 20:29:35403 'mojo_shell_lib',
404 'mojo_system',
[email protected]5fd29c12013-12-10 07:13:47405 'mojo_system_impl',
[email protected]786d75c2013-10-24 20:29:35406 ],
407 'sources': [
[email protected]adeb6f72013-10-25 08:05:02408 'shell/desktop/mojo_main.cc',
[email protected]786d75c2013-10-24 20:29:35409 ],
[email protected]786d75c2013-10-24 20:29:35410 },
[email protected]df47c492014-01-03 22:50:15411 {
[email protected]fadab2eb2014-02-27 23:41:34412 'target_name': 'mojo_service_manager_unittests',
[email protected]df47c492014-01-03 22:50:15413 'type': 'executable',
414 'dependencies': [
415 '../base/base.gyp:base',
416 '../testing/gtest.gyp:gtest',
[email protected]a771d1d12014-02-06 17:34:56417 'mojo_environment_standalone',
[email protected]df47c492014-01-03 22:50:15418 'mojo_run_all_unittests',
[email protected]fadab2eb2014-02-27 23:41:34419 'mojo_service_manager',
[email protected]a771d1d12014-02-06 17:34:56420 'mojo_utility',
[email protected]df47c492014-01-03 22:50:15421 ],
422 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
423 'sources': [
[email protected]fadab2eb2014-02-27 23:41:34424 'service_manager/service_manager_unittest.cc',
425 'service_manager/test.mojom',
[email protected]df47c492014-01-03 22:50:15426 ],
427 },
[email protected]f8c8cc12014-03-07 23:48:32428 {
429 'target_name': 'mojo_js_bindings_lib',
430 'type': 'static_library',
431 'dependencies': [
432 '../base/base.gyp:base',
433 '../gin/gin.gyp:gin',
434 '../v8/tools/gyp/v8.gyp:v8',
435 'mojo_common_lib',
436 'mojo_system',
437 ],
438 'export_dependent_settings': [
439 '../base/base.gyp:base',
440 '../gin/gin.gyp:gin',
441 'mojo_common_lib',
442 'mojo_system',
443 ],
444 'sources': [
445 'bindings/js/core.cc',
446 'bindings/js/core.h',
447 'bindings/js/handle.cc',
448 'bindings/js/handle.h',
449 'bindings/js/support.cc',
450 'bindings/js/support.h',
451 'bindings/js/waiting_callback.cc',
452 'bindings/js/waiting_callback.h',
453 ],
454 },
[email protected]8de52462014-03-11 15:48:39455 {
456 'target_name': 'mojo_js_unittests',
457 'type': 'executable',
458 'dependencies': [
459 '../gin/gin.gyp:gin_test',
460 'mojo_js_bindings_lib',
461 'mojo_run_all_unittests',
462 ],
463 'sources': [
464 'bindings/js/run_js_tests.cc',
465 ],
466 },
[email protected]02657da2013-09-16 02:55:18467 ],
[email protected]786d75c2013-10-24 20:29:35468 'conditions': [
469 ['OS=="android"', {
470 'targets': [
471 {
[email protected]99e508a42013-12-04 01:15:09472 'target_name': 'mojo_native_viewport_java',
[email protected]29ccd8e2013-11-01 16:44:56473 'type': 'none',
474 'dependencies': [
475 '../base/base.gyp:base_java',
476 ],
477 'variables': {
478 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
479 },
480 'includes': [ '../build/java.gypi' ],
481 },
482 {
[email protected]67f839c92013-12-11 03:26:40483 'target_name': 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02484 'type': 'none',
485 'variables': {
486 'jni_gen_package': 'mojo',
[email protected]de857502014-01-10 15:08:04487 'jni_generator_ptr_type': 'long',
[email protected]adeb6f72013-10-25 08:05:02488 'input_java_class': 'java/util/HashSet.class',
489 },
490 'includes': [ '../build/jar_file_jni_generator.gypi' ],
491 },
492 {
493 'target_name': 'mojo_jni_headers',
494 'type': 'none',
495 'dependencies': [
[email protected]67f839c92013-12-11 03:26:40496 'mojo_java_set_jni_headers',
[email protected]adeb6f72013-10-25 08:05:02497 ],
[email protected]adeb6f72013-10-25 08:05:02498 'sources': [
[email protected]92aa30ec2013-12-05 06:39:18499 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java',
[email protected]0be9b242013-10-28 06:28:38500 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java',
[email protected]adeb6f72013-10-25 08:05:02501 ],
502 'variables': {
[email protected]de857502014-01-10 15:08:04503 'jni_gen_package': 'mojo',
504 'jni_generator_ptr_type': 'long',
505 },
[email protected]adeb6f72013-10-25 08:05:02506 'includes': [ '../build/jni_generator.gypi' ],
507 },
508 {
[email protected]786d75c2013-10-24 20:29:35509 'target_name': 'libmojo_shell',
510 'type': 'shared_library',
511 'dependencies': [
512 '../base/base.gyp:base',
[email protected]adeb6f72013-10-25 08:05:02513 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]570c26d2013-10-30 04:07:46514 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:15515 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]570c26d2013-10-30 04:07:46516 '../ui/gl/gl.gyp:gl',
[email protected]c1e5c782013-11-12 05:10:07517 'mojo_common_lib',
[email protected]0d37563e2014-01-14 16:27:51518 'mojo_environment_chromium',
[email protected]adeb6f72013-10-25 08:05:02519 'mojo_jni_headers',
[email protected]09d040f2013-12-20 20:44:59520 'mojo_shell_bindings',
521 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35522 ],
523 'sources': [
524 'shell/android/library_loader.cc',
[email protected]adeb6f72013-10-25 08:05:02525 'shell/android/mojo_main.cc',
526 'shell/android/mojo_main.h',
[email protected]786d75c2013-10-24 20:29:35527 ],
528 },
529 {
530 'target_name': 'mojo_shell_apk',
531 'type': 'none',
532 'dependencies': [
533 '../base/base.gyp:base_java',
534 '../net/net.gyp:net_java',
[email protected]99e508a42013-12-04 01:15:09535 'mojo_native_viewport_java',
[email protected]786d75c2013-10-24 20:29:35536 'libmojo_shell',
537 ],
538 'variables': {
539 'apk_name': 'MojoShell',
[email protected]0be9b242013-10-28 06:28:38540 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
541 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
[email protected]786d75c2013-10-24 20:29:35542 'native_lib_target': 'libmojo_shell',
543 },
544 'includes': [ '../build/java_apk.gypi' ],
545 }
546 ],
547 }],
548 ],
[email protected]02657da2013-09-16 02:55:18549}