blob: f38a79384186c9f6b717bbe0c6e815edd38cc025 [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]4bf57402014-08-15 14:48:1241 'mojo_native_viewport_service_lib',
[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]47b200542014-08-20 17:42:0252 'mojo_surfaces_child_gl_app',
[email protected]728729d2014-06-30 22:45:5153 'mojo_surfaces_lib',
54 'mojo_surfaces_lib_unittests',
[email protected]412ffac2014-07-13 03:14:2355 'mojo_surfaces_service',
[email protected]8b242f52014-07-02 07:04:1556 'mojo_test_app',
57 'mojo_test_request_tracker_app',
[email protected]9b9ec2f2014-05-07 17:17:1558 'mojo_view_manager_lib',
59 'mojo_view_manager_lib_unittests',
[email protected]dd6ee4502014-06-05 09:27:3060 'mojo_wget',
[email protected]3d58663b2013-09-28 00:30:0461 ],
[email protected]331e4db2014-01-07 21:46:0462 'conditions': [
63 ['use_aura==1', {
64 'dependencies': [
65 'mojo_aura_demo',
[email protected]29db69c72014-06-03 09:16:2666 'mojo_aura_demo_init',
[email protected]33bc2bc2014-06-10 17:52:2467 'mojo_browser',
[email protected]16199f152014-07-17 15:38:5368 'mojo_core_window_manager',
69 'mojo_core_window_manager_unittests',
[email protected]8dbcf0d2014-06-03 05:39:0070 'mojo_demo_launcher',
71 'mojo_embedded_app',
[email protected]1dfdc0b2014-06-25 19:28:3172 'mojo_keyboard',
[email protected]bd089bb2014-06-25 15:07:5673 'mojo_media_viewer',
[email protected]d0e2cfc2014-06-07 04:16:5374 'mojo_nesting_app',
[email protected]8dbcf0d2014-06-03 05:39:0075 'mojo_window_manager',
[email protected]d7c088c62014-07-24 19:01:4776 'mojo_wm_flow_app',
[email protected]177489832014-08-07 22:01:4277 'mojo_wm_flow_embedded',
[email protected]d7c088c62014-07-24 19:01:4778 'mojo_wm_flow_init',
79 'mojo_wm_flow_wm',
[email protected]1fd496142014-01-29 05:16:0280 'mojo_view_manager',
[email protected]36c2077c2014-04-23 22:36:0381 'mojo_view_manager_unittests',
[email protected]331e4db2014-01-07 21:46:0482 ],
83 }],
[email protected]5e1a8322014-05-09 22:35:5184 ['OS == "linux"', {
85 'dependencies': [
86 'mojo_dbus_echo',
87 'mojo_dbus_echo_service',
88 ],
89 }],
[email protected]331e4db2014-01-07 21:46:0490 ]
[email protected]3d58663b2013-09-28 00:30:0491 },
92 {
[email protected]8bb00ee62014-07-29 09:26:2093 # GN version: //mojo/shell:external_service_bindings
[email protected]65eedf72014-04-28 11:53:1694 'target_name': 'mojo_external_service_bindings',
95 'type': 'static_library',
96 'sources': [
97 'shell/external_service.mojom',
98 ],
[email protected]65eedf72014-04-28 11:53:1699 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
100 'export_dependent_settings': [
[email protected]7e77c0d2014-07-30 22:54:06101 'mojo_base.gyp:mojo_cpp_bindings',
[email protected]65eedf72014-04-28 11:53:16102 ],
103 'dependencies': [
[email protected]7e77c0d2014-07-30 22:54:06104 'mojo_base.gyp:mojo_cpp_bindings',
[email protected]3d58663b2013-09-28 00:30:04105 ],
[email protected]02657da2013-09-16 02:55:18106 },
[email protected]6cf6ca52013-10-10 20:52:11107 {
[email protected]e2682412014-04-07 22:04:42108 'target_name': 'mojo_spy',
109 'type': 'static_library',
110 'dependencies': [
111 '../base/base.gyp:base',
112 '../base/base.gyp:base_static',
[email protected]dd6ca972014-04-30 08:07:50113 '../net/net.gyp:http_server',
[email protected]e2682412014-04-07 22:04:42114 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10115 'mojo_application_manager',
[email protected]e2682412014-04-07 22:04:42116 ],
[email protected]1fd1a5242014-07-09 09:07:39117 'variables': {
118 'mojom_base_output_dir': 'mojo',
119 },
120 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]e2682412014-04-07 22:04:42121 'sources': [
[email protected]1fd1a5242014-07-09 09:07:39122 'spy/public/spy.mojom',
[email protected]d15bab42014-07-10 20:27:40123 'spy/common.h',
[email protected]e2682412014-04-07 22:04:42124 'spy/spy.cc',
125 'spy/spy.h',
[email protected]1fd1a5242014-07-09 09:07:39126 'spy/spy_server_impl.h',
127 'spy/spy_server_impl.cc',
[email protected]dd6ca972014-04-30 08:07:50128 'spy/websocket_server.cc',
129 'spy/websocket_server.h',
[email protected]e2682412014-04-07 22:04:42130 ],
131 },
132 {
[email protected]8bb00ee62014-07-29 09:26:20133 # GN version: //mojo/shell:lib
[email protected]786d75c2013-10-24 20:29:35134 'target_name': 'mojo_shell_lib',
135 'type': 'static_library',
[email protected]6cf6ca52013-10-10 20:52:11136 'dependencies': [
137 '../base/base.gyp:base',
[email protected]57d12ab2014-03-14 15:06:55138 '../base/base.gyp:base_static',
[email protected]1124dea02014-04-29 19:31:23139 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]eba6f512013-10-19 00:17:09140 '../net/net.gyp:net',
[email protected]3c448302013-10-22 08:39:08141 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10142 'mojo_application_manager',
[email protected]e9b17cf2014-07-31 08:58:42143 'mojo_base.gyp:mojo_application_bindings',
[email protected]7e77c0d2014-07-30 22:54:06144 'mojo_base.gyp:mojo_common_lib',
[email protected]f723adfa2014-08-12 17:06:40145 'mojo_base.gyp:mojo_gles2_impl',
[email protected]7e77c0d2014-07-30 22:54:06146 'mojo_base.gyp:mojo_system_impl',
[email protected]8d64cb672014-08-06 23:30:48147 'mojo_base.gyp:mojo_application_chromium',
[email protected]65eedf72014-04-28 11:53:16148 'mojo_external_service_bindings',
[email protected]4bf57402014-08-15 14:48:12149 'mojo_native_viewport_service_lib',
[email protected]044a7272014-06-10 16:12:58150 'mojo_network_bindings',
[email protected]e2682412014-04-07 22:04:42151 'mojo_spy',
[email protected]6cf6ca52013-10-10 20:52:11152 ],
[email protected]352ed67c2014-04-04 21:11:21153 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]6cf6ca52013-10-10 20:52:11154 'sources': [
[email protected]4e559292014-03-18 00:05:15155 'shell/app_child_process.cc',
156 'shell/app_child_process.h',
[email protected]5dcd57c32014-03-20 17:37:19157 'shell/app_child_process.mojom',
[email protected]4e559292014-03-18 00:05:15158 'shell/app_child_process_host.cc',
159 'shell/app_child_process_host.h',
[email protected]57d12ab2014-03-14 15:06:55160 'shell/child_process.cc',
161 'shell/child_process.h',
162 'shell/child_process_host.cc',
163 'shell/child_process_host.h',
[email protected]6e50d5e42013-10-27 02:45:46164 'shell/context.cc',
165 'shell/context.h',
[email protected]e9cac98e2014-08-09 20:41:10166 'shell/dbus_application_loader_linux.cc',
167 'shell/dbus_application_loader_linux.h',
168 'shell/dynamic_application_loader.cc',
169 'shell/dynamic_application_loader.h',
[email protected]e01f3a02014-03-15 00:57:43170 'shell/dynamic_service_runner.h',
[email protected]40932702013-11-20 22:29:30171 'shell/init.cc',
172 'shell/init.h',
[email protected]e01f3a02014-03-15 00:57:43173 'shell/in_process_dynamic_service_runner.cc',
174 'shell/in_process_dynamic_service_runner.h',
[email protected]dcd9a9cd2014-02-03 09:15:41175 'shell/keep_alive.cc',
176 'shell/keep_alive.h',
[email protected]044a7272014-06-10 16:12:58177 'shell/mojo_url_resolver.cc',
178 'shell/mojo_url_resolver.h',
[email protected]4e559292014-03-18 00:05:15179 'shell/out_of_process_dynamic_service_runner.cc',
180 'shell/out_of_process_dynamic_service_runner.h',
[email protected]adeb6f72013-10-25 08:05:02181 'shell/run.cc',
182 'shell/run.h',
[email protected]6cf6ca52013-10-10 20:52:11183 'shell/switches.cc',
184 'shell/switches.h',
[email protected]eba6f512013-10-19 00:17:09185 'shell/task_runners.cc',
186 'shell/task_runners.h',
[email protected]57d12ab2014-03-14 15:06:55187 'shell/test_child_process.cc',
188 'shell/test_child_process.h',
[email protected]e9cac98e2014-08-09 20:41:10189 'shell/ui_application_loader_android.cc',
190 'shell/ui_application_loader_android.h',
[email protected]08f1c5972014-05-09 16:26:06191 'shell/view_manager_loader.cc',
192 'shell/view_manager_loader.h',
[email protected]6cf6ca52013-10-10 20:52:11193 ],
[email protected]65eedf72014-04-28 11:53:16194 'conditions': [
195 ['OS=="linux"', {
196 'dependencies': [
197 '../build/linux/system.gyp:dbus',
198 '../dbus/dbus.gyp:dbus',
199 ],
200 }],
[email protected]2d6f7dde2014-07-17 09:51:33201 ['OS=="android"', {
202 'dependencies': [
203 'mojo_network_service_lib',
204 ],
205 'sources': [
[email protected]e9cac98e2014-08-09 20:41:10206 'shell/network_application_loader.cc',
207 'shell/network_application_loader.h',
[email protected]2d6f7dde2014-07-17 09:51:33208 ],
209 }],
[email protected]1124dea02014-04-29 19:31:23210 ['use_aura==1', {
211 'dependencies': [
212 # These are only necessary as long as we hard code use of ViewManager.
213 '../skia/skia.gyp:skia',
[email protected]1124dea02014-04-29 19:31:23214 'mojo_view_manager',
[email protected]5e1a8322014-05-09 22:35:51215 'mojo_view_manager_bindings',
[email protected]1124dea02014-04-29 19:31:23216 ],
[email protected]08f1c5972014-05-09 16:26:06217 }, { # use_aura==0
218 'sources!': [
219 'shell/view_manager_loader.cc',
220 'shell/view_manager_loader.h',
221 ],
[email protected]1124dea02014-04-29 19:31:23222 }],
223 ],
224 },
225 {
[email protected]13ce0872014-08-22 10:28:30226 # GN version: //mojo/shell:test_support
[email protected]1124dea02014-04-29 19:31:23227 'target_name': 'mojo_shell_test_support',
228 'type': 'static_library',
229 'dependencies': [
230 '../base/base.gyp:base',
231 '../base/base.gyp:base_static',
232 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10233 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06234 'mojo_base.gyp:mojo_system_impl',
[email protected]1124dea02014-04-29 19:31:23235 'mojo_shell_lib',
[email protected]1124dea02014-04-29 19:31:23236 ],
237 'sources': [
238 'shell/shell_test_helper.cc',
239 'shell/shell_test_helper.h',
[email protected]65eedf72014-04-28 11:53:16240 ],
[email protected]6cf6ca52013-10-10 20:52:11241 },
242 {
[email protected]8bb00ee62014-07-29 09:26:20243 # GN version: //mojo/shell
[email protected]786d75c2013-10-24 20:29:35244 'target_name': 'mojo_shell',
245 'type': 'executable',
246 'dependencies': [
247 '../base/base.gyp:base',
[email protected]42368392013-11-05 13:45:02248 '../ui/gl/gl.gyp:gl',
[email protected]786d75c2013-10-24 20:29:35249 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10250 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06251 'mojo_base.gyp:mojo_common_lib',
252 'mojo_base.gyp:mojo_environment_chromium',
253 'mojo_base.gyp:mojo_system_impl',
[email protected]786d75c2013-10-24 20:29:35254 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35255 ],
[email protected]c2dec542014-06-27 22:45:00256 'conditions': [
257 ['use_ozone==1', {
258 'dependencies': [
259 '../ui/ozone/ozone.gyp:ozone',
260 ],
261 }],
262 ],
[email protected]786d75c2013-10-24 20:29:35263 'sources': [
[email protected]adeb6f72013-10-25 08:05:02264 'shell/desktop/mojo_main.cc',
[email protected]786d75c2013-10-24 20:29:35265 ],
[email protected]786d75c2013-10-24 20:29:35266 },
[email protected]df47c492014-01-03 22:50:15267 {
[email protected]b1867c92014-08-13 00:22:04268 # GN version: //mojo/shell:mojo_shell_tests
[email protected]fc459f2e2014-06-04 01:02:45269 'target_name': 'mojo_shell_tests',
[email protected]3b8b8052014-06-18 19:41:34270 'type': '<(gtest_target_type)',
[email protected]fc459f2e2014-06-04 01:02:45271 'dependencies': [
272 '../base/base.gyp:base',
[email protected]8b242f52014-07-02 07:04:15273 '../base/base.gyp:base_i18n',
[email protected]fc459f2e2014-06-04 01:02:45274 '../base/base.gyp:test_support_base',
275 '../testing/gtest.gyp:gtest',
[email protected]3f2ec4482014-07-24 22:38:51276 '../net/net.gyp:net_test_support',
[email protected]fc459f2e2014-06-04 01:02:45277 # TODO(vtl): We don't currently need this, but I imagine we will soon.
278 # '../ui/gl/gl.gyp:gl',
279 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10280 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06281 'mojo_base.gyp:mojo_common_lib',
282 'mojo_base.gyp:mojo_environment_chromium',
283 'mojo_base.gyp:mojo_system_impl',
[email protected]fc459f2e2014-06-04 01:02:45284 'mojo_shell_lib',
[email protected]8b242f52014-07-02 07:04:15285 'mojo_test_app',
286 'mojo_test_request_tracker_app',
[email protected]a10299d2014-06-09 17:24:10287 'mojo_test_service_bindings',
[email protected]fc459f2e2014-06-04 01:02:45288 ],
289 'sources': [
290 'shell/child_process_host_unittest.cc',
[email protected]e9cac98e2014-08-09 20:41:10291 'shell/dynamic_application_loader_unittest.cc',
[email protected]1b634d02014-07-28 00:26:20292 'shell/in_process_dynamic_service_runner_unittest.cc',
[email protected]fc459f2e2014-06-04 01:02:45293 'shell/shell_test_base.cc',
294 'shell/shell_test_base.h',
[email protected]a10299d2014-06-09 17:24:10295 'shell/shell_test_base_unittest.cc',
[email protected]fc459f2e2014-06-04 01:02:45296 'shell/shell_test_main.cc',
297 ],
[email protected]3b8b8052014-06-18 19:41:34298 'conditions': [
299 ['OS == "android"', {
300 'dependencies': [
301 '../testing/android/native_test.gyp:native_test_native_code',
302 ],
303 }],
304 ],
[email protected]fc459f2e2014-06-04 01:02:45305 },
306 {
[email protected]e9cac98e2014-08-09 20:41:10307 # GN version: //mojo/application_manager
308 'target_name': 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06309 'type': '<(component)',
310 'defines': [
[email protected]e9cac98e2014-08-09 20:41:10311 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION',
[email protected]7e77c0d2014-07-30 22:54:06312 ],
313 'dependencies': [
314 '../base/base.gyp:base',
315 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
316 '../net/net.gyp:net',
317 '../url/url.gyp:url_lib',
[email protected]40e54f82014-08-08 17:16:10318 'mojo_content_handler_bindings',
319 'mojo_network_bindings',
[email protected]e9b17cf2014-07-31 08:58:42320 'mojo_base.gyp:mojo_application_bindings',
[email protected]7e77c0d2014-07-30 22:54:06321 'mojo_base.gyp:mojo_common_lib',
322 'mojo_base.gyp:mojo_environment_chromium',
[email protected]7e77c0d2014-07-30 22:54:06323 '<(mojo_system_for_component)',
324 ],
325 'sources': [
[email protected]e9cac98e2014-08-09 20:41:10326 'application_manager/application_loader.cc',
327 'application_manager/application_loader.h',
328 'application_manager/application_manager.cc',
329 'application_manager/application_manager.h',
330 'application_manager/application_manager_export.h',
331 'application_manager/background_shell_application_loader.cc',
332 'application_manager/background_shell_application_loader.h',
[email protected]7e77c0d2014-07-30 22:54:06333 ],
334 'export_dependent_settings': [
335 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]e9b17cf2014-07-31 08:58:42336 'mojo_base.gyp:mojo_application_bindings',
[email protected]8f48e07c2014-08-22 00:39:14337 'mojo_network_bindings',
[email protected]7e77c0d2014-07-30 22:54:06338 ],
339 },
340 {
[email protected]22166212014-08-21 08:35:34341 # GN version: //mojo/application_manager:unittests
[email protected]e9cac98e2014-08-09 20:41:10342 'target_name': 'mojo_application_manager_unittests',
[email protected]df47c492014-01-03 22:50:15343 'type': 'executable',
344 'dependencies': [
345 '../base/base.gyp:base',
346 '../testing/gtest.gyp:gtest',
[email protected]5d90df52014-03-27 04:16:00347 '../url/url.gyp:url_lib',
[email protected]e9cac98e2014-08-09 20:41:10348 'mojo_application_manager',
[email protected]7e77c0d2014-07-30 22:54:06349 'mojo_base.gyp:mojo_common_lib',
350 'mojo_base.gyp:mojo_cpp_bindings',
351 'mojo_base.gyp:mojo_environment_chromium',
352 'mojo_base.gyp:mojo_run_all_unittests',
[email protected]8d64cb672014-08-06 23:30:48353 'mojo_base.gyp:mojo_application_chromium',
[email protected]df47c492014-01-03 22:50:15354 ],
[email protected]352ed67c2014-04-04 21:11:21355 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
[email protected]df47c492014-01-03 22:50:15356 'sources': [
[email protected]e9cac98e2014-08-09 20:41:10357 'application_manager/application_manager_unittest.cc',
358 'application_manager/background_shell_application_loader_unittest.cc',
359 'application_manager/test.mojom',
[email protected]df47c492014-01-03 22:50:15360 ],
361 },
[email protected]f8c8cc12014-03-07 23:48:32362 {
[email protected]8bb00ee62014-07-29 09:26:20363 # GN version: //mojo/cc
[email protected]78ecb7c2014-05-06 22:34:24364 'target_name': 'mojo_cc_support',
365 'type': 'static_library',
366 'dependencies': [
367 '../base/base.gyp:base',
368 '../cc/cc.gyp:cc',
369 '../skia/skia.gyp:skia',
370 '../gpu/gpu.gyp:gles2_implementation',
[email protected]f723adfa2014-08-12 17:06:40371 '<(mojo_gles2_for_loadable_module)',
[email protected]78ecb7c2014-05-06 22:34:24372 ],
373 'sources': [
374 'cc/context_provider_mojo.cc',
375 'cc/context_provider_mojo.h',
376 ],
377 },
[email protected]02657da2013-09-16 02:55:18378 ],
[email protected]786d75c2013-10-24 20:29:35379 'conditions': [
380 ['OS=="android"', {
381 'targets': [
382 {
[email protected]99e508a42013-12-04 01:15:09383 'target_name': 'mojo_native_viewport_java',
[email protected]29ccd8e2013-11-01 16:44:56384 'type': 'none',
385 'dependencies': [
386 '../base/base.gyp:base_java',
387 ],
388 'variables': {
389 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android',
390 },
391 'includes': [ '../build/java.gypi' ],
392 },
393 {
[email protected]786d75c2013-10-24 20:29:35394 'target_name': 'libmojo_shell',
395 'type': 'shared_library',
396 'dependencies': [
397 '../base/base.gyp:base',
[email protected]adeb6f72013-10-25 08:05:02398 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]570c26d2013-10-30 04:07:46399 '../ui/gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:15400 '../ui/gfx/gfx.gyp:gfx_geometry',
[email protected]570c26d2013-10-30 04:07:46401 '../ui/gl/gl.gyp:gl',
[email protected]e9b17cf2014-07-31 08:58:42402 'mojo_base.gyp:mojo_application_bindings',
[email protected]7e77c0d2014-07-30 22:54:06403 'mojo_base.gyp:mojo_common_lib',
404 'mojo_base.gyp:mojo_environment_chromium',
405 'mojo_base.gyp:mojo_jni_headers',
[email protected]09d040f2013-12-20 20:44:59406 'mojo_shell_lib',
[email protected]786d75c2013-10-24 20:29:35407 ],
408 'sources': [
409 'shell/android/library_loader.cc',
[email protected]adeb6f72013-10-25 08:05:02410 'shell/android/mojo_main.cc',
411 'shell/android/mojo_main.h',
[email protected]786d75c2013-10-24 20:29:35412 ],
413 },
414 {
415 'target_name': 'mojo_shell_apk',
416 'type': 'none',
417 'dependencies': [
418 '../base/base.gyp:base_java',
419 '../net/net.gyp:net_java',
[email protected]99e508a42013-12-04 01:15:09420 'mojo_native_viewport_java',
[email protected]786d75c2013-10-24 20:29:35421 'libmojo_shell',
422 ],
423 'variables': {
424 'apk_name': 'MojoShell',
[email protected]0be9b242013-10-28 06:28:38425 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
426 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
[email protected]786d75c2013-10-24 20:29:35427 'native_lib_target': 'libmojo_shell',
428 },
429 'includes': [ '../build/java_apk.gypi' ],
430 }
431 ],
432 }],
[email protected]8110218d2014-05-01 23:30:06433 ['OS=="linux"', {
434 'targets': [
435 {
436 'target_name': 'mojo_dbus_service',
437 'type': 'static_library',
438 'dependencies': [
439 '../base/base.gyp:base',
440 '../build/linux/system.gyp:dbus',
441 '../dbus/dbus.gyp:dbus',
[email protected]8d64cb672014-08-06 23:30:48442 'mojo_base.gyp:mojo_application_chromium',
[email protected]7e77c0d2014-07-30 22:54:06443 'mojo_base.gyp:mojo_common_lib',
444 'mojo_base.gyp:mojo_system_impl',
[email protected]8110218d2014-05-01 23:30:06445 'mojo_external_service_bindings',
[email protected]8110218d2014-05-01 23:30:06446 ],
447 'sources': [
448 'dbus/dbus_external_service.h',
449 'dbus/dbus_external_service.cc',
450 ],
451 },
452 ],
453 }],
[email protected]78ecb7c2014-05-06 22:34:24454 ['use_aura==1', {
455 'targets': [
456 {
[email protected]13ce0872014-08-22 10:28:30457 # GN version: //mojo/aura
[email protected]78ecb7c2014-05-06 22:34:24458 'target_name': 'mojo_aura_support',
459 'type': 'static_library',
460 'dependencies': [
461 '../cc/cc.gyp:cc',
462 '../ui/aura/aura.gyp:aura',
[email protected]33bc2bc2014-06-10 17:52:24463 '../ui/compositor/compositor.gyp:compositor',
[email protected]78ecb7c2014-05-06 22:34:24464 '../ui/events/events.gyp:events',
465 '../ui/events/events.gyp:events_base',
[email protected]78ecb7c2014-05-06 22:34:24466 '../ui/gl/gl.gyp:gl',
467 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
468 'mojo_cc_support',
[email protected]78ecb7c2014-05-06 22:34:24469 'mojo_native_viewport_bindings',
[email protected]f723adfa2014-08-12 17:06:40470 '<(mojo_gles2_for_loadable_module)',
[email protected]78ecb7c2014-05-06 22:34:24471 ],
472 'sources': [
[email protected]33bc2bc2014-06-10 17:52:24473 'aura/aura_init.cc',
474 'aura/aura_init.h',
[email protected]69291542014-06-07 08:17:42475 'aura/context_factory_mojo.cc',
476 'aura/context_factory_mojo.h',
[email protected]78ecb7c2014-05-06 22:34:24477 'aura/screen_mojo.cc',
478 'aura/screen_mojo.h',
[email protected]69291542014-06-07 08:17:42479 'aura/window_tree_host_mojo.cc',
480 'aura/window_tree_host_mojo.h',
481 'aura/window_tree_host_mojo_delegate.h',
[email protected]78ecb7c2014-05-06 22:34:24482 ],
483 },
[email protected]33bc2bc2014-06-10 17:52:24484 {
485 'target_name': 'mojo_views_support',
486 'type': 'static_library',
487 'dependencies': [
488 '../base/base.gyp:base',
489 '../base/base.gyp:base_i18n',
490 '../skia/skia.gyp:skia',
491 '../skia/skia.gyp:skia',
492 '../third_party/icu/icu.gyp:icui18n',
493 '../third_party/icu/icu.gyp:icuuc',
494 '../ui/aura/aura.gyp:aura',
495 '../ui/base/ui_base.gyp:ui_base',
496 '../ui/views/views.gyp:views',
497 '../ui/wm/wm.gyp:wm',
498 'mojo_aura_support',
[email protected]30d8e442014-06-24 19:41:07499 'mojo_views_support_internal',
[email protected]33bc2bc2014-06-10 17:52:24500 ],
501 'sources': [
502 'views/native_widget_view_manager.cc',
503 'views/native_widget_view_manager.h',
504 'views/views_init.cc',
505 'views/views_init.h',
506 ],
507 },
[email protected]30d8e442014-06-24 19:41:07508 {
509 'target_name': 'mojo_views_support_internal',
510 'type': '<(component)',
511 'dependencies': [
512 '../base/base.gyp:base',
513 '../base/base.gyp:base_i18n',
514 '../base/base.gyp:base_static',
515 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
516 '../skia/skia.gyp:skia',
517 '../skia/skia.gyp:skia',
518 '../third_party/icu/icu.gyp:icui18n',
519 '../third_party/icu/icu.gyp:icuuc',
520 '../ui/base/ui_base.gyp:ui_base',
521 '../ui/gfx/gfx.gyp:gfx',
522 ],
523 'sources': [
524 'views/mojo_views_export.h',
525 'views/views_init_internal.cc',
526 'views/views_init_internal.h',
527 ],
528 'defines': [
529 'MOJO_VIEWS_IMPLEMENTATION',
530 ],
531 },
[email protected]78ecb7c2014-05-06 22:34:24532 ],
533 }],
[email protected]786d75c2013-10-24 20:29:35534 ],
[email protected]02657da2013-09-16 02:55:18535}