blob: 4ba177075f4ca4ad996971076e53dcf800a7ae5c [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]3cf4aad2013-12-01 17:27:2516 'includes': [
[email protected]de3d0b02013-12-03 23:18:2517 'mojo_apps.gypi',
[email protected]3cf4aad2013-12-01 17:27:2518 'mojo_examples.gypi',
[email protected]3cf4aad2013-12-01 17:27:2519 'mojo_services.gypi',
[email protected]7e77c0d2014-07-30 22:54:0620 'mojo_variables.gypi',
[email protected]3cf4aad2013-12-01 17:27:2521 ],
[email protected]02657da2013-09-16 02:55:1822 'targets': [
23 {
24 'target_name': 'mojo',
25 'type': 'none',
[email protected]3d58663b2013-09-28 00:30:0426 'dependencies': [
[email protected]e9cac98e2014-08-09 20:41:1027 'mojo_application_manager',
28 'mojo_application_manager_unittests',
[email protected]8de52462014-03-11 15:48:3929 'mojo_apps_js_unittests',
[email protected]e9cac98e2014-08-09 20:41:1030 'mojo_base.gyp:mojo_base',
[email protected]4b1172e2014-01-15 22:26:3131 'mojo_compositor_app',
[email protected]40e54f82014-08-08 17:16:1032 'mojo_content_handler_demo',
[email protected]d7796262014-07-29 08:12:3533 'mojo_echo_client',
34 'mojo_echo_service',
[email protected]39ebdbb2014-08-08 08:14:0935 'mojo_example_apptests',
36 'mojo_example_service',
[email protected]7eb25d92014-05-21 19:07:4037 'mojo_geometry_lib',
[email protected]0d3887252014-06-13 02:31:4738 'mojo_html_viewer',
[email protected]93830742013-11-08 12:17:2439 'mojo_js',
[email protected]0d3887252014-06-13 02:31:4740 'mojo_launcher',
[email protected]3a734732014-04-15 03:14:2541 'mojo_native_viewport_service',
[email protected]dd6ee4502014-06-05 09:27:3042 'mojo_network_service',
[email protected]6bcc45b2014-03-22 04:11:1243 'mojo_pepper_container_app',
[email protected]bd089bb2014-06-25 15:07:5644 'mojo_png_viewer',
[email protected]67f839c92013-12-11 03:26:4045 'mojo_sample_app',
[email protected]b4aef952013-11-26 23:25:4546 'mojo_shell',
47 'mojo_shell_lib',
[email protected]fc459f2e2014-06-04 01:02:4548 'mojo_shell_tests',
[email protected]412ffac2014-07-13 03:14:2349 'mojo_surfaces_app',
[email protected]e9cac98e2014-08-09 20:41:1050 'mojo_surfaces_app',
[email protected]412ffac2014-07-13 03:14:2351 'mojo_surfaces_child_app',
[email protected]728729d2014-06-30 22:45:5152 'mojo_surfaces_lib',
53 'mojo_surfaces_lib_unittests',
[email protected]412ffac2014-07-13 03:14:2354 'mojo_surfaces_service',
[email protected]8b242f52014-07-02 07:04:1555 'mojo_test_app',
56 'mojo_test_request_tracker_app',
[email protected]9b9ec2f2014-05-07 17:17:1557 'mojo_view_manager_lib',
58 'mojo_view_manager_lib_unittests',
[email protected]dd6ee4502014-06-05 09:27:3059 'mojo_wget',
[email protected]3d58663b2013-09-28 00:30:0460 ],
[email protected]331e4db2014-01-07 21:46:0461 'conditions': [
62 ['use_aura==1', {
63 'dependencies': [
64 'mojo_aura_demo',
[email protected]29db69c72014-06-03 09:16:2665 'mojo_aura_demo_init',
[email protected]33bc2bc2014-06-10 17:52:2466 'mojo_browser',
[email protected]16199f152014-07-17 15:38:5367 'mojo_core_window_manager',
68 'mojo_core_window_manager_unittests',
[email protected]8dbcf0d2014-06-03 05:39:0069 'mojo_demo_launcher',
70 'mojo_embedded_app',
[email protected]1dfdc0b2014-06-25 19:28:3171 'mojo_keyboard',
[email protected]bd089bb2014-06-25 15:07:5672 'mojo_media_viewer',
[email protected]d0e2cfc2014-06-07 04:16:5373 'mojo_nesting_app',
[email protected]8dbcf0d2014-06-03 05:39:0074 'mojo_window_manager',
[email protected]d7c088c62014-07-24 19:01:4775 'mojo_wm_flow_app',
[email protected]177489832014-08-07 22:01:4276 'mojo_wm_flow_embedded',
[email protected]d7c088c62014-07-24 19:01:4777 'mojo_wm_flow_init',
78 'mojo_wm_flow_wm',
[email protected]1fd496142014-01-29 05:16:0279 'mojo_view_manager',
[email protected]36c2077c2014-04-23 22:36:0380 'mojo_view_manager_unittests',
[email protected]331e4db2014-01-07 21:46:0481 ],
82 }],
[email protected]5e1a8322014-05-09 22:35:5183 ['OS == "linux"', {
84 'dependencies': [
85 'mojo_dbus_echo',
86 'mojo_dbus_echo_service',
87 ],
88 }],
[email protected]331e4db2014-01-07 21:46:0489 ]
[email protected]3d58663b2013-09-28 00:30:0490 },
91 {
[email protected]8bb00ee62014-07-29 09:26:2092 # GN version: //mojo/shell:external_service_bindings
[email protected]65eedf72014-04-28 11:53:1693 'target_name': 'mojo_external_service_bindings',
94 'type': 'static_library',
95 'sources': [
96 'shell/external_service.mojom',
97 ],
[email protected]65eedf72014-04-28 11:53:1698 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
99 'export_dependent_settings': [
[email protected]7e77c0d2014-07-30 22:54:06100 'mojo_base.gyp:mojo_cpp_bindings',
[email protected]65eedf72014-04-28 11:53:16101 ],
102 'dependencies': [
[email protected]7e77c0d2014-07-30 22:54:06103 'mojo_base.gyp:mojo_cpp_bindings',
[email protected]3d58663b2013-09-28 00:30:04104 ],
[email protected]02657da2013-09-16 02:55:18105 },
[email protected]6cf6ca52013-10-10 20:52:11106 {
[email protected]e2682412014-04-07 22:04:42107 'target_name': 'mojo_spy',
108 'type': 'static_library',
109 'dependencies': [
110 '../base/base.gyp:base',
111 '../base/base.gyp:base_static',
[email protected]dd6ca972014-04-30 08:07:50112 '../net/net.gyp:http_server',
[email protected]e2682412014-04-07 22:04:42113 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10114 'mojo_application_manager',
[email protected]e2682412014-04-07 22:04:42115 ],
[email protected]1fd1a5242014-07-09 09:07:39116 'variables': {
117 'mojom_base_output_dir': 'mojo',
118 },
119 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]e2682412014-04-07 22:04:42120 'sources': [
[email protected]1fd1a5242014-07-09 09:07:39121 'spy/public/spy.mojom',
[email protected]d15bab42014-07-10 20:27:40122 'spy/common.h',
[email protected]e2682412014-04-07 22:04:42123 'spy/spy.cc',
124 'spy/spy.h',
[email protected]1fd1a5242014-07-09 09:07:39125 'spy/spy_server_impl.h',
126 'spy/spy_server_impl.cc',
[email protected]dd6ca972014-04-30 08:07:50127 'spy/websocket_server.cc',
128 'spy/websocket_server.h',
[email protected]e2682412014-04-07 22:04:42129 ],
130 },
131 {
[email protected]8bb00ee62014-07-29 09:26:20132 # GN version: //mojo/shell:lib
[email protected]786d75c2013-10-24 20:29:35133 'target_name': 'mojo_shell_lib',
134 'type': 'static_library',
[email protected]6cf6ca52013-10-10 20:52:11135 'dependencies': [
136 '../base/base.gyp:base',
[email protected]57d12ab2014-03-14 15:06:55137 '../base/base.gyp:base_static',
[email protected]1124dea02014-04-29 19:31:23138 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]eba6f512013-10-19 00:17:09139 '../net/net.gyp:net',
[email protected]3c448302013-10-22 08:39:08140 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10141 'mojo_application_manager',
[email protected]e9b17cf2014-07-31 08:58:42142 'mojo_base.gyp:mojo_application_bindings',
[email protected]7e77c0d2014-07-30 22:54:06143 'mojo_base.gyp:mojo_common_lib',
[email protected]f723adfa2014-08-12 17:06:40144 'mojo_base.gyp:mojo_gles2_impl',
[email protected]7e77c0d2014-07-30 22:54:06145 'mojo_base.gyp:mojo_system_impl',
[email protected]8d64cb672014-08-06 23:30:48146 'mojo_base.gyp:mojo_application_chromium',
[email protected]65eedf72014-04-28 11:53:16147 'mojo_external_service_bindings',
[email protected]044a7272014-06-10 16:12:58148 'mojo_native_viewport_service',
149 'mojo_network_bindings',
[email protected]e2682412014-04-07 22:04:42150 'mojo_spy',
[email protected]6cf6ca52013-10-10 20:52:11151 ],
[email protected]352ed67c2014-04-04 21:11:21152 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]6cf6ca52013-10-10 20:52:11153 'sources': [
[email protected]4e559292014-03-18 00:05:15154 'shell/app_child_process.cc',
155 'shell/app_child_process.h',
[email protected]5dcd57c32014-03-20 17:37:19156 'shell/app_child_process.mojom',
[email protected]4e559292014-03-18 00:05:15157 'shell/app_child_process_host.cc',
158 'shell/app_child_process_host.h',
[email protected]57d12ab2014-03-14 15:06:55159 'shell/child_process.cc',
160 'shell/child_process.h',
161 'shell/child_process_host.cc',
162 'shell/child_process_host.h',
[email protected]6e50d5e42013-10-27 02:45:46163 'shell/context.cc',
164 'shell/context.h',
[email protected]e9cac98e2014-08-09 20:41:10165 'shell/dbus_application_loader_linux.cc',
166 'shell/dbus_application_loader_linux.h',
167 'shell/dynamic_application_loader.cc',
168 'shell/dynamic_application_loader.h',
[email protected]e01f3a02014-03-15 00:57:43169 'shell/dynamic_service_runner.h',
[email protected]40932702013-11-20 22:29:30170 'shell/init.cc',
171 'shell/init.h',
[email protected]e01f3a02014-03-15 00:57:43172 'shell/in_process_dynamic_service_runner.cc',
173 'shell/in_process_dynamic_service_runner.h',
[email protected]dcd9a9cd2014-02-03 09:15:41174 'shell/keep_alive.cc',
175 'shell/keep_alive.h',
[email protected]044a7272014-06-10 16:12:58176 'shell/mojo_url_resolver.cc',
177 'shell/mojo_url_resolver.h',
[email protected]4e559292014-03-18 00:05:15178 'shell/out_of_process_dynamic_service_runner.cc',
179 'shell/out_of_process_dynamic_service_runner.h',
[email protected]adeb6f72013-10-25 08:05:02180 'shell/run.cc',
181 'shell/run.h',
[email protected]6cf6ca52013-10-10 20:52:11182 'shell/switches.cc',
183 'shell/switches.h',
[email protected]eba6f512013-10-19 00:17:09184 'shell/task_runners.cc',
185 'shell/task_runners.h',
[email protected]57d12ab2014-03-14 15:06:55186 'shell/test_child_process.cc',
187 'shell/test_child_process.h',
[email protected]e9cac98e2014-08-09 20:41:10188 'shell/ui_application_loader_android.cc',
189 'shell/ui_application_loader_android.h',
[email protected]08f1c5972014-05-09 16:26:06190 'shell/view_manager_loader.cc',
191 'shell/view_manager_loader.h',
[email protected]6cf6ca52013-10-10 20:52:11192 ],
[email protected]65eedf72014-04-28 11:53:16193 'conditions': [
194 ['OS=="linux"', {
195 'dependencies': [
196 '../build/linux/system.gyp:dbus',
197 '../dbus/dbus.gyp:dbus',
198 ],
199 }],
[email protected]2d6f7dde2014-07-17 09:51:33200 ['OS=="android"', {
201 'dependencies': [
202 'mojo_network_service_lib',
203 ],
204 'sources': [
[email protected]e9cac98e2014-08-09 20:41:10205 'shell/network_application_loader.cc',
206 'shell/network_application_loader.h',
[email protected]2d6f7dde2014-07-17 09:51:33207 ],
208 }],
[email protected]1124dea02014-04-29 19:31:23209 ['use_aura==1', {
210 'dependencies': [
211 # These are only necessary as long as we hard code use of ViewManager.
212 '../skia/skia.gyp:skia',
[email protected]1124dea02014-04-29 19:31:23213 'mojo_view_manager',
[email protected]5e1a8322014-05-09 22:35:51214 'mojo_view_manager_bindings',
[email protected]1124dea02014-04-29 19:31:23215 ],
[email protected]08f1c5972014-05-09 16:26:06216 }, { # use_aura==0
217 'sources!': [
218 'shell/view_manager_loader.cc',
219 'shell/view_manager_loader.h',
220 ],
[email protected]1124dea02014-04-29 19:31:23221 }],
222 ],
223 },
224 {
225 'target_name': 'mojo_shell_test_support',
226 'type': 'static_library',
227 'dependencies': [
228 '../base/base.gyp:base',
229 '../base/base.gyp:base_static',
230 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10231 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06232 'mojo_base.gyp:mojo_system_impl',
[email protected]1124dea02014-04-29 19:31:23233 'mojo_shell_lib',
[email protected]1124dea02014-04-29 19:31:23234 ],
235 'sources': [
236 'shell/shell_test_helper.cc',
237 'shell/shell_test_helper.h',
[email protected]65eedf72014-04-28 11:53:16238 ],
[email protected]6cf6ca52013-10-10 20:52:11239 },
240 {
[email protected]8bb00ee62014-07-29 09:26:20241 # GN version: //mojo/shell
[email protected]786d75c2013-10-24 20:29:35242 'target_name': 'mojo_shell',
243 'type': 'executable',
244 'dependencies': [
245 '../base/base.gyp:base',
[email protected]42368392013-11-05 13:45:02246 '../ui/gl/gl.gyp:gl',
[email protected]786d75c2013-10-24 20:29:35247 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10248 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06249 'mojo_base.gyp:mojo_common_lib',
250 'mojo_base.gyp:mojo_environment_chromium',
251 'mojo_base.gyp:mojo_system_impl',
[email protected]786d75c2013-10-24 20:29:35252 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35253 ],
[email protected]c2dec542014-06-27 22:45:00254 'conditions': [
255 ['use_ozone==1', {
256 'dependencies': [
257 '../ui/ozone/ozone.gyp:ozone',
258 ],
259 }],
260 ],
[email protected]786d75c2013-10-24 20:29:35261 'sources': [
[email protected]adeb6f72013-10-25 08:05:02262 'shell/desktop/mojo_main.cc',
[email protected]786d75c2013-10-24 20:29:35263 ],
[email protected]786d75c2013-10-24 20:29:35264 },
[email protected]df47c492014-01-03 22:50:15265 {
[email protected]b1867c92014-08-13 00:22:04266 # GN version: //mojo/shell:mojo_shell_tests
[email protected]fc459f2e2014-06-04 01:02:45267 'target_name': 'mojo_shell_tests',
[email protected]3b8b8052014-06-18 19:41:34268 'type': '<(gtest_target_type)',
[email protected]fc459f2e2014-06-04 01:02:45269 'dependencies': [
270 '../base/base.gyp:base',
[email protected]8b242f52014-07-02 07:04:15271 '../base/base.gyp:base_i18n',
[email protected]fc459f2e2014-06-04 01:02:45272 '../base/base.gyp:test_support_base',
273 '../testing/gtest.gyp:gtest',
[email protected]3f2ec4482014-07-24 22:38:51274 '../net/net.gyp:net_test_support',
[email protected]fc459f2e2014-06-04 01:02:45275 # TODO(vtl): We don't currently need this, but I imagine we will soon.
276 # '../ui/gl/gl.gyp:gl',
277 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10278 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06279 'mojo_base.gyp:mojo_common_lib',
280 'mojo_base.gyp:mojo_environment_chromium',
281 'mojo_base.gyp:mojo_system_impl',
[email protected]fc459f2e2014-06-04 01:02:45282 'mojo_shell_lib',
[email protected]8b242f52014-07-02 07:04:15283 'mojo_test_app',
284 'mojo_test_request_tracker_app',
[email protected]a10299d2014-06-09 17:24:10285 'mojo_test_service_bindings',
[email protected]fc459f2e2014-06-04 01:02:45286 ],
287 'sources': [
288 'shell/child_process_host_unittest.cc',
[email protected]e9cac98e2014-08-09 20:41:10289 'shell/dynamic_application_loader_unittest.cc',
[email protected]1b634d02014-07-28 00:26:20290 'shell/in_process_dynamic_service_runner_unittest.cc',
[email protected]fc459f2e2014-06-04 01:02:45291 'shell/shell_test_base.cc',
292 'shell/shell_test_base.h',
[email protected]a10299d2014-06-09 17:24:10293 'shell/shell_test_base_unittest.cc',
[email protected]fc459f2e2014-06-04 01:02:45294 'shell/shell_test_main.cc',
295 ],
[email protected]3b8b8052014-06-18 19:41:34296 'conditions': [
297 ['OS == "android"', {
298 'dependencies': [
299 '../testing/android/native_test.gyp:native_test_native_code',
300 ],
301 }],
302 ],
[email protected]fc459f2e2014-06-04 01:02:45303 },
304 {
[email protected]e9cac98e2014-08-09 20:41:10305 # GN version: //mojo/application_manager
306 'target_name': 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06307 'type': '<(component)',
308 'defines': [
[email protected]e9cac98e2014-08-09 20:41:10309 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION',
[email protected]7e77c0d2014-07-30 22:54:06310 ],
311 'dependencies': [
312 '../base/base.gyp:base',
313 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
314 '../net/net.gyp:net',
315 '../url/url.gyp:url_lib',
[email protected]40e54f82014-08-08 17:16:10316 'mojo_content_handler_bindings',
317 'mojo_network_bindings',
[email protected]e9b17cf2014-07-31 08:58:42318 'mojo_base.gyp:mojo_application_bindings',
[email protected]7e77c0d2014-07-30 22:54:06319 'mojo_base.gyp:mojo_common_lib',
320 'mojo_base.gyp:mojo_environment_chromium',
[email protected]7e77c0d2014-07-30 22:54:06321 '<(mojo_system_for_component)',
322 ],
323 'sources': [
[email protected]e9cac98e2014-08-09 20:41:10324 'application_manager/application_loader.cc',
325 'application_manager/application_loader.h',
326 'application_manager/application_manager.cc',
327 'application_manager/application_manager.h',
328 'application_manager/application_manager_export.h',
329 'application_manager/background_shell_application_loader.cc',
330 'application_manager/background_shell_application_loader.h',
[email protected]7e77c0d2014-07-30 22:54:06331 ],
332 'export_dependent_settings': [
333 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]e9b17cf2014-07-31 08:58:42334 'mojo_base.gyp:mojo_application_bindings',
[email protected]7e77c0d2014-07-30 22:54:06335 ],
336 },
337 {
[email protected]e9cac98e2014-08-09 20:41:10338 'target_name': 'mojo_application_manager_unittests',
[email protected]df47c492014-01-03 22:50:15339 'type': 'executable',
340 'dependencies': [
341 '../base/base.gyp:base',
342 '../testing/gtest.gyp:gtest',
[email protected]5d90df52014-03-27 04:16:00343 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10344 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06345 'mojo_base.gyp:mojo_common_lib',
346 'mojo_base.gyp:mojo_cpp_bindings',
347 'mojo_base.gyp:mojo_environment_chromium',
348 'mojo_base.gyp:mojo_run_all_unittests',
[email protected]8d64cb672014-08-06 23:30:48349 'mojo_base.gyp:mojo_application_chromium',
[email protected]df47c492014-01-03 22:50:15350 ],
[email protected]352ed67c2014-04-04 21:11:21351 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]df47c492014-01-03 22:50:15352 'sources': [
[email protected]e9cac98e2014-08-09 20:41:10353 'application_manager/application_manager_unittest.cc',
354 'application_manager/background_shell_application_loader_unittest.cc',
355 'application_manager/test.mojom',
[email protected]df47c492014-01-03 22:50:15356 ],
357 },
[email protected]f8c8cc12014-03-07 23:48:32358 {
[email protected]8bb00ee62014-07-29 09:26:20359 # GN version: //mojo/cc
[email protected]78ecb7c2014-05-06 22:34:24360 'target_name': 'mojo_cc_support',
361 'type': 'static_library',
362 'dependencies': [
363 '../base/base.gyp:base',
364 '../cc/cc.gyp:cc',
365 '../skia/skia.gyp:skia',
366 '../gpu/gpu.gyp:gles2_implementation',
[email protected]f723adfa2014-08-12 17:06:40367 '<(mojo_gles2_for_loadable_module)',
[email protected]78ecb7c2014-05-06 22:34:24368 ],
369 'sources': [
370 'cc/context_provider_mojo.cc',
371 'cc/context_provider_mojo.h',
372 ],
373 },
[email protected]02657da2013-09-16 02:55:18374 ],
[email protected]786d75c2013-10-24 20:29:35375 'conditions': [
376 ['OS=="android"', {
377 'targets': [
378 {
[email protected]99e508a42013-12-04 01:15:09379 'target_name': 'mojo_native_viewport_java',
[email protected]29ccd8e2013-11-01 16:44:56380 'type': 'none',
381 'dependencies': [
382 '../base/base.gyp:base_java',
383 ],
384 'variables': {
385 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
386 },
387 'includes': [ '../build/java.gypi' ],
388 },
389 {
[email protected]786d75c2013-10-24 20:29:35390 'target_name': 'libmojo_shell',
391 'type': 'shared_library',
392 'dependencies': [
393 '../base/base.gyp:base',
[email protected]adeb6f72013-10-25 08:05:02394 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]570c26d2013-10-30 04:07:46395 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:15396 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]570c26d2013-10-30 04:07:46397 '../ui/gl/gl.gyp:gl',
[email protected]e9b17cf2014-07-31 08:58:42398 'mojo_base.gyp:mojo_application_bindings',
[email protected]7e77c0d2014-07-30 22:54:06399 'mojo_base.gyp:mojo_common_lib',
400 'mojo_base.gyp:mojo_environment_chromium',
401 'mojo_base.gyp:mojo_jni_headers',
[email protected]09d040f2013-12-20 20:44:59402 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35403 ],
404 'sources': [
405 'shell/android/library_loader.cc',
[email protected]adeb6f72013-10-25 08:05:02406 'shell/android/mojo_main.cc',
407 'shell/android/mojo_main.h',
[email protected]786d75c2013-10-24 20:29:35408 ],
409 },
410 {
411 'target_name': 'mojo_shell_apk',
412 'type': 'none',
413 'dependencies': [
414 '../base/base.gyp:base_java',
415 '../net/net.gyp:net_java',
[email protected]99e508a42013-12-04 01:15:09416 'mojo_native_viewport_java',
[email protected]786d75c2013-10-24 20:29:35417 'libmojo_shell',
418 ],
419 'variables': {
420 'apk_name': 'MojoShell',
[email protected]0be9b242013-10-28 06:28:38421 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
422 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
[email protected]786d75c2013-10-24 20:29:35423 'native_lib_target': 'libmojo_shell',
424 },
425 'includes': [ '../build/java_apk.gypi' ],
426 }
427 ],
428 }],
[email protected]8110218d2014-05-01 23:30:06429 ['OS=="linux"', {
430 'targets': [
431 {
432 'target_name': 'mojo_dbus_service',
433 'type': 'static_library',
434 'dependencies': [
435 '../base/base.gyp:base',
436 '../build/linux/system.gyp:dbus',
437 '../dbus/dbus.gyp:dbus',
[email protected]8d64cb672014-08-06 23:30:48438 'mojo_base.gyp:mojo_application_chromium',
[email protected]7e77c0d2014-07-30 22:54:06439 'mojo_base.gyp:mojo_common_lib',
440 'mojo_base.gyp:mojo_system_impl',
[email protected]8110218d2014-05-01 23:30:06441 'mojo_external_service_bindings',
[email protected]8110218d2014-05-01 23:30:06442 ],
443 'sources': [
444 'dbus/dbus_external_service.h',
445 'dbus/dbus_external_service.cc',
446 ],
447 },
448 ],
449 }],
[email protected]78ecb7c2014-05-06 22:34:24450 ['use_aura==1', {
451 'targets': [
452 {
453 'target_name': 'mojo_aura_support',
454 'type': 'static_library',
455 'dependencies': [
456 '../cc/cc.gyp:cc',
457 '../ui/aura/aura.gyp:aura',
[email protected]33bc2bc2014-06-10 17:52:24458 '../ui/compositor/compositor.gyp:compositor',
[email protected]78ecb7c2014-05-06 22:34:24459 '../ui/events/events.gyp:events',
460 '../ui/events/events.gyp:events_base',
[email protected]78ecb7c2014-05-06 22:34:24461 '../ui/gl/gl.gyp:gl',
462 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
463 'mojo_cc_support',
[email protected]78ecb7c2014-05-06 22:34:24464 'mojo_native_viewport_bindings',
[email protected]f723adfa2014-08-12 17:06:40465 '<(mojo_gles2_for_loadable_module)',
[email protected]78ecb7c2014-05-06 22:34:24466 ],
467 'sources': [
[email protected]33bc2bc2014-06-10 17:52:24468 'aura/aura_init.cc',
469 'aura/aura_init.h',
[email protected]69291542014-06-07 08:17:42470 'aura/context_factory_mojo.cc',
471 'aura/context_factory_mojo.h',
[email protected]78ecb7c2014-05-06 22:34:24472 'aura/screen_mojo.cc',
473 'aura/screen_mojo.h',
[email protected]69291542014-06-07 08:17:42474 'aura/window_tree_host_mojo.cc',
475 'aura/window_tree_host_mojo.h',
476 'aura/window_tree_host_mojo_delegate.h',
[email protected]78ecb7c2014-05-06 22:34:24477 ],
478 },
[email protected]33bc2bc2014-06-10 17:52:24479 {
480 'target_name': 'mojo_views_support',
481 'type': 'static_library',
482 'dependencies': [
483 '../base/base.gyp:base',
484 '../base/base.gyp:base_i18n',
485 '../skia/skia.gyp:skia',
486 '../skia/skia.gyp:skia',
487 '../third_party/icu/icu.gyp:icui18n',
488 '../third_party/icu/icu.gyp:icuuc',
489 '../ui/aura/aura.gyp:aura',
490 '../ui/base/ui_base.gyp:ui_base',
491 '../ui/views/views.gyp:views',
492 '../ui/wm/wm.gyp:wm',
493 'mojo_aura_support',
[email protected]30d8e442014-06-24 19:41:07494 'mojo_views_support_internal',
[email protected]33bc2bc2014-06-10 17:52:24495 ],
496 'sources': [
497 'views/native_widget_view_manager.cc',
498 'views/native_widget_view_manager.h',
499 'views/views_init.cc',
500 'views/views_init.h',
501 ],
502 },
[email protected]30d8e442014-06-24 19:41:07503 {
504 'target_name': 'mojo_views_support_internal',
505 'type': '<(component)',
506 'dependencies': [
507 '../base/base.gyp:base',
508 '../base/base.gyp:base_i18n',
509 '../base/base.gyp:base_static',
510 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
511 '../skia/skia.gyp:skia',
512 '../skia/skia.gyp:skia',
513 '../third_party/icu/icu.gyp:icui18n',
514 '../third_party/icu/icu.gyp:icuuc',
515 '../ui/base/ui_base.gyp:ui_base',
516 '../ui/gfx/gfx.gyp:gfx',
517 ],
518 'sources': [
519 'views/mojo_views_export.h',
520 'views/views_init_internal.cc',
521 'views/views_init_internal.h',
522 ],
523 'defines': [
524 'MOJO_VIEWS_IMPLEMENTATION',
525 ],
526 },
[email protected]78ecb7c2014-05-06 22:34:24527 ],
528 }],
[email protected]786d75c2013-10-24 20:29:35529 ],
[email protected]02657da2013-09-16 02:55:18530}