[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] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 16 | 'variables': { |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 17 | 'chromium_code': 1, |
[email protected] | f0234305 | 2014-01-14 14:43:56 | [diff] [blame] | 18 | 'mojo_shell_debug_url%': "", |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 19 | }, |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 20 | 'includes': [ |
[email protected] | de3d0b0 | 2013-12-03 23:18:25 | [diff] [blame] | 21 | 'mojo_apps.gypi', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 22 | 'mojo_examples.gypi', |
| 23 | 'mojo_public.gypi', |
| 24 | 'mojo_services.gypi', |
| 25 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 26 | 'targets': [ |
| 27 | { |
| 28 | 'target_name': 'mojo', |
| 29 | 'type': 'none', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 30 | 'dependencies': [ |
[email protected] | 8de5246 | 2014-03-11 15:48:39 | [diff] [blame] | 31 | 'mojo_apps_js_unittests', |
[email protected] | 4b1172e | 2014-01-15 22:26:31 | [diff] [blame] | 32 | 'mojo_compositor_app', |
[email protected] | cbf7e96 | 2013-11-07 20:35:52 | [diff] [blame] | 33 | 'mojo_common_lib', |
| 34 | 'mojo_common_unittests', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 35 | 'mojo_cpp_bindings', |
[email protected] | 7eb25d9 | 2014-05-21 19:07:40 | [diff] [blame] | 36 | 'mojo_geometry_lib', |
[email protected] | 9383074 | 2013-11-08 12:17:24 | [diff] [blame] | 37 | 'mojo_js', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 38 | 'mojo_js_bindings', |
[email protected] | de3d0b0 | 2013-12-03 23:18:25 | [diff] [blame] | 39 | 'mojo_js_unittests', |
[email protected] | 15429ab | 2014-04-04 00:43:22 | [diff] [blame] | 40 | 'mojo_message_generator', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 41 | 'mojo_native_viewport_service', |
[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] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 44 | 'mojo_public_test_utils', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 45 | 'mojo_public_bindings_unittests', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 46 | 'mojo_public_environment_unittests', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 47 | 'mojo_public_system_perftests', |
| 48 | 'mojo_public_system_unittests', |
| 49 | 'mojo_public_utility_unittests', |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 50 | 'mojo_sample_app', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 51 | 'mojo_service_manager', |
| 52 | 'mojo_service_manager_unittests', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 53 | 'mojo_shell', |
| 54 | 'mojo_shell_lib', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 55 | 'mojo_shell_tests', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 56 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 57 | 'mojo_system_impl', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 58 | 'mojo_system_unittests', |
[email protected] | a10299d | 2014-06-09 17:24:10 | [diff] [blame^] | 59 | 'mojo_test_service', |
[email protected] | 273e217 | 2013-12-10 07:24:16 | [diff] [blame] | 60 | 'mojo_utility', |
[email protected] | 9b9ec2f | 2014-05-07 17:17:15 | [diff] [blame] | 61 | 'mojo_view_manager_lib', |
| 62 | 'mojo_view_manager_lib_unittests', |
[email protected] | dd6ee450 | 2014-06-05 09:27:30 | [diff] [blame] | 63 | 'mojo_wget', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 64 | ], |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 65 | 'conditions': [ |
| 66 | ['use_aura==1', { |
| 67 | 'dependencies': [ |
| 68 | 'mojo_aura_demo', |
[email protected] | 29db69c7 | 2014-06-03 09:16:26 | [diff] [blame] | 69 | 'mojo_aura_demo_init', |
[email protected] | 8dbcf0d | 2014-06-03 05:39:00 | [diff] [blame] | 70 | 'mojo_demo_launcher', |
| 71 | 'mojo_embedded_app', |
[email protected] | d0e2cfc | 2014-06-07 04:16:53 | [diff] [blame] | 72 | 'mojo_nesting_app', |
[email protected] | 8dbcf0d | 2014-06-03 05:39:00 | [diff] [blame] | 73 | 'mojo_window_manager', |
[email protected] | 1fd49614 | 2014-01-29 05:16:02 | [diff] [blame] | 74 | 'mojo_view_manager', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 75 | 'mojo_view_manager_unittests', |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 76 | ], |
| 77 | }], |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 78 | ['OS == "android"', { |
| 79 | 'dependencies': [ |
[email protected] | 230db69d | 2014-05-15 18:54:04 | [diff] [blame] | 80 | 'mojo_bindings_java', |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 81 | 'mojo_public_java', |
| 82 | 'mojo_system_java', |
| 83 | 'libmojo_system_java', |
| 84 | 'mojo_test_apk', |
| 85 | ], |
| 86 | }], |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 87 | ['OS == "linux"', { |
| 88 | 'dependencies': [ |
| 89 | 'mojo_dbus_echo', |
| 90 | 'mojo_dbus_echo_service', |
| 91 | ], |
| 92 | }], |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 93 | ] |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 94 | }, |
| 95 | { |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 96 | 'target_name': 'mojo_external_service_bindings', |
| 97 | 'type': 'static_library', |
| 98 | 'sources': [ |
| 99 | 'shell/external_service.mojom', |
| 100 | ], |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 101 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 102 | 'export_dependent_settings': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 103 | 'mojo_cpp_bindings', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 104 | ], |
| 105 | 'dependencies': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 106 | 'mojo_cpp_bindings', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 107 | ], |
| 108 | }, |
| 109 | { |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 110 | 'target_name': 'mojo_run_all_unittests', |
| 111 | 'type': 'static_library', |
| 112 | 'dependencies': [ |
| 113 | '../base/base.gyp:base', |
| 114 | '../base/base.gyp:test_support_base', |
[email protected] | d16a5b4 | 2013-12-03 17:47:24 | [diff] [blame] | 115 | '../testing/gtest.gyp:gtest', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 116 | 'mojo_system_impl', |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 117 | 'mojo_test_support', |
| 118 | 'mojo_test_support_impl', |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 119 | ], |
| 120 | 'sources': [ |
| 121 | 'common/test/run_all_unittests.cc', |
| 122 | ], |
| 123 | }, |
| 124 | { |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 125 | 'target_name': 'mojo_run_all_perftests', |
| 126 | 'type': 'static_library', |
| 127 | 'dependencies': [ |
| 128 | '../base/base.gyp:test_support_base', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 129 | 'mojo_system_impl', |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 130 | 'mojo_test_support', |
| 131 | 'mojo_test_support_impl', |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 132 | ], |
| 133 | 'sources': [ |
| 134 | 'common/test/run_all_perftests.cc', |
| 135 | ], |
| 136 | }, |
| 137 | { |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 138 | 'target_name': 'mojo_system_impl', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 139 | 'type': '<(component)', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 140 | 'dependencies': [ |
| 141 | '../base/base.gyp:base', |
[email protected] | 44992e7 | 2014-03-04 07:44:13 | [diff] [blame] | 142 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 143 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 144 | 'defines': [ |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 145 | 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 146 | 'MOJO_SYSTEM_IMPLEMENTATION', |
| 147 | 'MOJO_USE_SYSTEM_IMPL', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 148 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 149 | 'sources': [ |
[email protected] | f13fe44 | 2014-03-19 00:05:26 | [diff] [blame] | 150 | 'embedder/embedder.cc', |
| 151 | 'embedder/embedder.h', |
| 152 | 'embedder/platform_channel_pair.cc', |
| 153 | 'embedder/platform_channel_pair.h', |
| 154 | 'embedder/platform_channel_pair_posix.cc', |
| 155 | 'embedder/platform_channel_pair_win.cc', |
[email protected] | d4698f4 | 2014-04-05 08:30:23 | [diff] [blame] | 156 | 'embedder/platform_channel_utils_posix.cc', |
| 157 | 'embedder/platform_channel_utils_posix.h', |
[email protected] | f13fe44 | 2014-03-19 00:05:26 | [diff] [blame] | 158 | 'embedder/platform_handle.cc', |
| 159 | 'embedder/platform_handle.h', |
[email protected] | 70c617c | 2014-05-21 03:39:18 | [diff] [blame] | 160 | 'embedder/platform_handle_utils.h', |
[email protected] | 11f31b1c | 2014-05-29 19:33:03 | [diff] [blame] | 161 | 'embedder/platform_handle_utils_posix.cc', |
| 162 | 'embedder/platform_handle_utils_win.cc', |
[email protected] | 1f738cb | 2014-05-13 00:03:49 | [diff] [blame] | 163 | 'embedder/platform_handle_vector.h', |
[email protected] | f13fe44 | 2014-03-19 00:05:26 | [diff] [blame] | 164 | 'embedder/scoped_platform_handle.h', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 165 | 'system/channel.cc', |
| 166 | 'system/channel.h', |
[email protected] | 3244698 | 2013-12-16 20:58:48 | [diff] [blame] | 167 | 'system/constants.h', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 168 | 'system/core.cc', |
| 169 | 'system/core.h', |
[email protected] | 82d1954d | 2013-12-13 22:23:19 | [diff] [blame] | 170 | 'system/data_pipe.cc', |
| 171 | 'system/data_pipe.h', |
[email protected] | ae3d357 | 2013-12-14 00:00:53 | [diff] [blame] | 172 | 'system/data_pipe_consumer_dispatcher.cc', |
| 173 | 'system/data_pipe_consumer_dispatcher.h', |
[email protected] | 82d1954d | 2013-12-13 22:23:19 | [diff] [blame] | 174 | 'system/data_pipe_producer_dispatcher.cc', |
| 175 | 'system/data_pipe_producer_dispatcher.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 176 | 'system/dispatcher.cc', |
| 177 | 'system/dispatcher.h', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 178 | 'system/entrypoints.cc', |
[email protected] | 3f62328 | 2014-03-31 02:07:46 | [diff] [blame] | 179 | 'system/handle_table.cc', |
| 180 | 'system/handle_table.h', |
[email protected] | 0079801 | 2013-12-16 20:39:30 | [diff] [blame] | 181 | 'system/local_data_pipe.cc', |
| 182 | 'system/local_data_pipe.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 183 | 'system/local_message_pipe_endpoint.cc', |
| 184 | 'system/local_message_pipe_endpoint.h', |
[email protected] | cfa16b341 | 2014-04-01 11:20:12 | [diff] [blame] | 185 | 'system/mapping_table.cc', |
| 186 | 'system/mapping_table.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 187 | 'system/memory.cc', |
| 188 | 'system/memory.h', |
[email protected] | aae74e9 | 2013-10-03 20:52:34 | [diff] [blame] | 189 | 'system/message_in_transit.cc', |
| 190 | 'system/message_in_transit.h', |
[email protected] | 311a9a1 | 2014-03-03 23:17:23 | [diff] [blame] | 191 | 'system/message_in_transit_queue.cc', |
| 192 | 'system/message_in_transit_queue.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 193 | 'system/message_pipe.cc', |
| 194 | 'system/message_pipe.h', |
| 195 | 'system/message_pipe_dispatcher.cc', |
| 196 | 'system/message_pipe_dispatcher.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 197 | 'system/message_pipe_endpoint.cc', |
| 198 | 'system/message_pipe_endpoint.h', |
[email protected] | 935c39fb | 2014-06-05 01:16:14 | [diff] [blame] | 199 | 'system/options_validation.h', |
[email protected] | d1e0c221 | 2014-05-13 22:40:06 | [diff] [blame] | 200 | 'system/platform_handle_dispatcher.cc', |
| 201 | 'system/platform_handle_dispatcher.h', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 202 | 'system/proxy_message_pipe_endpoint.cc', |
| 203 | 'system/proxy_message_pipe_endpoint.h', |
[email protected] | 49762650 | 2014-02-27 18:13:25 | [diff] [blame] | 204 | 'system/raw_channel.cc', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 205 | 'system/raw_channel.h', |
| 206 | 'system/raw_channel_posix.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 207 | 'system/raw_channel_win.cc', |
[email protected] | ac1df70 | 2014-03-21 20:45:27 | [diff] [blame] | 208 | 'system/raw_shared_buffer.cc', |
| 209 | 'system/raw_shared_buffer.h', |
| 210 | 'system/raw_shared_buffer_posix.cc', |
| 211 | 'system/raw_shared_buffer_win.cc', |
[email protected] | be7edee | 2014-03-22 07:01:52 | [diff] [blame] | 212 | 'system/shared_buffer_dispatcher.cc', |
| 213 | 'system/shared_buffer_dispatcher.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 214 | 'system/simple_dispatcher.cc', |
| 215 | 'system/simple_dispatcher.h', |
[email protected] | 68d3f6b | 2014-05-03 03:40:21 | [diff] [blame] | 216 | 'system/transport_data.cc', |
| 217 | 'system/transport_data.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 218 | 'system/waiter.cc', |
| 219 | 'system/waiter.h', |
| 220 | 'system/waiter_list.cc', |
| 221 | 'system/waiter_list.h', |
[email protected] | 8579fe0 | 2014-01-16 23:51:10 | [diff] [blame] | 222 | # Test-only code: |
| 223 | # TODO(vtl): It's a little unfortunate that these end up in the same |
| 224 | # component as non-test-only code. In the static build, this code should |
| 225 | # hopefully be dead-stripped. |
[email protected] | f13fe44 | 2014-03-19 00:05:26 | [diff] [blame] | 226 | 'embedder/test_embedder.cc', |
| 227 | 'embedder/test_embedder.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 228 | ], |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 229 | 'all_dependent_settings': { |
| 230 | # Ensures that dependent projects import the core functions on Windows. |
| 231 | 'defines': ['MOJO_USE_SYSTEM_IMPL'], |
| 232 | } |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 233 | }, |
| 234 | { |
| 235 | 'target_name': 'mojo_system_unittests', |
| 236 | 'type': 'executable', |
| 237 | 'dependencies': [ |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 238 | '../base/base.gyp:base', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 239 | '../base/base.gyp:run_all_unittests', |
| 240 | '../testing/gtest.gyp:gtest', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 241 | 'mojo_common_test_support', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 242 | 'mojo_system_impl', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 243 | ], |
| 244 | 'sources': [ |
[email protected] | f13fe44 | 2014-03-19 00:05:26 | [diff] [blame] | 245 | 'embedder/embedder_unittest.cc', |
[email protected] | 9e1d9492 | 2014-03-25 18:51:56 | [diff] [blame] | 246 | 'embedder/platform_channel_pair_posix_unittest.cc', |
[email protected] | c1531f5 | 2014-04-25 15:19:32 | [diff] [blame] | 247 | 'system/channel_unittest.cc', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 248 | 'system/core_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 249 | 'system/core_test_base.cc', |
| 250 | 'system/core_test_base.h', |
[email protected] | 92fb7f4 | 2013-12-17 22:38:30 | [diff] [blame] | 251 | 'system/data_pipe_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 252 | 'system/dispatcher_unittest.cc', |
[email protected] | 92fb7f4 | 2013-12-17 22:38:30 | [diff] [blame] | 253 | 'system/local_data_pipe_unittest.cc', |
[email protected] | 4adc127 | 2014-06-03 10:37:16 | [diff] [blame] | 254 | 'system/memory_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 255 | 'system/message_pipe_dispatcher_unittest.cc', |
| 256 | 'system/message_pipe_unittest.cc', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 257 | 'system/multiprocess_message_pipe_unittest.cc', |
[email protected] | 935c39fb | 2014-06-05 01:16:14 | [diff] [blame] | 258 | 'system/options_validation_unittest.cc', |
[email protected] | d1e0c221 | 2014-05-13 22:40:06 | [diff] [blame] | 259 | 'system/platform_handle_dispatcher_unittest.cc', |
[email protected] | 44992e7 | 2014-03-04 07:44:13 | [diff] [blame] | 260 | 'system/raw_channel_unittest.cc', |
[email protected] | ac1df70 | 2014-03-21 20:45:27 | [diff] [blame] | 261 | 'system/raw_shared_buffer_unittest.cc', |
[email protected] | f764b25b | 2014-03-06 10:31:47 | [diff] [blame] | 262 | 'system/remote_message_pipe_unittest.cc', |
[email protected] | 4006309 | 2014-03-24 22:46:09 | [diff] [blame] | 263 | 'system/shared_buffer_dispatcher_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 264 | 'system/simple_dispatcher_unittest.cc', |
[email protected] | b334246d | 2013-10-24 00:08:57 | [diff] [blame] | 265 | 'system/test_utils.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 266 | 'system/test_utils.h', |
| 267 | 'system/waiter_list_unittest.cc', |
| 268 | 'system/waiter_test_utils.cc', |
| 269 | 'system/waiter_test_utils.h', |
| 270 | 'system/waiter_unittest.cc', |
| 271 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 272 | }, |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 273 | { |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 274 | 'target_name': 'mojo_gles2_impl', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 275 | 'type': '<(component)', |
| 276 | 'dependencies': [ |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 277 | '../base/base.gyp:base', |
| 278 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 279 | '../gpu/gpu.gyp:command_buffer_client', |
| 280 | '../gpu/gpu.gyp:command_buffer_common', |
| 281 | '../gpu/gpu.gyp:gles2_cmd_helper', |
| 282 | '../gpu/gpu.gyp:gles2_implementation', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 283 | 'mojo_gles2', |
[email protected] | c329ad7 | 2014-01-23 04:02:49 | [diff] [blame] | 284 | 'mojo_gles2_bindings', |
| 285 | 'mojo_environment_chromium', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 286 | 'mojo_system_impl', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 287 | ], |
| 288 | 'defines': [ |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 289 | 'MOJO_GLES2_IMPL_IMPLEMENTATION', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 290 | ], |
| 291 | 'sources': [ |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 292 | 'gles2/command_buffer_client_impl.cc', |
| 293 | 'gles2/command_buffer_client_impl.h', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 294 | 'gles2/gles2_impl_export.h', |
| 295 | 'gles2/gles2_support_impl.cc', |
| 296 | 'gles2/gles2_support_impl.h', |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 297 | 'gles2/gles2_context.cc', |
| 298 | 'gles2/gles2_context.h', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 299 | ], |
| 300 | }, |
| 301 | { |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 302 | 'target_name': 'mojo_test_support_impl', |
| 303 | 'type': 'static_library', |
| 304 | 'dependencies': [ |
| 305 | '../base/base.gyp:base', |
| 306 | ], |
| 307 | 'sources': [ |
| 308 | 'common/test/test_support_impl.cc', |
| 309 | 'common/test/test_support_impl.h', |
| 310 | ], |
| 311 | }, |
| 312 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 313 | 'target_name': 'mojo_common_lib', |
| 314 | 'type': '<(component)', |
| 315 | 'defines': [ |
| 316 | 'MOJO_COMMON_IMPLEMENTATION', |
| 317 | ], |
| 318 | 'dependencies': [ |
| 319 | '../base/base.gyp:base', |
| 320 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 321 | 'mojo_system_impl', |
| 322 | ], |
| 323 | 'export_dependent_settings': [ |
| 324 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 325 | 'mojo_system_impl', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 326 | ], |
| 327 | 'sources': [ |
[email protected] | f68c146 | 2014-04-24 18:17:53 | [diff] [blame] | 328 | 'common/channel_init.cc', |
| 329 | 'common/channel_init.h', |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 330 | 'common/common_type_converters.cc', |
| 331 | 'common/common_type_converters.h', |
[email protected] | 51b82ec | 2014-05-23 21:01:48 | [diff] [blame] | 332 | 'common/environment_data.cc', |
| 333 | 'common/environment_data.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 334 | 'common/handle_watcher.cc', |
| 335 | 'common/handle_watcher.h', |
| 336 | 'common/message_pump_mojo.cc', |
| 337 | 'common/message_pump_mojo.h', |
| 338 | 'common/message_pump_mojo_handler.h', |
[email protected] | 433f7d8 | 2014-03-15 00:53:48 | [diff] [blame] | 339 | 'common/time_helper.cc', |
| 340 | 'common/time_helper.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 341 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 342 | }, |
| 343 | { |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 344 | 'target_name': 'mojo_common_test_support', |
| 345 | 'type': 'static_library', |
| 346 | 'dependencies': [ |
| 347 | '../base/base.gyp:base', |
| 348 | '../base/base.gyp:test_support_base', |
| 349 | '../testing/gtest.gyp:gtest', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 350 | 'mojo_system_impl', |
| 351 | ], |
| 352 | 'sources': [ |
[email protected] | 3bc1379 | 2014-03-08 22:58:37 | [diff] [blame] | 353 | 'common/test/multiprocess_test_helper.cc', |
| 354 | 'common/test/multiprocess_test_helper.h', |
[email protected] | b8e55f6 | 2014-02-22 21:01:54 | [diff] [blame] | 355 | 'common/test/test_utils.h', |
| 356 | 'common/test/test_utils_posix.cc', |
| 357 | 'common/test/test_utils_win.cc', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 358 | ], |
| 359 | }, |
| 360 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 361 | 'target_name': 'mojo_common_unittests', |
| 362 | 'type': 'executable', |
| 363 | 'dependencies': [ |
| 364 | '../base/base.gyp:base', |
| 365 | '../base/base.gyp:base_message_loop_tests', |
| 366 | '../testing/gtest.gyp:gtest', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 367 | 'mojo_cpp_bindings', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 368 | 'mojo_environment_chromium', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 369 | 'mojo_common_lib', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 370 | 'mojo_common_test_support', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 371 | 'mojo_public_test_utils', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 372 | 'mojo_run_all_unittests', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 373 | ], |
| 374 | 'sources': [ |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 375 | 'common/common_type_converters_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 376 | 'common/handle_watcher_unittest.cc', |
| 377 | 'common/message_pump_mojo_unittest.cc', |
[email protected] | 3bc1379 | 2014-03-08 22:58:37 | [diff] [blame] | 378 | 'common/test/multiprocess_test_helper_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 379 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 380 | }, |
| 381 | { |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 382 | 'target_name': 'mojo_environment_chromium', |
| 383 | 'type': 'static_library', |
| 384 | 'dependencies': [ |
[email protected] | 512e35e9 | 2014-04-08 17:35:55 | [diff] [blame] | 385 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 386 | 'mojo_environment_chromium_impl', |
| 387 | ], |
| 388 | 'sources': [ |
| 389 | 'environment/default_async_waiter.cc', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 390 | 'environment/environment.cc', |
| 391 | ], |
| 392 | 'include_dirs': [ |
| 393 | '..', |
| 394 | ], |
| 395 | 'export_dependent_settings': [ |
| 396 | 'mojo_environment_chromium_impl', |
| 397 | ], |
| 398 | }, |
| 399 | { |
| 400 | 'target_name': 'mojo_environment_chromium_impl', |
| 401 | 'type': '<(component)', |
| 402 | 'defines': [ |
| 403 | 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', |
| 404 | ], |
| 405 | 'dependencies': [ |
| 406 | '../base/base.gyp:base', |
| 407 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 408 | 'mojo_common_lib' |
| 409 | ], |
| 410 | 'sources': [ |
| 411 | 'environment/default_async_waiter_impl.cc', |
| 412 | 'environment/default_async_waiter_impl.h', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 413 | ], |
| 414 | 'include_dirs': [ |
| 415 | '..', |
| 416 | ], |
| 417 | }, |
| 418 | { |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 419 | 'target_name': 'mojo_service_manager', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 420 | 'type': '<(component)', |
| 421 | 'defines': [ |
| 422 | 'MOJO_SERVICE_MANAGER_IMPLEMENTATION', |
| 423 | ], |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 424 | 'dependencies': [ |
| 425 | '../base/base.gyp:base', |
[email protected] | d656e10 | 2014-03-04 18:29:48 | [diff] [blame] | 426 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 427 | '../net/net.gyp:net', |
| 428 | '../url/url.gyp:url_lib', |
[email protected] | 26d8482f | 2014-04-02 03:39:59 | [diff] [blame] | 429 | 'mojo_common_lib', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 430 | 'mojo_environment_chromium', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 431 | 'mojo_service_provider_bindings', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 432 | 'mojo_system_impl', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 433 | ], |
| 434 | 'sources': [ |
[email protected] | 34c758b | 2014-05-06 09:10:00 | [diff] [blame] | 435 | 'service_manager/background_service_loader.cc', |
| 436 | 'service_manager/background_service_loader.h', |
[email protected] | d656e10 | 2014-03-04 18:29:48 | [diff] [blame] | 437 | 'service_manager/service_loader.h', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 438 | 'service_manager/service_manager.cc', |
| 439 | 'service_manager/service_manager.h', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 440 | 'service_manager/service_manager_export.h', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 441 | ], |
[email protected] | d656e10 | 2014-03-04 18:29:48 | [diff] [blame] | 442 | 'export_dependent_settings': [ |
| 443 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 444 | 'mojo_service_provider_bindings', |
[email protected] | d656e10 | 2014-03-04 18:29:48 | [diff] [blame] | 445 | ], |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 446 | }, |
| 447 | { |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 448 | 'target_name': 'mojo_spy', |
| 449 | 'type': 'static_library', |
| 450 | 'dependencies': [ |
| 451 | '../base/base.gyp:base', |
| 452 | '../base/base.gyp:base_static', |
[email protected] | dd6ca97 | 2014-04-30 08:07:50 | [diff] [blame] | 453 | '../net/net.gyp:http_server', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 454 | '../url/url.gyp:url_lib', |
| 455 | 'mojo_service_manager', |
| 456 | ], |
| 457 | 'sources': [ |
| 458 | 'spy/spy.cc', |
| 459 | 'spy/spy.h', |
[email protected] | dd6ca97 | 2014-04-30 08:07:50 | [diff] [blame] | 460 | 'spy/websocket_server.cc', |
| 461 | 'spy/websocket_server.h', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 462 | ], |
| 463 | }, |
| 464 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 465 | 'target_name': 'mojo_shell_lib', |
| 466 | 'type': 'static_library', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 467 | 'dependencies': [ |
| 468 | '../base/base.gyp:base', |
[email protected] | 57d12ab | 2014-03-14 15:06:55 | [diff] [blame] | 469 | '../base/base.gyp:base_static', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 470 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 471 | '../net/net.gyp:net', |
[email protected] | 3c44830 | 2013-10-22 08:39:08 | [diff] [blame] | 472 | '../url/url.gyp:url_lib', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 473 | 'mojo_external_service_bindings', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 474 | 'mojo_gles2_impl', |
[email protected] | cfda411c | 2014-03-21 17:51:28 | [diff] [blame] | 475 | 'mojo_service_manager', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 476 | 'mojo_service_provider_bindings', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 477 | 'mojo_system_impl', |
[email protected] | 2e5f3a0 | 2013-12-21 07:12:37 | [diff] [blame] | 478 | 'mojo_native_viewport_service', |
[email protected] | e268241 | 2014-04-07 22:04:42 | [diff] [blame] | 479 | 'mojo_spy', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 480 | ], |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 481 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 482 | 'sources': [ |
[email protected] | 4e55929 | 2014-03-18 00:05:15 | [diff] [blame] | 483 | 'shell/app_child_process.cc', |
| 484 | 'shell/app_child_process.h', |
[email protected] | 5dcd57c3 | 2014-03-20 17:37:19 | [diff] [blame] | 485 | 'shell/app_child_process.mojom', |
[email protected] | 4e55929 | 2014-03-18 00:05:15 | [diff] [blame] | 486 | 'shell/app_child_process_host.cc', |
| 487 | 'shell/app_child_process_host.h', |
[email protected] | 57d12ab | 2014-03-14 15:06:55 | [diff] [blame] | 488 | 'shell/child_process.cc', |
| 489 | 'shell/child_process.h', |
| 490 | 'shell/child_process_host.cc', |
| 491 | 'shell/child_process_host.h', |
[email protected] | 6e50d5e4 | 2013-10-27 02:45:46 | [diff] [blame] | 492 | 'shell/context.cc', |
| 493 | 'shell/context.h', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 494 | 'shell/dbus_service_loader_linux.cc', |
| 495 | 'shell/dbus_service_loader_linux.h', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 496 | 'shell/dynamic_service_loader.cc', |
| 497 | 'shell/dynamic_service_loader.h', |
[email protected] | e01f3a0 | 2014-03-15 00:57:43 | [diff] [blame] | 498 | 'shell/dynamic_service_runner.h', |
[email protected] | 4093270 | 2013-11-20 22:29:30 | [diff] [blame] | 499 | 'shell/init.cc', |
| 500 | 'shell/init.h', |
[email protected] | e01f3a0 | 2014-03-15 00:57:43 | [diff] [blame] | 501 | 'shell/in_process_dynamic_service_runner.cc', |
| 502 | 'shell/in_process_dynamic_service_runner.h', |
[email protected] | dcd9a9cd | 2014-02-03 09:15:41 | [diff] [blame] | 503 | 'shell/keep_alive.cc', |
| 504 | 'shell/keep_alive.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 505 | 'shell/loader.cc', |
| 506 | 'shell/loader.h', |
[email protected] | c6c6e565 | 2013-10-29 02:40:30 | [diff] [blame] | 507 | 'shell/network_delegate.cc', |
| 508 | 'shell/network_delegate.h', |
[email protected] | 4e55929 | 2014-03-18 00:05:15 | [diff] [blame] | 509 | 'shell/out_of_process_dynamic_service_runner.cc', |
| 510 | 'shell/out_of_process_dynamic_service_runner.h', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 511 | 'shell/run.cc', |
| 512 | 'shell/run.h', |
[email protected] | 09d040f | 2013-12-20 20:44:59 | [diff] [blame] | 513 | 'shell/storage.cc', |
| 514 | 'shell/storage.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 515 | 'shell/switches.cc', |
| 516 | 'shell/switches.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 517 | 'shell/task_runners.cc', |
| 518 | 'shell/task_runners.h', |
[email protected] | 57d12ab | 2014-03-14 15:06:55 | [diff] [blame] | 519 | 'shell/test_child_process.cc', |
| 520 | 'shell/test_child_process.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 521 | 'shell/url_request_context_getter.cc', |
| 522 | 'shell/url_request_context_getter.h', |
[email protected] | 08f1c597 | 2014-05-09 16:26:06 | [diff] [blame] | 523 | 'shell/view_manager_loader.cc', |
| 524 | 'shell/view_manager_loader.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 525 | ], |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 526 | 'conditions': [ |
| 527 | ['OS=="linux"', { |
| 528 | 'dependencies': [ |
| 529 | '../build/linux/system.gyp:dbus', |
| 530 | '../dbus/dbus.gyp:dbus', |
| 531 | ], |
| 532 | }], |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 533 | ['use_aura==1', { |
| 534 | 'dependencies': [ |
| 535 | # These are only necessary as long as we hard code use of ViewManager. |
| 536 | '../skia/skia.gyp:skia', |
[email protected] | 08f1c597 | 2014-05-09 16:26:06 | [diff] [blame] | 537 | 'mojo_gles2', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 538 | 'mojo_application', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 539 | 'mojo_view_manager', |
[email protected] | 5e1a832 | 2014-05-09 22:35:51 | [diff] [blame] | 540 | 'mojo_view_manager_bindings', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 541 | ], |
[email protected] | 08f1c597 | 2014-05-09 16:26:06 | [diff] [blame] | 542 | }, { # use_aura==0 |
| 543 | 'sources!': [ |
| 544 | 'shell/view_manager_loader.cc', |
| 545 | 'shell/view_manager_loader.h', |
| 546 | ], |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 547 | }], |
| 548 | ], |
| 549 | }, |
| 550 | { |
| 551 | 'target_name': 'mojo_shell_test_support', |
| 552 | 'type': 'static_library', |
| 553 | 'dependencies': [ |
| 554 | '../base/base.gyp:base', |
| 555 | '../base/base.gyp:base_static', |
| 556 | '../url/url.gyp:url_lib', |
| 557 | 'mojo_service_manager', |
| 558 | 'mojo_shell_lib', |
| 559 | 'mojo_system_impl', |
| 560 | ], |
| 561 | 'sources': [ |
| 562 | 'shell/shell_test_helper.cc', |
| 563 | 'shell/shell_test_helper.h', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 564 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 565 | }, |
| 566 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 567 | 'target_name': 'mojo_shell', |
| 568 | 'type': 'executable', |
| 569 | 'dependencies': [ |
| 570 | '../base/base.gyp:base', |
[email protected] | 4236839 | 2013-11-05 13:45:02 | [diff] [blame] | 571 | '../ui/gl/gl.gyp:gl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 572 | '../url/url.gyp:url_lib', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 573 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 574 | 'mojo_environment_chromium', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 575 | 'mojo_service_manager', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 576 | 'mojo_shell_lib', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 577 | 'mojo_system_impl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 578 | ], |
| 579 | 'sources': [ |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 580 | 'shell/desktop/mojo_main.cc', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 581 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 582 | }, |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 583 | { |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 584 | 'target_name': 'mojo_shell_tests', |
| 585 | 'type': 'executable', |
| 586 | 'dependencies': [ |
| 587 | '../base/base.gyp:base', |
| 588 | '../base/base.gyp:test_support_base', |
| 589 | '../testing/gtest.gyp:gtest', |
| 590 | # TODO(vtl): We don't currently need this, but I imagine we will soon. |
| 591 | # '../ui/gl/gl.gyp:gl', |
| 592 | '../url/url.gyp:url_lib', |
| 593 | 'mojo_common_lib', |
| 594 | 'mojo_environment_chromium', |
| 595 | 'mojo_service_manager', |
| 596 | 'mojo_shell_lib', |
| 597 | 'mojo_system_impl', |
[email protected] | a10299d | 2014-06-09 17:24:10 | [diff] [blame^] | 598 | 'mojo_test_service_bindings', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 599 | ], |
| 600 | 'sources': [ |
| 601 | 'shell/child_process_host_unittest.cc', |
| 602 | 'shell/shell_test_base.cc', |
| 603 | 'shell/shell_test_base.h', |
[email protected] | a10299d | 2014-06-09 17:24:10 | [diff] [blame^] | 604 | 'shell/shell_test_base_unittest.cc', |
[email protected] | fc459f2e | 2014-06-04 01:02:45 | [diff] [blame] | 605 | 'shell/shell_test_main.cc', |
| 606 | ], |
| 607 | }, |
| 608 | { |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 609 | 'target_name': 'mojo_service_manager_unittests', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 610 | 'type': 'executable', |
| 611 | 'dependencies': [ |
| 612 | '../base/base.gyp:base', |
| 613 | '../testing/gtest.gyp:gtest', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 614 | '../url/url.gyp:url_lib', |
[email protected] | 26d8482f | 2014-04-02 03:39:59 | [diff] [blame] | 615 | 'mojo_common_lib', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 616 | 'mojo_cpp_bindings', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 617 | 'mojo_environment_chromium', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 618 | 'mojo_run_all_unittests', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 619 | 'mojo_service_manager', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 620 | 'mojo_application', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 621 | ], |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 622 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 623 | 'sources': [ |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 624 | 'service_manager/service_manager_unittest.cc', |
| 625 | 'service_manager/test.mojom', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 626 | ], |
| 627 | }, |
[email protected] | f8c8cc1 | 2014-03-07 23:48:32 | [diff] [blame] | 628 | { |
| 629 | 'target_name': 'mojo_js_bindings_lib', |
| 630 | 'type': 'static_library', |
| 631 | 'dependencies': [ |
| 632 | '../base/base.gyp:base', |
| 633 | '../gin/gin.gyp:gin', |
| 634 | '../v8/tools/gyp/v8.gyp:v8', |
| 635 | 'mojo_common_lib', |
[email protected] | f8c8cc1 | 2014-03-07 23:48:32 | [diff] [blame] | 636 | ], |
| 637 | 'export_dependent_settings': [ |
| 638 | '../base/base.gyp:base', |
| 639 | '../gin/gin.gyp:gin', |
| 640 | 'mojo_common_lib', |
[email protected] | f8c8cc1 | 2014-03-07 23:48:32 | [diff] [blame] | 641 | ], |
| 642 | 'sources': [ |
| 643 | 'bindings/js/core.cc', |
| 644 | 'bindings/js/core.h', |
| 645 | 'bindings/js/handle.cc', |
| 646 | 'bindings/js/handle.h', |
| 647 | 'bindings/js/support.cc', |
| 648 | 'bindings/js/support.h', |
| 649 | 'bindings/js/waiting_callback.cc', |
| 650 | 'bindings/js/waiting_callback.h', |
| 651 | ], |
| 652 | }, |
[email protected] | 8de5246 | 2014-03-11 15:48:39 | [diff] [blame] | 653 | { |
| 654 | 'target_name': 'mojo_js_unittests', |
| 655 | 'type': 'executable', |
| 656 | 'dependencies': [ |
| 657 | '../gin/gin.gyp:gin_test', |
[email protected] | a27695c2 | 2014-04-25 05:17:31 | [diff] [blame] | 658 | 'mojo_common_test_support', |
[email protected] | 8de5246 | 2014-03-11 15:48:39 | [diff] [blame] | 659 | 'mojo_js_bindings_lib', |
| 660 | 'mojo_run_all_unittests', |
[email protected] | e1e974b | 2014-04-16 02:05:57 | [diff] [blame] | 661 | 'mojo_public_test_interfaces', |
[email protected] | 8de5246 | 2014-03-11 15:48:39 | [diff] [blame] | 662 | ], |
| 663 | 'sources': [ |
| 664 | 'bindings/js/run_js_tests.cc', |
| 665 | ], |
| 666 | }, |
[email protected] | 15429ab | 2014-04-04 00:43:22 | [diff] [blame] | 667 | { |
| 668 | 'target_name': 'mojo_message_generator', |
| 669 | 'type': 'executable', |
| 670 | 'dependencies': [ |
| 671 | '../base/base.gyp:base', |
| 672 | '../testing/gtest.gyp:gtest', |
[email protected] | 15429ab | 2014-04-04 00:43:22 | [diff] [blame] | 673 | 'mojo_common_lib', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 674 | 'mojo_cpp_bindings', |
[email protected] | 15429ab | 2014-04-04 00:43:22 | [diff] [blame] | 675 | 'mojo_environment_chromium', |
[email protected] | 15429ab | 2014-04-04 00:43:22 | [diff] [blame] | 676 | 'mojo_system_impl', |
| 677 | ], |
| 678 | 'sources': [ |
| 679 | 'tools/message_generator.cc', |
| 680 | ], |
| 681 | }, |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 682 | { |
| 683 | 'target_name': 'mojo_cc_support', |
| 684 | 'type': 'static_library', |
| 685 | 'dependencies': [ |
| 686 | '../base/base.gyp:base', |
| 687 | '../cc/cc.gyp:cc', |
| 688 | '../skia/skia.gyp:skia', |
| 689 | '../gpu/gpu.gyp:gles2_implementation', |
| 690 | 'mojo_gles2', |
| 691 | ], |
| 692 | 'sources': [ |
| 693 | 'cc/context_provider_mojo.cc', |
| 694 | 'cc/context_provider_mojo.h', |
| 695 | ], |
| 696 | }, |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 697 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 698 | 'conditions': [ |
| 699 | ['OS=="android"', { |
| 700 | 'targets': [ |
| 701 | { |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 702 | 'target_name': 'mojo_jni_headers', |
| 703 | 'type': 'none', |
| 704 | 'dependencies': [ |
| 705 | 'mojo_java_set_jni_headers', |
| 706 | ], |
| 707 | 'sources': [ |
[email protected] | 688d067 | 2014-05-28 19:03:30 | [diff] [blame] | 708 | 'android/javatests/src/org/chromium/mojo/MojoTestCase.java', |
| 709 | 'android/system/src/org/chromium/mojo/system/impl/CoreImpl.java', |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 710 | 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java', |
| 711 | 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java', |
| 712 | ], |
| 713 | 'variables': { |
| 714 | 'jni_gen_package': 'mojo', |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 715 | }, |
| 716 | 'includes': [ '../build/jni_generator.gypi' ], |
| 717 | }, |
| 718 | { |
| 719 | 'target_name': 'mojo_system_java', |
| 720 | 'type': 'none', |
| 721 | 'dependencies': [ |
| 722 | '../base/base.gyp:base_java', |
| 723 | 'mojo_public_java', |
| 724 | ], |
| 725 | 'variables': { |
| 726 | 'java_in_dir': '<(DEPTH)/mojo/android/system', |
| 727 | }, |
| 728 | 'includes': [ '../build/java.gypi' ], |
| 729 | }, |
| 730 | { |
| 731 | 'target_name': 'libmojo_system_java', |
| 732 | 'type': 'static_library', |
| 733 | 'dependencies': [ |
| 734 | '../base/base.gyp:base', |
| 735 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 736 | 'mojo_common_lib', |
| 737 | 'mojo_environment_chromium', |
| 738 | 'mojo_jni_headers', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 739 | 'mojo_service_provider_bindings', |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 740 | 'mojo_shell_lib', |
| 741 | ], |
| 742 | 'sources': [ |
| 743 | 'android/system/core_impl.cc', |
| 744 | 'android/system/core_impl.h', |
| 745 | ], |
| 746 | }, |
| 747 | { |
| 748 | 'target_name': 'libmojo_java_unittest', |
| 749 | 'type': 'shared_library', |
| 750 | 'dependencies': [ |
| 751 | '../base/base.gyp:base', |
[email protected] | 7d9d82e | 2014-05-20 15:36:34 | [diff] [blame] | 752 | '../base/base.gyp:test_support_base', |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 753 | 'libmojo_system_java', |
| 754 | 'mojo_jni_headers', |
| 755 | ], |
| 756 | 'sources': [ |
[email protected] | 54cb593 | 2014-05-28 14:02:38 | [diff] [blame] | 757 | 'android/javatests/mojo_test_case.cc', |
| 758 | 'android/javatests/mojo_test_case.h', |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 759 | 'android/javatests/init_library.cc', |
| 760 | ], |
| 761 | }, |
| 762 | { |
| 763 | 'target_name': 'mojo_test_apk', |
| 764 | 'type': 'none', |
| 765 | 'dependencies': [ |
[email protected] | 230db69d | 2014-05-15 18:54:04 | [diff] [blame] | 766 | 'mojo_bindings_java', |
| 767 | 'mojo_public_test_interfaces', |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 768 | 'mojo_system_java', |
| 769 | '../base/base.gyp:base_java_test_support', |
| 770 | ], |
| 771 | 'variables': { |
| 772 | 'apk_name': 'MojoTest', |
| 773 | 'java_in_dir': '<(DEPTH)/mojo/android/javatests', |
| 774 | 'resource_dir': '<(DEPTH)/mojo/android/javatests/apk', |
| 775 | 'native_lib_target': 'libmojo_java_unittest', |
| 776 | 'is_test_apk': 1, |
[email protected] | 10955d3 | 2014-04-30 11:22:41 | [diff] [blame] | 777 | # Given that this apk tests itself, it needs to bring emma with it |
| 778 | # when instrumented. |
| 779 | 'conditions': [ |
| 780 | ['emma_coverage != 0', { |
| 781 | 'emma_instrument': 1, |
| 782 | }], |
| 783 | ], |
[email protected] | 70c0364 | 2014-04-23 16:02:32 | [diff] [blame] | 784 | }, |
| 785 | 'includes': [ '../build/java_apk.gypi' ], |
| 786 | }, |
| 787 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 788 | 'target_name': 'mojo_native_viewport_java', |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 789 | 'type': 'none', |
| 790 | 'dependencies': [ |
| 791 | '../base/base.gyp:base_java', |
| 792 | ], |
| 793 | 'variables': { |
| 794 | 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
| 795 | }, |
| 796 | 'includes': [ '../build/java.gypi' ], |
| 797 | }, |
| 798 | { |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 799 | 'target_name': 'mojo_java_set_jni_headers', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 800 | 'type': 'none', |
| 801 | 'variables': { |
| 802 | 'jni_gen_package': 'mojo', |
| 803 | 'input_java_class': 'java/util/HashSet.class', |
| 804 | }, |
| 805 | 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
| 806 | }, |
| 807 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 808 | 'target_name': 'libmojo_shell', |
| 809 | 'type': 'shared_library', |
| 810 | 'dependencies': [ |
| 811 | '../base/base.gyp:base', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 812 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 813 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 814 | '../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 815 | '../ui/gl/gl.gyp:gl', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 816 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 817 | 'mojo_environment_chromium', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 818 | 'mojo_jni_headers', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 819 | 'mojo_service_provider_bindings', |
[email protected] | 09d040f | 2013-12-20 20:44:59 | [diff] [blame] | 820 | 'mojo_shell_lib', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 821 | ], |
| 822 | 'sources': [ |
| 823 | 'shell/android/library_loader.cc', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 824 | 'shell/android/mojo_main.cc', |
| 825 | 'shell/android/mojo_main.h', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 826 | ], |
| 827 | }, |
| 828 | { |
| 829 | 'target_name': 'mojo_shell_apk', |
| 830 | 'type': 'none', |
| 831 | 'dependencies': [ |
| 832 | '../base/base.gyp:base_java', |
| 833 | '../net/net.gyp:net_java', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 834 | 'mojo_native_viewport_java', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 835 | 'libmojo_shell', |
| 836 | ], |
| 837 | 'variables': { |
| 838 | 'apk_name': 'MojoShell', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 839 | 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
| 840 | 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 841 | 'native_lib_target': 'libmojo_shell', |
| 842 | }, |
| 843 | 'includes': [ '../build/java_apk.gypi' ], |
| 844 | } |
| 845 | ], |
| 846 | }], |
[email protected] | 8110218d | 2014-05-01 23:30:06 | [diff] [blame] | 847 | ['OS=="linux"', { |
| 848 | 'targets': [ |
| 849 | { |
| 850 | 'target_name': 'mojo_dbus_service', |
| 851 | 'type': 'static_library', |
| 852 | 'dependencies': [ |
| 853 | '../base/base.gyp:base', |
| 854 | '../build/linux/system.gyp:dbus', |
| 855 | '../dbus/dbus.gyp:dbus', |
| 856 | 'mojo_common_lib', |
| 857 | 'mojo_external_service_bindings', |
[email protected] | 66bf7e2 | 2014-05-27 16:50:29 | [diff] [blame] | 858 | 'mojo_application', |
[email protected] | 8110218d | 2014-05-01 23:30:06 | [diff] [blame] | 859 | 'mojo_system_impl', |
| 860 | ], |
| 861 | 'sources': [ |
| 862 | 'dbus/dbus_external_service.h', |
| 863 | 'dbus/dbus_external_service.cc', |
| 864 | ], |
| 865 | }, |
| 866 | ], |
| 867 | }], |
[email protected] | 9eb072b6 | 2014-03-19 20:35:16 | [diff] [blame] | 868 | ['test_isolation_mode != "noop"', { |
| 869 | 'targets': [ |
| 870 | { |
| 871 | 'target_name': 'mojo_js_unittests_run', |
| 872 | 'type': 'none', |
| 873 | 'dependencies': [ |
| 874 | 'mojo_js_unittests', |
| 875 | ], |
| 876 | 'includes': [ |
| 877 | '../build/isolate.gypi', |
| 878 | 'mojo_js_unittests.isolate', |
| 879 | ], |
| 880 | 'sources': [ |
| 881 | 'mojo_js_unittests.isolate', |
| 882 | ], |
| 883 | }, |
| 884 | ], |
| 885 | }], |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 886 | ['use_aura==1', { |
| 887 | 'targets': [ |
| 888 | { |
| 889 | 'target_name': 'mojo_aura_support', |
| 890 | 'type': 'static_library', |
| 891 | 'dependencies': [ |
| 892 | '../cc/cc.gyp:cc', |
| 893 | '../ui/aura/aura.gyp:aura', |
| 894 | '../ui/events/events.gyp:events', |
| 895 | '../ui/events/events.gyp:events_base', |
| 896 | '../ui/compositor/compositor.gyp:compositor', |
| 897 | '../ui/gl/gl.gyp:gl', |
| 898 | '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
| 899 | 'mojo_cc_support', |
| 900 | 'mojo_gles2', |
| 901 | 'mojo_native_viewport_bindings', |
| 902 | ], |
| 903 | 'sources': [ |
[email protected] | 6929154 | 2014-06-07 08:17:42 | [diff] [blame] | 904 | 'aura/context_factory_mojo.cc', |
| 905 | 'aura/context_factory_mojo.h', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 906 | 'aura/screen_mojo.cc', |
| 907 | 'aura/screen_mojo.h', |
[email protected] | 6929154 | 2014-06-07 08:17:42 | [diff] [blame] | 908 | 'aura/window_tree_host_mojo.cc', |
| 909 | 'aura/window_tree_host_mojo.h', |
| 910 | 'aura/window_tree_host_mojo_delegate.h', |
[email protected] | 78ecb7c | 2014-05-06 22:34:24 | [diff] [blame] | 911 | ], |
| 912 | }, |
| 913 | ], |
| 914 | }], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 915 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 916 | } |