[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] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 32 | 'mojo_bindings', |
[email protected] | 4b1172e | 2014-01-15 22:26:31 | [diff] [blame] | 33 | 'mojo_compositor_app', |
[email protected] | cbf7e96 | 2013-11-07 20:35:52 | [diff] [blame] | 34 | 'mojo_common_lib', |
| 35 | 'mojo_common_unittests', |
[email protected] | 9383074 | 2013-11-08 12:17:24 | [diff] [blame] | 36 | 'mojo_js', |
[email protected] | de3d0b0 | 2013-12-03 23:18:25 | [diff] [blame] | 37 | 'mojo_js_unittests', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 38 | 'mojo_public_test_utils', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 39 | 'mojo_public_bindings_unittests', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 40 | 'mojo_public_environment_unittests', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 41 | 'mojo_public_system_perftests', |
| 42 | 'mojo_public_system_unittests', |
| 43 | 'mojo_public_utility_unittests', |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 44 | 'mojo_sample_app', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 45 | 'mojo_service_manager', |
| 46 | 'mojo_service_manager_unittests', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 47 | 'mojo_shell', |
| 48 | 'mojo_shell_lib', |
| 49 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 50 | 'mojo_system_impl', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 51 | 'mojo_system_unittests', |
[email protected] | 273e217 | 2013-12-10 07:24:16 | [diff] [blame] | 52 | 'mojo_utility', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 53 | ], |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 54 | 'conditions': [ |
| 55 | ['use_aura==1', { |
| 56 | 'dependencies': [ |
| 57 | 'mojo_aura_demo', |
[email protected] | bddb284 | 2014-01-27 22:38:19 | [diff] [blame] | 58 | 'mojo_launcher', |
[email protected] | 1fd49614 | 2014-01-29 05:16:02 | [diff] [blame] | 59 | 'mojo_view_manager', |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 60 | ], |
| 61 | }], |
| 62 | ] |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 63 | }, |
| 64 | { |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 65 | 'target_name': 'mojo_run_all_unittests', |
| 66 | 'type': 'static_library', |
| 67 | 'dependencies': [ |
| 68 | '../base/base.gyp:base', |
| 69 | '../base/base.gyp:test_support_base', |
[email protected] | d16a5b4 | 2013-12-03 17:47:24 | [diff] [blame] | 70 | '../testing/gtest.gyp:gtest', |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 71 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 72 | 'mojo_system_impl', |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 73 | 'mojo_test_support', |
| 74 | 'mojo_test_support_impl', |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 75 | ], |
| 76 | 'sources': [ |
| 77 | 'common/test/run_all_unittests.cc', |
| 78 | ], |
| 79 | }, |
| 80 | { |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 81 | 'target_name': 'mojo_run_all_perftests', |
| 82 | 'type': 'static_library', |
| 83 | 'dependencies': [ |
| 84 | '../base/base.gyp:test_support_base', |
| 85 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 86 | 'mojo_system_impl', |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 87 | 'mojo_test_support', |
| 88 | 'mojo_test_support_impl', |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 89 | ], |
| 90 | 'sources': [ |
| 91 | 'common/test/run_all_perftests.cc', |
| 92 | ], |
| 93 | }, |
| 94 | { |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 95 | 'target_name': 'mojo_system_impl', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 96 | 'type': '<(component)', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 97 | 'dependencies': [ |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 98 | 'mojo_system', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 99 | '../base/base.gyp:base', |
[email protected] | 44992e7 | 2014-03-04 07:44:13 | [diff] [blame] | 100 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 101 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 102 | 'defines': [ |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 103 | 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 104 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 105 | 'sources': [ |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 106 | 'system/channel.cc', |
| 107 | 'system/channel.h', |
[email protected] | 3244698 | 2013-12-16 20:58:48 | [diff] [blame] | 108 | 'system/constants.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 109 | 'system/core_impl.cc', |
| 110 | 'system/core_impl.h', |
[email protected] | 82d1954d | 2013-12-13 22:23:19 | [diff] [blame] | 111 | 'system/data_pipe.cc', |
| 112 | 'system/data_pipe.h', |
[email protected] | ae3d357 | 2013-12-14 00:00:53 | [diff] [blame] | 113 | 'system/data_pipe_consumer_dispatcher.cc', |
| 114 | 'system/data_pipe_consumer_dispatcher.h', |
[email protected] | 82d1954d | 2013-12-13 22:23:19 | [diff] [blame] | 115 | 'system/data_pipe_producer_dispatcher.cc', |
| 116 | 'system/data_pipe_producer_dispatcher.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 117 | 'system/dispatcher.cc', |
| 118 | 'system/dispatcher.h', |
[email protected] | d1ffc69c | 2014-01-16 21:48:06 | [diff] [blame] | 119 | 'system/embedder/embedder.cc', |
| 120 | 'system/embedder/embedder.h', |
| 121 | 'system/embedder/platform_channel_pair.cc', |
| 122 | 'system/embedder/platform_channel_pair.h', |
| 123 | 'system/embedder/platform_channel_pair_posix.cc', |
[email protected] | c6426566 | 2014-02-05 18:40:13 | [diff] [blame] | 124 | 'system/embedder/platform_channel_pair_win.cc', |
[email protected] | d1ffc69c | 2014-01-16 21:48:06 | [diff] [blame] | 125 | 'system/embedder/platform_handle.cc', |
| 126 | 'system/embedder/platform_handle.h', |
| 127 | 'system/embedder/scoped_platform_handle.h', |
[email protected] | 0079801 | 2013-12-16 20:39:30 | [diff] [blame] | 128 | 'system/local_data_pipe.cc', |
| 129 | 'system/local_data_pipe.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 130 | 'system/local_message_pipe_endpoint.cc', |
| 131 | 'system/local_message_pipe_endpoint.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 132 | 'system/memory.cc', |
| 133 | 'system/memory.h', |
[email protected] | aae74e9 | 2013-10-03 20:52:34 | [diff] [blame] | 134 | 'system/message_in_transit.cc', |
| 135 | 'system/message_in_transit.h', |
[email protected] | 311a9a1 | 2014-03-03 23:17:23 | [diff] [blame] | 136 | 'system/message_in_transit_queue.cc', |
| 137 | 'system/message_in_transit_queue.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 138 | 'system/message_pipe.cc', |
| 139 | 'system/message_pipe.h', |
| 140 | 'system/message_pipe_dispatcher.cc', |
| 141 | 'system/message_pipe_dispatcher.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 142 | 'system/message_pipe_endpoint.cc', |
| 143 | 'system/message_pipe_endpoint.h', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 144 | 'system/proxy_message_pipe_endpoint.cc', |
| 145 | 'system/proxy_message_pipe_endpoint.h', |
[email protected] | 49762650 | 2014-02-27 18:13:25 | [diff] [blame] | 146 | 'system/raw_channel.cc', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 147 | 'system/raw_channel.h', |
| 148 | 'system/raw_channel_posix.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 149 | 'system/raw_channel_win.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 150 | 'system/simple_dispatcher.cc', |
| 151 | 'system/simple_dispatcher.h', |
| 152 | 'system/waiter.cc', |
| 153 | 'system/waiter.h', |
| 154 | 'system/waiter_list.cc', |
| 155 | 'system/waiter_list.h', |
[email protected] | 8579fe0 | 2014-01-16 23:51:10 | [diff] [blame] | 156 | # Test-only code: |
| 157 | # TODO(vtl): It's a little unfortunate that these end up in the same |
| 158 | # component as non-test-only code. In the static build, this code should |
| 159 | # hopefully be dead-stripped. |
| 160 | 'system/embedder/test_embedder.cc', |
| 161 | 'system/embedder/test_embedder.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 162 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 163 | }, |
| 164 | { |
| 165 | 'target_name': 'mojo_system_unittests', |
| 166 | 'type': 'executable', |
| 167 | 'dependencies': [ |
| 168 | '../base/base.gyp:run_all_unittests', |
| 169 | '../testing/gtest.gyp:gtest', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 170 | 'mojo_common_test_support', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 171 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 172 | 'mojo_system_impl', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 173 | ], |
| 174 | 'sources': [ |
| 175 | 'system/core_impl_unittest.cc', |
| 176 | 'system/core_test_base.cc', |
| 177 | 'system/core_test_base.h', |
[email protected] | 92fb7f4 | 2013-12-17 22:38:30 | [diff] [blame] | 178 | 'system/data_pipe_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 179 | 'system/dispatcher_unittest.cc', |
[email protected] | d1ffc69c | 2014-01-16 21:48:06 | [diff] [blame] | 180 | 'system/embedder/embedder_unittest.cc', |
[email protected] | 92fb7f4 | 2013-12-17 22:38:30 | [diff] [blame] | 181 | 'system/local_data_pipe_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 182 | 'system/message_pipe_dispatcher_unittest.cc', |
| 183 | 'system/message_pipe_unittest.cc', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 184 | 'system/multiprocess_message_pipe_unittest.cc', |
[email protected] | 44992e7 | 2014-03-04 07:44:13 | [diff] [blame] | 185 | 'system/raw_channel_unittest.cc', |
[email protected] | f764b25b | 2014-03-06 10:31:47 | [diff] [blame] | 186 | 'system/remote_message_pipe_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 187 | 'system/simple_dispatcher_unittest.cc', |
[email protected] | b334246d | 2013-10-24 00:08:57 | [diff] [blame] | 188 | 'system/test_utils.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 189 | 'system/test_utils.h', |
| 190 | 'system/waiter_list_unittest.cc', |
| 191 | 'system/waiter_test_utils.cc', |
| 192 | 'system/waiter_test_utils.h', |
| 193 | 'system/waiter_unittest.cc', |
| 194 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 195 | }, |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 196 | { |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 197 | 'target_name': 'mojo_gles2_impl', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 198 | 'type': '<(component)', |
| 199 | 'dependencies': [ |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 200 | '../base/base.gyp:base', |
| 201 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 202 | '../gpu/gpu.gyp:command_buffer_client', |
| 203 | '../gpu/gpu.gyp:command_buffer_common', |
| 204 | '../gpu/gpu.gyp:gles2_cmd_helper', |
| 205 | '../gpu/gpu.gyp:gles2_implementation', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 206 | 'mojo_gles2', |
[email protected] | c329ad7 | 2014-01-23 04:02:49 | [diff] [blame] | 207 | 'mojo_gles2_bindings', |
| 208 | 'mojo_environment_chromium', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 209 | ], |
| 210 | 'defines': [ |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 211 | 'MOJO_GLES2_IMPL_IMPLEMENTATION', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 212 | ], |
| 213 | 'sources': [ |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 214 | 'gles2/command_buffer_client_impl.cc', |
| 215 | 'gles2/command_buffer_client_impl.h', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 216 | 'gles2/gles2_impl_export.h', |
| 217 | 'gles2/gles2_support_impl.cc', |
| 218 | 'gles2/gles2_support_impl.h', |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 219 | 'gles2/gles2_context.cc', |
| 220 | 'gles2/gles2_context.h', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 221 | ], |
| 222 | }, |
| 223 | { |
[email protected] | 1477ef4c | 2014-02-13 20:40:53 | [diff] [blame] | 224 | 'target_name': 'mojo_test_support_impl', |
| 225 | 'type': 'static_library', |
| 226 | 'dependencies': [ |
| 227 | '../base/base.gyp:base', |
| 228 | ], |
| 229 | 'sources': [ |
| 230 | 'common/test/test_support_impl.cc', |
| 231 | 'common/test/test_support_impl.h', |
| 232 | ], |
| 233 | }, |
| 234 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 235 | 'target_name': 'mojo_common_lib', |
| 236 | 'type': '<(component)', |
| 237 | 'defines': [ |
| 238 | 'MOJO_COMMON_IMPLEMENTATION', |
| 239 | ], |
| 240 | 'dependencies': [ |
| 241 | '../base/base.gyp:base', |
| 242 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 243 | 'mojo_system', |
| 244 | ], |
| 245 | 'sources': [ |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 246 | 'common/common_type_converters.cc', |
| 247 | 'common/common_type_converters.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 248 | 'common/handle_watcher.cc', |
| 249 | 'common/handle_watcher.h', |
| 250 | 'common/message_pump_mojo.cc', |
| 251 | 'common/message_pump_mojo.h', |
| 252 | 'common/message_pump_mojo_handler.h', |
| 253 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 254 | }, |
| 255 | { |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 256 | 'target_name': 'mojo_common_test_support', |
| 257 | 'type': 'static_library', |
| 258 | 'dependencies': [ |
| 259 | '../base/base.gyp:base', |
| 260 | '../base/base.gyp:test_support_base', |
| 261 | '../testing/gtest.gyp:gtest', |
| 262 | 'mojo_system', |
| 263 | 'mojo_system_impl', |
| 264 | ], |
| 265 | 'sources': [ |
[email protected] | 3bc1379 | 2014-03-08 22:58:37 | [diff] [blame] | 266 | 'common/test/multiprocess_test_helper.cc', |
| 267 | 'common/test/multiprocess_test_helper.h', |
[email protected] | b8e55f6 | 2014-02-22 21:01:54 | [diff] [blame] | 268 | 'common/test/test_utils.h', |
| 269 | 'common/test/test_utils_posix.cc', |
| 270 | 'common/test/test_utils_win.cc', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 271 | ], |
| 272 | }, |
| 273 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 274 | 'target_name': 'mojo_common_unittests', |
| 275 | 'type': 'executable', |
| 276 | 'dependencies': [ |
| 277 | '../base/base.gyp:base', |
| 278 | '../base/base.gyp:base_message_loop_tests', |
| 279 | '../testing/gtest.gyp:gtest', |
[email protected] | c2a52bf | 2013-12-02 13:55:36 | [diff] [blame] | 280 | 'mojo_bindings', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 281 | 'mojo_environment_chromium', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 282 | 'mojo_common_lib', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 283 | 'mojo_common_test_support', |
[email protected] | 6eb908a | 2014-02-13 17:54:54 | [diff] [blame] | 284 | 'mojo_public_test_utils', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 285 | 'mojo_run_all_unittests', |
| 286 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 287 | 'mojo_system_impl', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 288 | ], |
| 289 | 'sources': [ |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 290 | 'common/common_type_converters_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 291 | 'common/handle_watcher_unittest.cc', |
| 292 | 'common/message_pump_mojo_unittest.cc', |
[email protected] | 3bc1379 | 2014-03-08 22:58:37 | [diff] [blame] | 293 | 'common/test/multiprocess_test_helper_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 294 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 295 | }, |
| 296 | { |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 297 | 'target_name': 'mojo_environment_chromium', |
| 298 | 'type': 'static_library', |
| 299 | 'dependencies': [ |
| 300 | 'mojo_environment_chromium_impl', |
| 301 | ], |
| 302 | 'sources': [ |
| 303 | 'environment/default_async_waiter.cc', |
| 304 | 'environment/buffer_tls.cc', |
| 305 | 'environment/environment.cc', |
| 306 | ], |
| 307 | 'include_dirs': [ |
| 308 | '..', |
| 309 | ], |
| 310 | 'export_dependent_settings': [ |
| 311 | 'mojo_environment_chromium_impl', |
| 312 | ], |
| 313 | }, |
| 314 | { |
| 315 | 'target_name': 'mojo_environment_chromium_impl', |
| 316 | 'type': '<(component)', |
| 317 | 'defines': [ |
| 318 | 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', |
| 319 | ], |
| 320 | 'dependencies': [ |
| 321 | '../base/base.gyp:base', |
| 322 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 323 | 'mojo_common_lib' |
| 324 | ], |
| 325 | 'sources': [ |
| 326 | 'environment/default_async_waiter_impl.cc', |
| 327 | 'environment/default_async_waiter_impl.h', |
| 328 | 'environment/buffer_tls_impl.cc', |
| 329 | 'environment/buffer_tls_impl.h', |
| 330 | ], |
| 331 | 'include_dirs': [ |
| 332 | '..', |
| 333 | ], |
| 334 | }, |
| 335 | { |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 336 | 'target_name': 'mojo_service_manager', |
| 337 | 'type': 'static_library', |
| 338 | 'dependencies': [ |
| 339 | '../base/base.gyp:base', |
[email protected] | d656e10 | 2014-03-04 18:29:48 | [diff] [blame] | 340 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 341 | '../net/net.gyp:net', |
| 342 | '../url/url.gyp:url_lib', |
| 343 | 'mojo_shell_bindings', |
| 344 | ], |
| 345 | 'sources': [ |
[email protected] | d656e10 | 2014-03-04 18:29:48 | [diff] [blame] | 346 | 'service_manager/service_loader.h', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 347 | 'service_manager/service_manager.cc', |
| 348 | 'service_manager/service_manager.h', |
| 349 | ], |
[email protected] | d656e10 | 2014-03-04 18:29:48 | [diff] [blame] | 350 | 'export_dependent_settings': [ |
| 351 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 352 | ], |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 353 | }, |
| 354 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 355 | 'target_name': 'mojo_shell_lib', |
| 356 | 'type': 'static_library', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 357 | 'dependencies': [ |
| 358 | '../base/base.gyp:base', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 359 | '../net/net.gyp:net', |
[email protected] | 3c44830 | 2013-10-22 08:39:08 | [diff] [blame] | 360 | '../url/url.gyp:url_lib', |
[email protected] | 826360a3 | 2014-01-22 22:19:27 | [diff] [blame] | 361 | 'mojo_gles2_impl', |
[email protected] | edce754 | 2013-12-18 02:07:37 | [diff] [blame] | 362 | 'mojo_shell_bindings', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 363 | 'mojo_service_manager', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 364 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 365 | 'mojo_system_impl', |
[email protected] | 2e5f3a0 | 2013-12-21 07:12:37 | [diff] [blame] | 366 | 'mojo_native_viewport_service', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 367 | ], |
| 368 | 'sources': [ |
[email protected] | 6e50d5e4 | 2013-10-27 02:45:46 | [diff] [blame] | 369 | 'shell/context.cc', |
| 370 | 'shell/context.h', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 371 | 'shell/dynamic_service_loader.cc', |
| 372 | 'shell/dynamic_service_loader.h', |
[email protected] | 4093270 | 2013-11-20 22:29:30 | [diff] [blame] | 373 | 'shell/init.cc', |
| 374 | 'shell/init.h', |
[email protected] | dcd9a9cd | 2014-02-03 09:15:41 | [diff] [blame] | 375 | 'shell/keep_alive.cc', |
| 376 | 'shell/keep_alive.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 377 | 'shell/loader.cc', |
| 378 | 'shell/loader.h', |
[email protected] | c6c6e565 | 2013-10-29 02:40:30 | [diff] [blame] | 379 | 'shell/network_delegate.cc', |
| 380 | 'shell/network_delegate.h', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 381 | 'shell/run.cc', |
| 382 | 'shell/run.h', |
[email protected] | 09d040f | 2013-12-20 20:44:59 | [diff] [blame] | 383 | 'shell/storage.cc', |
| 384 | 'shell/storage.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 385 | 'shell/switches.cc', |
| 386 | 'shell/switches.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 387 | 'shell/task_runners.cc', |
| 388 | 'shell/task_runners.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 389 | 'shell/url_request_context_getter.cc', |
| 390 | 'shell/url_request_context_getter.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 391 | ], |
| 392 | }, |
| 393 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 394 | 'target_name': 'mojo_shell', |
| 395 | 'type': 'executable', |
| 396 | 'dependencies': [ |
| 397 | '../base/base.gyp:base', |
[email protected] | 4236839 | 2013-11-05 13:45:02 | [diff] [blame] | 398 | '../ui/gl/gl.gyp:gl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 399 | '../url/url.gyp:url_lib', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 400 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 401 | 'mojo_environment_chromium', |
[email protected] | 76b8e58 | 2014-02-11 14:44:25 | [diff] [blame] | 402 | 'mojo_shell_bindings', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 403 | 'mojo_shell_lib', |
| 404 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 405 | 'mojo_system_impl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 406 | ], |
| 407 | 'sources': [ |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 408 | 'shell/desktop/mojo_main.cc', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 409 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 410 | }, |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 411 | { |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 412 | 'target_name': 'mojo_service_manager_unittests', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 413 | 'type': 'executable', |
| 414 | 'dependencies': [ |
| 415 | '../base/base.gyp:base', |
| 416 | '../testing/gtest.gyp:gtest', |
[email protected] | a771d1d1 | 2014-02-06 17:34:56 | [diff] [blame] | 417 | 'mojo_environment_standalone', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 418 | 'mojo_run_all_unittests', |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 419 | 'mojo_service_manager', |
[email protected] | a771d1d1 | 2014-02-06 17:34:56 | [diff] [blame] | 420 | 'mojo_utility', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 421 | ], |
| 422 | 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
| 423 | 'sources': [ |
[email protected] | fadab2eb | 2014-02-27 23:41:34 | [diff] [blame] | 424 | 'service_manager/service_manager_unittest.cc', |
| 425 | 'service_manager/test.mojom', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 426 | ], |
| 427 | }, |
[email protected] | f8c8cc1 | 2014-03-07 23:48:32 | [diff] [blame] | 428 | { |
| 429 | 'target_name': 'mojo_js_bindings_lib', |
| 430 | 'type': 'static_library', |
| 431 | 'dependencies': [ |
| 432 | '../base/base.gyp:base', |
| 433 | '../gin/gin.gyp:gin', |
| 434 | '../v8/tools/gyp/v8.gyp:v8', |
| 435 | 'mojo_common_lib', |
| 436 | 'mojo_system', |
| 437 | ], |
| 438 | 'export_dependent_settings': [ |
| 439 | '../base/base.gyp:base', |
| 440 | '../gin/gin.gyp:gin', |
| 441 | 'mojo_common_lib', |
| 442 | 'mojo_system', |
| 443 | ], |
| 444 | 'sources': [ |
| 445 | 'bindings/js/core.cc', |
| 446 | 'bindings/js/core.h', |
| 447 | 'bindings/js/handle.cc', |
| 448 | 'bindings/js/handle.h', |
| 449 | 'bindings/js/support.cc', |
| 450 | 'bindings/js/support.h', |
| 451 | 'bindings/js/waiting_callback.cc', |
| 452 | 'bindings/js/waiting_callback.h', |
| 453 | ], |
| 454 | }, |
[email protected] | 8de5246 | 2014-03-11 15:48:39 | [diff] [blame^] | 455 | { |
| 456 | 'target_name': 'mojo_js_unittests', |
| 457 | 'type': 'executable', |
| 458 | 'dependencies': [ |
| 459 | '../gin/gin.gyp:gin_test', |
| 460 | 'mojo_js_bindings_lib', |
| 461 | 'mojo_run_all_unittests', |
| 462 | ], |
| 463 | 'sources': [ |
| 464 | 'bindings/js/run_js_tests.cc', |
| 465 | ], |
| 466 | }, |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 467 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 468 | 'conditions': [ |
| 469 | ['OS=="android"', { |
| 470 | 'targets': [ |
| 471 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 472 | 'target_name': 'mojo_native_viewport_java', |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 473 | 'type': 'none', |
| 474 | 'dependencies': [ |
| 475 | '../base/base.gyp:base_java', |
| 476 | ], |
| 477 | 'variables': { |
| 478 | 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
| 479 | }, |
| 480 | 'includes': [ '../build/java.gypi' ], |
| 481 | }, |
| 482 | { |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 483 | 'target_name': 'mojo_java_set_jni_headers', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 484 | 'type': 'none', |
| 485 | 'variables': { |
| 486 | 'jni_gen_package': 'mojo', |
[email protected] | de85750 | 2014-01-10 15:08:04 | [diff] [blame] | 487 | 'jni_generator_ptr_type': 'long', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 488 | 'input_java_class': 'java/util/HashSet.class', |
| 489 | }, |
| 490 | 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
| 491 | }, |
| 492 | { |
| 493 | 'target_name': 'mojo_jni_headers', |
| 494 | 'type': 'none', |
| 495 | 'dependencies': [ |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 496 | 'mojo_java_set_jni_headers', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 497 | ], |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 498 | 'sources': [ |
[email protected] | 92aa30ec | 2013-12-05 06:39:18 | [diff] [blame] | 499 | 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 500 | 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 501 | ], |
| 502 | 'variables': { |
[email protected] | de85750 | 2014-01-10 15:08:04 | [diff] [blame] | 503 | 'jni_gen_package': 'mojo', |
| 504 | 'jni_generator_ptr_type': 'long', |
| 505 | }, |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 506 | 'includes': [ '../build/jni_generator.gypi' ], |
| 507 | }, |
| 508 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 509 | 'target_name': 'libmojo_shell', |
| 510 | 'type': 'shared_library', |
| 511 | 'dependencies': [ |
| 512 | '../base/base.gyp:base', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 513 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 514 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 515 | '../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 516 | '../ui/gl/gl.gyp:gl', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 517 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 518 | 'mojo_environment_chromium', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 519 | 'mojo_jni_headers', |
[email protected] | 09d040f | 2013-12-20 20:44:59 | [diff] [blame] | 520 | 'mojo_shell_bindings', |
| 521 | 'mojo_shell_lib', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 522 | ], |
| 523 | 'sources': [ |
| 524 | 'shell/android/library_loader.cc', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 525 | 'shell/android/mojo_main.cc', |
| 526 | 'shell/android/mojo_main.h', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 527 | ], |
| 528 | }, |
| 529 | { |
| 530 | 'target_name': 'mojo_shell_apk', |
| 531 | 'type': 'none', |
| 532 | 'dependencies': [ |
| 533 | '../base/base.gyp:base_java', |
| 534 | '../net/net.gyp:net_java', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 535 | 'mojo_native_viewport_java', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 536 | 'libmojo_shell', |
| 537 | ], |
| 538 | 'variables': { |
| 539 | 'apk_name': 'MojoShell', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 540 | 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
| 541 | 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 542 | 'native_lib_target': 'libmojo_shell', |
| 543 | }, |
| 544 | 'includes': [ '../build/java_apk.gypi' ], |
| 545 | } |
| 546 | ], |
| 547 | }], |
| 548 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 549 | } |