[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 1 | # 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] | f0234305 | 2014-01-14 14:43:56 | [diff] [blame] | 6 | '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] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 16 | 'includes': [ |
[email protected] | de3d0b0 | 2013-12-03 23:18:25 | [diff] [blame] | 17 | 'mojo_apps.gypi', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 18 | 'mojo_examples.gypi', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 19 | 'mojo_services.gypi', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 20 | 'mojo_variables.gypi', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 21 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 22 | 'targets': [ |
| 23 | { |
| 24 | 'target_name': 'mojo', |
| 25 | 'type': 'none', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 26 | 'dependencies': [ |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 27 | 'mojo_application_manager', |
| 28 | 'mojo_application_manager_unittests', |
[email protected] | 8de5246 | 2014-03-11 15:48:39 | [diff] [blame] | 29 | 'mojo_apps_js_unittests', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 30 | 'mojo_base.gyp:mojo_base', |
[email protected] | 4b1172e | 2014-01-15 22:26:31 | [diff] [blame] | 31 | 'mojo_compositor_app', |
[email protected] | 40e54f8 | 2014-08-08 17:16:10 | [diff] [blame] | 32 | 'mojo_content_handler_demo', |
[email protected] | d779626 | 2014-07-29 08:12:35 | [diff] [blame] | 33 | 'mojo_echo_client', |
| 34 | 'mojo_echo_service', |
[email protected] | 39ebdbb | 2014-08-08 08:14:09 | [diff] [blame] | 35 | 'mojo_example_apptests', |
| 36 | 'mojo_example_service', |
[email protected] | 7eb25d9 | 2014-05-21 19:07:40 | [diff] [blame] | 37 | 'mojo_geometry_lib', |
[email protected] | 0d388725 | 2014-06-13 02:31:47 | [diff] [blame] | 38 | 'mojo_html_viewer', |
[email protected] | 9383074 | 2013-11-08 12:17:24 | [diff] [blame] | 39 | 'mojo_js', |
[email protected] | 0d388725 | 2014-06-13 02:31:47 | [diff] [blame] | 40 | 'mojo_launcher', |
[email protected] | 4bf5740 | 2014-08-15 14:48:12 | [diff] [blame] | 41 | 'mojo_native_viewport_service_lib', |
[email protected] | dd6ee450 | 2014-06-05 09:27:30 | [diff] [blame] | 42 | 'mojo_network_service', |
[email protected] | 6bcc45b | 2014-03-22 04:11:12 | [diff] [blame] | 43 | 'mojo_pepper_container_app', |
[email protected] | bd089bb | 2014-06-25 15:07:56 | [diff] [blame] | 44 | 'mojo_png_viewer', |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 45 | 'mojo_sample_app', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 46 | 'mojo_shell', |
| 47 | 'mojo_shell_lib', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 48 | 'mojo_shell_tests', |
[email protected] | 412ffac | 2014-07-13 03:14:23 | [diff] [blame] | 49 | 'mojo_surfaces_app', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 50 | 'mojo_surfaces_app', |
[email protected] | 412ffac | 2014-07-13 03:14:23 | [diff] [blame] | 51 | 'mojo_surfaces_child_app', |
[email protected] | 47b20054 | 2014-08-20 17:42:02 | [diff] [blame] | 52 | 'mojo_surfaces_child_gl_app', |
[email protected] | 728729d | 2014-06-30 22:45:51 | [diff] [blame] | 53 | 'mojo_surfaces_lib', |
| 54 | 'mojo_surfaces_lib_unittests', |
[email protected] | 412ffac | 2014-07-13 03:14:23 | [diff] [blame] | 55 | 'mojo_surfaces_service', |
[email protected] | 8b242f5 | 2014-07-02 07:04:15 | [diff] [blame] | 56 | 'mojo_test_app', |
| 57 | 'mojo_test_request_tracker_app', |
[email protected] | 9b9ec2f | 2014-05-07 17:17:15 | [diff] [blame] | 58 | 'mojo_view_manager_lib', |
| 59 | 'mojo_view_manager_lib_unittests', |
[email protected] | dd6ee450 | 2014-06-05 09:27:30 | [diff] [blame] | 60 | 'mojo_wget', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 61 | ], |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 62 | 'conditions': [ |
| 63 | ['use_aura==1', { |
| 64 | 'dependencies': [ |
| 65 | 'mojo_aura_demo', |
[email protected] | 29db69c7 | 2014-06-03 09:16:26 | [diff] [blame] | 66 | 'mojo_aura_demo_init', |
[email protected] | 33bc2bc | 2014-06-10 17:52:24 | [diff] [blame] | 67 | 'mojo_browser', |
[email protected] | 16199f15 | 2014-07-17 15:38:53 | [diff] [blame] | 68 | 'mojo_core_window_manager', |
| 69 | 'mojo_core_window_manager_unittests', |
[email protected] | 8dbcf0d | 2014-06-03 05:39:00 | [diff] [blame] | 70 | 'mojo_demo_launcher', |
| 71 | 'mojo_embedded_app', |
[email protected] | 1dfdc0b | 2014-06-25 19:28:31 | [diff] [blame] | 72 | 'mojo_keyboard', |
[email protected] | bd089bb | 2014-06-25 15:07:56 | [diff] [blame] | 73 | 'mojo_media_viewer', |
[email protected] | d0e2cfc | 2014-06-07 04:16:53 | [diff] [blame] | 74 | 'mojo_nesting_app', |
[email protected] | 8dbcf0d | 2014-06-03 05:39:00 | [diff] [blame] | 75 | 'mojo_window_manager', |
[email protected] | d7c088c6 | 2014-07-24 19:01:47 | [diff] [blame] | 76 | 'mojo_wm_flow_app', |
[email protected] | 17748983 | 2014-08-07 22:01:42 | [diff] [blame] | 77 | 'mojo_wm_flow_embedded', |
[email protected] | d7c088c6 | 2014-07-24 19:01:47 | [diff] [blame] | 78 | 'mojo_wm_flow_init', |
| 79 | 'mojo_wm_flow_wm', |
[email protected] | 1fd49614 | 2014-01-29 05:16:02 | [diff] [blame] | 80 | 'mojo_view_manager', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 81 | 'mojo_view_manager_unittests', |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 82 | ], |
| 83 | }], |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 84 | ['OS == "linux"', { |
| 85 | 'dependencies': [ |
| 86 | 'mojo_dbus_echo', |
| 87 | 'mojo_dbus_echo_service', |
| 88 | ], |
| 89 | }], |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 90 | ] |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 91 | }, |
| 92 | { |
[email protected] | 8bb00ee6 | 2014-07-29 09:26:20 | [diff] [blame] | 93 | # GN version: //mojo/shell:external_service_bindings |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 94 | 'target_name': 'mojo_external_service_bindings', |
| 95 | 'type': 'static_library', |
| 96 | 'sources': [ |
| 97 | 'shell/external_service.mojom', |
| 98 | ], |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 99 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 100 | 'export_dependent_settings': [ |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 101 | 'mojo_base.gyp:mojo_cpp_bindings', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 102 | ], |
| 103 | 'dependencies': [ |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 104 | 'mojo_base.gyp:mojo_cpp_bindings', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 105 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 106 | }, |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 107 | { |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 108 | 'target_name': 'mojo_spy', |
| 109 | 'type': 'static_library', |
| 110 | 'dependencies': [ |
| 111 | '../base/base.gyp:base', |
| 112 | '../base/base.gyp:base_static', |
[email protected] | dd6ca97 | 2014-04-30 08:07:50 | [diff] [blame] | 113 | '../net/net.gyp:http_server', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 114 | '../url/url.gyp:url_lib', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 115 | 'mojo_application_manager', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 116 | ], |
[email protected] | 1fd1a524 | 2014-07-09 09:07:39 | [diff] [blame] | 117 | 'variables': { |
| 118 | 'mojom_base_output_dir': 'mojo', |
| 119 | }, |
| 120 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 121 | 'sources': [ |
[email protected] | 1fd1a524 | 2014-07-09 09:07:39 | [diff] [blame] | 122 | 'spy/public/spy.mojom', |
[email protected] | d15bab4 | 2014-07-10 20:27:40 | [diff] [blame] | 123 | 'spy/common.h', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 124 | 'spy/spy.cc', |
| 125 | 'spy/spy.h', |
[email protected] | 1fd1a524 | 2014-07-09 09:07:39 | [diff] [blame] | 126 | 'spy/spy_server_impl.h', |
| 127 | 'spy/spy_server_impl.cc', |
[email protected] | dd6ca97 | 2014-04-30 08:07:50 | [diff] [blame] | 128 | 'spy/websocket_server.cc', |
| 129 | 'spy/websocket_server.h', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 130 | ], |
| 131 | }, |
| 132 | { |
[email protected] | 8bb00ee6 | 2014-07-29 09:26:20 | [diff] [blame] | 133 | # GN version: //mojo/shell:lib |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 134 | 'target_name': 'mojo_shell_lib', |
| 135 | 'type': 'static_library', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 136 | 'dependencies': [ |
| 137 | '../base/base.gyp:base', |
[email protected] | 57d12ab | 2014-03-14 15:06:55 | [diff] [blame] | 138 | '../base/base.gyp:base_static', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 139 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 140 | '../net/net.gyp:net', |
[email protected] | 3c44830 | 2013-10-22 08:39:08 | [diff] [blame] | 141 | '../url/url.gyp:url_lib', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 142 | 'mojo_application_manager', |
[email protected] | e9b17cf | 2014-07-31 08:58:42 | [diff] [blame] | 143 | 'mojo_base.gyp:mojo_application_bindings', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 144 | 'mojo_base.gyp:mojo_common_lib', |
[email protected] | f723adfa | 2014-08-12 17:06:40 | [diff] [blame] | 145 | 'mojo_base.gyp:mojo_gles2_impl', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 146 | 'mojo_base.gyp:mojo_system_impl', |
[email protected] | 8d64cb67 | 2014-08-06 23:30:48 | [diff] [blame] | 147 | 'mojo_base.gyp:mojo_application_chromium', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 148 | 'mojo_external_service_bindings', |
[email protected] | 4bf5740 | 2014-08-15 14:48:12 | [diff] [blame] | 149 | 'mojo_native_viewport_service_lib', |
[email protected] | 044a727 | 2014-06-10 16:12:58 | [diff] [blame] | 150 | 'mojo_network_bindings', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 151 | 'mojo_spy', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 152 | ], |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 153 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 154 | 'sources': [ |
[email protected] | 4e55929 | 2014-03-18 00:05:15 | [diff] [blame] | 155 | 'shell/app_child_process.cc', |
| 156 | 'shell/app_child_process.h', |
[email protected] | 5dcd57c3 | 2014-03-20 17:37:19 | [diff] [blame] | 157 | 'shell/app_child_process.mojom', |
[email protected] | 4e55929 | 2014-03-18 00:05:15 | [diff] [blame] | 158 | 'shell/app_child_process_host.cc', |
| 159 | 'shell/app_child_process_host.h', |
[email protected] | 57d12ab | 2014-03-14 15:06:55 | [diff] [blame] | 160 | 'shell/child_process.cc', |
| 161 | 'shell/child_process.h', |
| 162 | 'shell/child_process_host.cc', |
| 163 | 'shell/child_process_host.h', |
[email protected] | 6e50d5e4 | 2013-10-27 02:45:46 | [diff] [blame] | 164 | 'shell/context.cc', |
| 165 | 'shell/context.h', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 166 | '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] | e01f3a0 | 2014-03-15 00:57:43 | [diff] [blame] | 170 | 'shell/dynamic_service_runner.h', |
[email protected] | 4093270 | 2013-11-20 22:29:30 | [diff] [blame] | 171 | 'shell/init.cc', |
| 172 | 'shell/init.h', |
[email protected] | e01f3a0 | 2014-03-15 00:57:43 | [diff] [blame] | 173 | 'shell/in_process_dynamic_service_runner.cc', |
| 174 | 'shell/in_process_dynamic_service_runner.h', |
[email protected] | dcd9a9cd | 2014-02-03 09:15:41 | [diff] [blame] | 175 | 'shell/keep_alive.cc', |
| 176 | 'shell/keep_alive.h', |
[email protected] | 044a727 | 2014-06-10 16:12:58 | [diff] [blame] | 177 | 'shell/mojo_url_resolver.cc', |
| 178 | 'shell/mojo_url_resolver.h', |
[email protected] | 4e55929 | 2014-03-18 00:05:15 | [diff] [blame] | 179 | 'shell/out_of_process_dynamic_service_runner.cc', |
| 180 | 'shell/out_of_process_dynamic_service_runner.h', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 181 | 'shell/run.cc', |
| 182 | 'shell/run.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 183 | 'shell/switches.cc', |
| 184 | 'shell/switches.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 185 | 'shell/task_runners.cc', |
| 186 | 'shell/task_runners.h', |
[email protected] | 57d12ab | 2014-03-14 15:06:55 | [diff] [blame] | 187 | 'shell/test_child_process.cc', |
| 188 | 'shell/test_child_process.h', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 189 | 'shell/ui_application_loader_android.cc', |
| 190 | 'shell/ui_application_loader_android.h', |
[email protected] | 08f1c597 | 2014-05-09 16:26:06 | [diff] [blame] | 191 | 'shell/view_manager_loader.cc', |
| 192 | 'shell/view_manager_loader.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 193 | ], |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 194 | 'conditions': [ |
| 195 | ['OS=="linux"', { |
| 196 | 'dependencies': [ |
| 197 | '../build/linux/system.gyp:dbus', |
| 198 | '../dbus/dbus.gyp:dbus', |
| 199 | ], |
| 200 | }], |
[email protected] | 2d6f7dde | 2014-07-17 09:51:33 | [diff] [blame] | 201 | ['OS=="android"', { |
| 202 | 'dependencies': [ |
| 203 | 'mojo_network_service_lib', |
| 204 | ], |
| 205 | 'sources': [ |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 206 | 'shell/network_application_loader.cc', |
| 207 | 'shell/network_application_loader.h', |
[email protected] | 2d6f7dde | 2014-07-17 09:51:33 | [diff] [blame] | 208 | ], |
| 209 | }], |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 210 | ['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] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 214 | 'mojo_view_manager', |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 215 | 'mojo_view_manager_bindings', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 216 | ], |
[email protected] | 08f1c597 | 2014-05-09 16:26:06 | [diff] [blame] | 217 | }, { # use_aura==0 |
| 218 | 'sources!': [ |
| 219 | 'shell/view_manager_loader.cc', |
| 220 | 'shell/view_manager_loader.h', |
| 221 | ], |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 222 | }], |
| 223 | ], |
| 224 | }, |
| 225 | { |
[email protected] | 13ce087 | 2014-08-22 10:28:30 | [diff] [blame] | 226 | # GN version: //mojo/shell:test_support |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 227 | '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] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 233 | 'mojo_application_manager', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 234 | 'mojo_base.gyp:mojo_system_impl', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 235 | 'mojo_shell_lib', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 236 | ], |
| 237 | 'sources': [ |
| 238 | 'shell/shell_test_helper.cc', |
| 239 | 'shell/shell_test_helper.h', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 240 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 241 | }, |
| 242 | { |
[email protected] | 8bb00ee6 | 2014-07-29 09:26:20 | [diff] [blame] | 243 | # GN version: //mojo/shell |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 244 | 'target_name': 'mojo_shell', |
| 245 | 'type': 'executable', |
| 246 | 'dependencies': [ |
| 247 | '../base/base.gyp:base', |
[email protected] | 4236839 | 2013-11-05 13:45:02 | [diff] [blame] | 248 | '../ui/gl/gl.gyp:gl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 249 | '../url/url.gyp:url_lib', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 250 | 'mojo_application_manager', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 251 | 'mojo_base.gyp:mojo_common_lib', |
| 252 | 'mojo_base.gyp:mojo_environment_chromium', |
| 253 | 'mojo_base.gyp:mojo_system_impl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 254 | 'mojo_shell_lib', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 255 | ], |
[email protected] | c2dec54 | 2014-06-27 22:45:00 | [diff] [blame] | 256 | 'conditions': [ |
| 257 | ['use_ozone==1', { |
| 258 | 'dependencies': [ |
| 259 | '../ui/ozone/ozone.gyp:ozone', |
| 260 | ], |
| 261 | }], |
| 262 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 263 | 'sources': [ |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 264 | 'shell/desktop/mojo_main.cc', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 265 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 266 | }, |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 267 | { |
[email protected] | b1867c9 | 2014-08-13 00:22:04 | [diff] [blame] | 268 | # GN version: //mojo/shell:mojo_shell_tests |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 269 | 'target_name': 'mojo_shell_tests', |
[email protected] | 3b8b805 | 2014-06-18 19:41:34 | [diff] [blame] | 270 | 'type': '<(gtest_target_type)', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 271 | 'dependencies': [ |
| 272 | '../base/base.gyp:base', |
[email protected] | 8b242f5 | 2014-07-02 07:04:15 | [diff] [blame] | 273 | '../base/base.gyp:base_i18n', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 274 | '../base/base.gyp:test_support_base', |
| 275 | '../testing/gtest.gyp:gtest', |
[email protected] | 3f2ec448 | 2014-07-24 22:38:51 | [diff] [blame] | 276 | '../net/net.gyp:net_test_support', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 277 | # 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] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 280 | 'mojo_application_manager', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 281 | 'mojo_base.gyp:mojo_common_lib', |
| 282 | 'mojo_base.gyp:mojo_environment_chromium', |
| 283 | 'mojo_base.gyp:mojo_system_impl', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 284 | 'mojo_shell_lib', |
[email protected] | 8b242f5 | 2014-07-02 07:04:15 | [diff] [blame] | 285 | 'mojo_test_app', |
| 286 | 'mojo_test_request_tracker_app', |
[email protected] | a10299d | 2014-06-09 17:24:10 | [diff] [blame] | 287 | 'mojo_test_service_bindings', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 288 | ], |
| 289 | 'sources': [ |
| 290 | 'shell/child_process_host_unittest.cc', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 291 | 'shell/dynamic_application_loader_unittest.cc', |
[email protected] | 1b634d0 | 2014-07-28 00:26:20 | [diff] [blame] | 292 | 'shell/in_process_dynamic_service_runner_unittest.cc', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 293 | 'shell/shell_test_base.cc', |
| 294 | 'shell/shell_test_base.h', |
[email protected] | a10299d | 2014-06-09 17:24:10 | [diff] [blame] | 295 | 'shell/shell_test_base_unittest.cc', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 296 | 'shell/shell_test_main.cc', |
| 297 | ], |
[email protected] | 3b8b805 | 2014-06-18 19:41:34 | [diff] [blame] | 298 | 'conditions': [ |
| 299 | ['OS == "android"', { |
| 300 | 'dependencies': [ |
| 301 | '../testing/android/native_test.gyp:native_test_native_code', |
| 302 | ], |
| 303 | }], |
| 304 | ], |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 305 | }, |
| 306 | { |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 307 | # GN version: //mojo/application_manager |
| 308 | 'target_name': 'mojo_application_manager', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 309 | 'type': '<(component)', |
| 310 | 'defines': [ |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 311 | 'MOJO_APPLICATION_MANAGER_IMPLEMENTATION', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 312 | ], |
| 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] | 40e54f8 | 2014-08-08 17:16:10 | [diff] [blame] | 318 | 'mojo_content_handler_bindings', |
| 319 | 'mojo_network_bindings', |
[email protected] | e9b17cf | 2014-07-31 08:58:42 | [diff] [blame] | 320 | 'mojo_base.gyp:mojo_application_bindings', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 321 | 'mojo_base.gyp:mojo_common_lib', |
| 322 | 'mojo_base.gyp:mojo_environment_chromium', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 323 | '<(mojo_system_for_component)', |
| 324 | ], |
| 325 | 'sources': [ |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 326 | '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] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 333 | ], |
| 334 | 'export_dependent_settings': [ |
| 335 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | e9b17cf | 2014-07-31 08:58:42 | [diff] [blame] | 336 | 'mojo_base.gyp:mojo_application_bindings', |
[email protected] | 8f48e07c | 2014-08-22 00:39:14 | [diff] [blame] | 337 | 'mojo_network_bindings', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 338 | ], |
| 339 | }, |
| 340 | { |
[email protected] | 2216621 | 2014-08-21 08:35:34 | [diff] [blame] | 341 | # GN version: //mojo/application_manager:unittests |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 342 | 'target_name': 'mojo_application_manager_unittests', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 343 | 'type': 'executable', |
| 344 | 'dependencies': [ |
| 345 | '../base/base.gyp:base', |
| 346 | '../testing/gtest.gyp:gtest', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 347 | '../url/url.gyp:url_lib', |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 348 | 'mojo_application_manager', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 349 | '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] | 8d64cb67 | 2014-08-06 23:30:48 | [diff] [blame] | 353 | 'mojo_base.gyp:mojo_application_chromium', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 354 | ], |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 355 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 356 | 'sources': [ |
[email protected] | e9cac98e | 2014-08-09 20:41:10 | [diff] [blame] | 357 | 'application_manager/application_manager_unittest.cc', |
| 358 | 'application_manager/background_shell_application_loader_unittest.cc', |
| 359 | 'application_manager/test.mojom', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 360 | ], |
| 361 | }, |
[email protected] | f8c8cc1 | 2014-03-07 23:48:32 | [diff] [blame] | 362 | { |
[email protected] | 8bb00ee6 | 2014-07-29 09:26:20 | [diff] [blame] | 363 | # GN version: //mojo/cc |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 364 | '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] | f723adfa | 2014-08-12 17:06:40 | [diff] [blame] | 371 | '<(mojo_gles2_for_loadable_module)', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 372 | ], |
| 373 | 'sources': [ |
| 374 | 'cc/context_provider_mojo.cc', |
| 375 | 'cc/context_provider_mojo.h', |
| 376 | ], |
| 377 | }, |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 378 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 379 | 'conditions': [ |
| 380 | ['OS=="android"', { |
| 381 | 'targets': [ |
| 382 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 383 | 'target_name': 'mojo_native_viewport_java', |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 384 | '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] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 394 | 'target_name': 'libmojo_shell', |
| 395 | 'type': 'shared_library', |
| 396 | 'dependencies': [ |
| 397 | '../base/base.gyp:base', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 398 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 399 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 400 | '../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 401 | '../ui/gl/gl.gyp:gl', |
[email protected] | e9b17cf | 2014-07-31 08:58:42 | [diff] [blame] | 402 | 'mojo_base.gyp:mojo_application_bindings', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 403 | 'mojo_base.gyp:mojo_common_lib', |
| 404 | 'mojo_base.gyp:mojo_environment_chromium', |
| 405 | 'mojo_base.gyp:mojo_jni_headers', |
[email protected] | 09d040f | 2013-12-20 20:44:59 | [diff] [blame] | 406 | 'mojo_shell_lib', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 407 | ], |
| 408 | 'sources': [ |
| 409 | 'shell/android/library_loader.cc', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 410 | 'shell/android/mojo_main.cc', |
| 411 | 'shell/android/mojo_main.h', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 412 | ], |
| 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] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 420 | 'mojo_native_viewport_java', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 421 | 'libmojo_shell', |
| 422 | ], |
| 423 | 'variables': { |
| 424 | 'apk_name': 'MojoShell', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 425 | 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
| 426 | 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 427 | 'native_lib_target': 'libmojo_shell', |
| 428 | }, |
| 429 | 'includes': [ '../build/java_apk.gypi' ], |
| 430 | } |
| 431 | ], |
| 432 | }], |
[email protected] | 8110218d | 2014-05-01 23:30:06 | [diff] [blame] | 433 | ['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] | 8d64cb67 | 2014-08-06 23:30:48 | [diff] [blame] | 442 | 'mojo_base.gyp:mojo_application_chromium', |
[email protected] | 7e77c0d | 2014-07-30 22:54:06 | [diff] [blame] | 443 | 'mojo_base.gyp:mojo_common_lib', |
| 444 | 'mojo_base.gyp:mojo_system_impl', |
[email protected] | 8110218d | 2014-05-01 23:30:06 | [diff] [blame] | 445 | 'mojo_external_service_bindings', |
[email protected] | 8110218d | 2014-05-01 23:30:06 | [diff] [blame] | 446 | ], |
| 447 | 'sources': [ |
| 448 | 'dbus/dbus_external_service.h', |
| 449 | 'dbus/dbus_external_service.cc', |
| 450 | ], |
| 451 | }, |
| 452 | ], |
| 453 | }], |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 454 | ['use_aura==1', { |
| 455 | 'targets': [ |
| 456 | { |
[email protected] | 13ce087 | 2014-08-22 10:28:30 | [diff] [blame] | 457 | # GN version: //mojo/aura |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 458 | 'target_name': 'mojo_aura_support', |
| 459 | 'type': 'static_library', |
| 460 | 'dependencies': [ |
| 461 | '../cc/cc.gyp:cc', |
| 462 | '../ui/aura/aura.gyp:aura', |
[email protected] | 33bc2bc | 2014-06-10 17:52:24 | [diff] [blame] | 463 | '../ui/compositor/compositor.gyp:compositor', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 464 | '../ui/events/events.gyp:events', |
| 465 | '../ui/events/events.gyp:events_base', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 466 | '../ui/gl/gl.gyp:gl', |
| 467 | '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
| 468 | 'mojo_cc_support', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 469 | 'mojo_native_viewport_bindings', |
[email protected] | f723adfa | 2014-08-12 17:06:40 | [diff] [blame] | 470 | '<(mojo_gles2_for_loadable_module)', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 471 | ], |
| 472 | 'sources': [ |
[email protected] | 33bc2bc | 2014-06-10 17:52:24 | [diff] [blame] | 473 | 'aura/aura_init.cc', |
| 474 | 'aura/aura_init.h', |
[email protected] | 6929154 | 2014-06-07 08:17:42 | [diff] [blame] | 475 | 'aura/context_factory_mojo.cc', |
| 476 | 'aura/context_factory_mojo.h', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 477 | 'aura/screen_mojo.cc', |
| 478 | 'aura/screen_mojo.h', |
[email protected] | 6929154 | 2014-06-07 08:17:42 | [diff] [blame] | 479 | 'aura/window_tree_host_mojo.cc', |
| 480 | 'aura/window_tree_host_mojo.h', |
| 481 | 'aura/window_tree_host_mojo_delegate.h', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 482 | ], |
| 483 | }, |
[email protected] | 33bc2bc | 2014-06-10 17:52:24 | [diff] [blame] | 484 | { |
| 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] | 30d8e44 | 2014-06-24 19:41:07 | [diff] [blame] | 499 | 'mojo_views_support_internal', |
[email protected] | 33bc2bc | 2014-06-10 17:52:24 | [diff] [blame] | 500 | ], |
| 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] | 30d8e44 | 2014-06-24 19:41:07 | [diff] [blame] | 508 | { |
| 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] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 532 | ], |
| 533 | }], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 534 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 535 | } |