[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] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 31 | 'mojo_bindings', |
[email protected] | cbf7e96 | 2013-11-07 20:35:52 | [diff] [blame] | 32 | 'mojo_common_lib', |
| 33 | 'mojo_common_unittests', |
[email protected] | 9383074 | 2013-11-08 12:17:24 | [diff] [blame] | 34 | 'mojo_js', |
[email protected] | de3d0b0 | 2013-12-03 23:18:25 | [diff] [blame] | 35 | 'mojo_js_unittests', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 36 | 'mojo_public_test_support', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 37 | 'mojo_public_bindings_unittests', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame^] | 38 | 'mojo_public_environment_unittests', |
[email protected] | 0b438a6 | 2014-01-12 06:19:03 | [diff] [blame] | 39 | 'mojo_public_system_perftests', |
| 40 | 'mojo_public_system_unittests', |
| 41 | 'mojo_public_utility_unittests', |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 42 | 'mojo_sample_app', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 43 | 'mojo_shell', |
| 44 | 'mojo_shell_lib', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 45 | 'mojo_shell_unittests', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 46 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 47 | 'mojo_system_impl', |
[email protected] | b4aef95 | 2013-11-26 23:25:45 | [diff] [blame] | 48 | 'mojo_system_unittests', |
[email protected] | 273e217 | 2013-12-10 07:24:16 | [diff] [blame] | 49 | 'mojo_utility', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 50 | ], |
[email protected] | 331e4db | 2014-01-07 21:46:04 | [diff] [blame] | 51 | 'conditions': [ |
| 52 | ['use_aura==1', { |
| 53 | 'dependencies': [ |
| 54 | 'mojo_aura_demo', |
| 55 | ], |
| 56 | }], |
| 57 | ] |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 58 | }, |
| 59 | { |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 60 | 'target_name': 'mojo_run_all_unittests', |
| 61 | 'type': 'static_library', |
| 62 | 'dependencies': [ |
| 63 | '../base/base.gyp:base', |
| 64 | '../base/base.gyp:test_support_base', |
[email protected] | d16a5b4 | 2013-12-03 17:47:24 | [diff] [blame] | 65 | '../testing/gtest.gyp:gtest', |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 66 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 67 | 'mojo_system_impl', |
[email protected] | 4b4068d | 2013-11-11 21:12:03 | [diff] [blame] | 68 | ], |
| 69 | 'sources': [ |
| 70 | 'common/test/run_all_unittests.cc', |
| 71 | ], |
| 72 | }, |
| 73 | { |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 74 | 'target_name': 'mojo_run_all_perftests', |
| 75 | 'type': 'static_library', |
| 76 | 'dependencies': [ |
| 77 | '../base/base.gyp:test_support_base', |
| 78 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 79 | 'mojo_system_impl', |
[email protected] | 5f8471fb | 2013-11-26 23:07:24 | [diff] [blame] | 80 | ], |
| 81 | 'sources': [ |
| 82 | 'common/test/run_all_perftests.cc', |
| 83 | ], |
| 84 | }, |
| 85 | { |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 86 | 'target_name': 'mojo_system_impl', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 87 | 'type': '<(component)', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 88 | 'dependencies': [ |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 89 | 'mojo_system', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 90 | '../base/base.gyp:base', |
| 91 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 92 | 'defines': [ |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 93 | 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 94 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 95 | 'sources': [ |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 96 | 'system/channel.cc', |
| 97 | 'system/channel.h', |
[email protected] | 3244698 | 2013-12-16 20:58:48 | [diff] [blame] | 98 | 'system/constants.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 99 | 'system/core_impl.cc', |
| 100 | 'system/core_impl.h', |
[email protected] | 82d1954d | 2013-12-13 22:23:19 | [diff] [blame] | 101 | 'system/data_pipe.cc', |
| 102 | 'system/data_pipe.h', |
[email protected] | ae3d357 | 2013-12-14 00:00:53 | [diff] [blame] | 103 | 'system/data_pipe_consumer_dispatcher.cc', |
| 104 | 'system/data_pipe_consumer_dispatcher.h', |
[email protected] | 82d1954d | 2013-12-13 22:23:19 | [diff] [blame] | 105 | 'system/data_pipe_producer_dispatcher.cc', |
| 106 | 'system/data_pipe_producer_dispatcher.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 107 | 'system/dispatcher.cc', |
| 108 | 'system/dispatcher.h', |
[email protected] | 3d427fb | 2014-01-11 00:31:08 | [diff] [blame] | 109 | 'system/embedder.cc', |
| 110 | 'system/embedder.h', |
[email protected] | 0079801 | 2013-12-16 20:39:30 | [diff] [blame] | 111 | 'system/local_data_pipe.cc', |
| 112 | 'system/local_data_pipe.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 113 | 'system/local_message_pipe_endpoint.cc', |
| 114 | 'system/local_message_pipe_endpoint.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 115 | 'system/memory.cc', |
| 116 | 'system/memory.h', |
[email protected] | aae74e9 | 2013-10-03 20:52:34 | [diff] [blame] | 117 | 'system/message_in_transit.cc', |
| 118 | 'system/message_in_transit.h', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 119 | 'system/message_pipe.cc', |
| 120 | 'system/message_pipe.h', |
| 121 | 'system/message_pipe_dispatcher.cc', |
| 122 | 'system/message_pipe_dispatcher.h', |
[email protected] | 989f8bc | 2013-10-16 00:24:37 | [diff] [blame] | 123 | 'system/message_pipe_endpoint.cc', |
| 124 | 'system/message_pipe_endpoint.h', |
[email protected] | 072b8d48 | 2013-12-02 18:51:43 | [diff] [blame] | 125 | 'system/platform_channel.cc', |
| 126 | 'system/platform_channel.h', |
[email protected] | 2f8f0c0 | 2013-12-03 23:44:57 | [diff] [blame] | 127 | 'system/platform_channel_handle.cc', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 128 | 'system/platform_channel_handle.h', |
[email protected] | 35cfded | 2014-01-10 20:50:18 | [diff] [blame] | 129 | 'system/platform_channel_pair.cc', |
| 130 | 'system/platform_channel_pair.h', |
| 131 | 'system/platform_channel_pair_posix.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 132 | 'system/proxy_message_pipe_endpoint.cc', |
| 133 | 'system/proxy_message_pipe_endpoint.h', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 134 | 'system/raw_channel.h', |
| 135 | 'system/raw_channel_posix.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 136 | 'system/raw_channel_win.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 137 | 'system/simple_dispatcher.cc', |
| 138 | 'system/simple_dispatcher.h', |
| 139 | 'system/waiter.cc', |
| 140 | 'system/waiter.h', |
| 141 | 'system/waiter_list.cc', |
| 142 | 'system/waiter_list.h', |
| 143 | ], |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 144 | }, |
| 145 | { |
| 146 | 'target_name': 'mojo_system_unittests', |
| 147 | 'type': 'executable', |
| 148 | 'dependencies': [ |
| 149 | '../base/base.gyp:run_all_unittests', |
| 150 | '../testing/gtest.gyp:gtest', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 151 | 'mojo_common_test_support', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 152 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 153 | 'mojo_system_impl', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 154 | ], |
| 155 | 'sources': [ |
| 156 | 'system/core_impl_unittest.cc', |
| 157 | 'system/core_test_base.cc', |
| 158 | 'system/core_test_base.h', |
[email protected] | 92fb7f4 | 2013-12-17 22:38:30 | [diff] [blame] | 159 | 'system/data_pipe_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 160 | 'system/dispatcher_unittest.cc', |
[email protected] | 92fb7f4 | 2013-12-17 22:38:30 | [diff] [blame] | 161 | 'system/local_data_pipe_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 162 | 'system/message_pipe_dispatcher_unittest.cc', |
| 163 | 'system/message_pipe_unittest.cc', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 164 | 'system/multiprocess_message_pipe_unittest.cc', |
[email protected] | 5a0d006 | 2013-10-11 19:07:18 | [diff] [blame] | 165 | 'system/raw_channel_posix_unittest.cc', |
[email protected] | ccf8453d | 2013-11-07 17:49:50 | [diff] [blame] | 166 | 'system/remote_message_pipe_posix_unittest.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 167 | 'system/simple_dispatcher_unittest.cc', |
[email protected] | b334246d | 2013-10-24 00:08:57 | [diff] [blame] | 168 | 'system/test_utils.cc', |
[email protected] | 3d58663b | 2013-09-28 00:30:04 | [diff] [blame] | 169 | 'system/test_utils.h', |
| 170 | 'system/waiter_list_unittest.cc', |
| 171 | 'system/waiter_test_utils.cc', |
| 172 | 'system/waiter_test_utils.h', |
| 173 | 'system/waiter_unittest.cc', |
| 174 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 175 | }, |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 176 | { |
[email protected] | 2e5f3a0 | 2013-12-21 07:12:37 | [diff] [blame] | 177 | 'target_name': 'mojo_gles2', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 178 | 'type': '<(component)', |
| 179 | 'dependencies': [ |
| 180 | '../gpu/gpu.gyp:gles2_c_lib', |
| 181 | ], |
| 182 | 'defines': [ |
[email protected] | 2e5f3a0 | 2013-12-21 07:12:37 | [diff] [blame] | 183 | 'MOJO_GLES2_IMPLEMENTATION', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 184 | ], |
| 185 | 'sources': [ |
[email protected] | 2e5f3a0 | 2013-12-21 07:12:37 | [diff] [blame] | 186 | 'gles2/gles2.cc', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 187 | ], |
| 188 | }, |
| 189 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 190 | 'target_name': 'mojo_common_lib', |
| 191 | 'type': '<(component)', |
| 192 | 'defines': [ |
| 193 | 'MOJO_COMMON_IMPLEMENTATION', |
| 194 | ], |
| 195 | 'dependencies': [ |
| 196 | '../base/base.gyp:base', |
| 197 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 198 | 'mojo_system', |
| 199 | ], |
| 200 | 'sources': [ |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 201 | 'common/common_type_converters.cc', |
| 202 | 'common/common_type_converters.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 203 | 'common/handle_watcher.cc', |
| 204 | 'common/handle_watcher.h', |
| 205 | 'common/message_pump_mojo.cc', |
| 206 | 'common/message_pump_mojo.h', |
| 207 | 'common/message_pump_mojo_handler.h', |
| 208 | ], |
| 209 | 'conditions': [ |
| 210 | ['OS == "win"', { |
| 211 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 212 | 'msvs_disabled_warnings': [ |
| 213 | 4267, |
| 214 | ], |
| 215 | }], |
| 216 | ], |
| 217 | }, |
| 218 | { |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 219 | 'target_name': 'mojo_common_test_support', |
| 220 | 'type': 'static_library', |
| 221 | 'dependencies': [ |
| 222 | '../base/base.gyp:base', |
| 223 | '../base/base.gyp:test_support_base', |
| 224 | '../testing/gtest.gyp:gtest', |
| 225 | 'mojo_system', |
| 226 | 'mojo_system_impl', |
| 227 | ], |
| 228 | 'sources': [ |
| 229 | 'common/test/multiprocess_test_base.cc', |
| 230 | 'common/test/multiprocess_test_base.h', |
| 231 | ], |
| 232 | }, |
| 233 | { |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 234 | 'target_name': 'mojo_common_unittests', |
| 235 | 'type': 'executable', |
| 236 | 'dependencies': [ |
| 237 | '../base/base.gyp:base', |
| 238 | '../base/base.gyp:base_message_loop_tests', |
| 239 | '../testing/gtest.gyp:gtest', |
[email protected] | c2a52bf | 2013-12-02 13:55:36 | [diff] [blame] | 240 | 'mojo_bindings', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame^] | 241 | 'mojo_environment_chromium', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 242 | 'mojo_common_lib', |
[email protected] | 1ad4014 | 2013-12-12 13:20:02 | [diff] [blame] | 243 | 'mojo_common_test_support', |
[email protected] | c2a52bf | 2013-12-02 13:55:36 | [diff] [blame] | 244 | 'mojo_public_test_support', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 245 | 'mojo_run_all_unittests', |
| 246 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 247 | 'mojo_system_impl', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 248 | ], |
| 249 | 'sources': [ |
[email protected] | 2229d425 | 2013-12-08 06:53:47 | [diff] [blame] | 250 | 'common/common_type_converters_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 251 | 'common/handle_watcher_unittest.cc', |
| 252 | 'common/message_pump_mojo_unittest.cc', |
[email protected] | d16a5b4 | 2013-12-03 17:47:24 | [diff] [blame] | 253 | 'common/test/multiprocess_test_base_unittest.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 254 | ], |
| 255 | 'conditions': [ |
| 256 | ['OS == "win"', { |
| 257 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 258 | 'msvs_disabled_warnings': [ |
| 259 | 4267, |
| 260 | ], |
| 261 | }], |
| 262 | ], |
| 263 | }, |
| 264 | { |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame^] | 265 | 'target_name': 'mojo_environment_chromium', |
| 266 | 'type': 'static_library', |
| 267 | 'dependencies': [ |
| 268 | 'mojo_environment_chromium_impl', |
| 269 | ], |
| 270 | 'sources': [ |
| 271 | 'environment/default_async_waiter.cc', |
| 272 | 'environment/buffer_tls.cc', |
| 273 | 'environment/environment.cc', |
| 274 | ], |
| 275 | 'include_dirs': [ |
| 276 | '..', |
| 277 | ], |
| 278 | 'export_dependent_settings': [ |
| 279 | 'mojo_environment_chromium_impl', |
| 280 | ], |
| 281 | }, |
| 282 | { |
| 283 | 'target_name': 'mojo_environment_chromium_impl', |
| 284 | 'type': '<(component)', |
| 285 | 'defines': [ |
| 286 | 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', |
| 287 | ], |
| 288 | 'dependencies': [ |
| 289 | '../base/base.gyp:base', |
| 290 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
| 291 | 'mojo_common_lib' |
| 292 | ], |
| 293 | 'sources': [ |
| 294 | 'environment/default_async_waiter_impl.cc', |
| 295 | 'environment/default_async_waiter_impl.h', |
| 296 | 'environment/buffer_tls_impl.cc', |
| 297 | 'environment/buffer_tls_impl.h', |
| 298 | ], |
| 299 | 'include_dirs': [ |
| 300 | '..', |
| 301 | ], |
| 302 | }, |
| 303 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 304 | 'target_name': 'mojo_shell_lib', |
| 305 | 'type': 'static_library', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 306 | 'dependencies': [ |
| 307 | '../base/base.gyp:base', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 308 | '../net/net.gyp:net', |
[email protected] | 3c44830 | 2013-10-22 08:39:08 | [diff] [blame] | 309 | '../url/url.gyp:url_lib', |
[email protected] | edce754 | 2013-12-18 02:07:37 | [diff] [blame] | 310 | 'mojo_shell_bindings', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 311 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 312 | 'mojo_system_impl', |
[email protected] | 2e5f3a0 | 2013-12-21 07:12:37 | [diff] [blame] | 313 | 'mojo_native_viewport_service', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 314 | ], |
| 315 | 'sources': [ |
[email protected] | 6e50d5e4 | 2013-10-27 02:45:46 | [diff] [blame] | 316 | 'shell/context.cc', |
| 317 | 'shell/context.h', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 318 | 'shell/dynamic_service_loader.cc', |
| 319 | 'shell/dynamic_service_loader.h', |
[email protected] | 4093270 | 2013-11-20 22:29:30 | [diff] [blame] | 320 | 'shell/init.cc', |
| 321 | 'shell/init.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 322 | 'shell/loader.cc', |
| 323 | 'shell/loader.h', |
[email protected] | c6c6e565 | 2013-10-29 02:40:30 | [diff] [blame] | 324 | 'shell/network_delegate.cc', |
| 325 | 'shell/network_delegate.h', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 326 | 'shell/run.cc', |
| 327 | 'shell/run.h', |
[email protected] | edce754 | 2013-12-18 02:07:37 | [diff] [blame] | 328 | 'shell/service_manager.cc', |
| 329 | 'shell/service_manager.h', |
[email protected] | 09d040f | 2013-12-20 20:44:59 | [diff] [blame] | 330 | 'shell/storage.cc', |
| 331 | 'shell/storage.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 332 | 'shell/switches.cc', |
| 333 | 'shell/switches.h', |
[email protected] | eba6f51 | 2013-10-19 00:17:09 | [diff] [blame] | 334 | 'shell/task_runners.cc', |
| 335 | 'shell/task_runners.h', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 336 | 'shell/url_request_context_getter.cc', |
| 337 | 'shell/url_request_context_getter.h', |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 338 | ], |
[email protected] | 6838e3c | 2013-10-11 20:16:22 | [diff] [blame] | 339 | 'conditions': [ |
| 340 | ['OS == "win"', { |
| 341 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 342 | 'msvs_disabled_warnings': [ |
| 343 | 4267, |
| 344 | ], |
| 345 | }], |
| 346 | ], |
[email protected] | 6cf6ca5 | 2013-10-10 20:52:11 | [diff] [blame] | 347 | }, |
| 348 | { |
[email protected] | edce754 | 2013-12-18 02:07:37 | [diff] [blame] | 349 | 'target_name': 'mojo_shell_bindings', |
| 350 | 'type': 'static_library', |
| 351 | 'sources': [ |
| 352 | 'shell/shell.mojom', |
| 353 | ], |
| 354 | 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
| 355 | 'export_dependent_settings': [ |
| 356 | 'mojo_bindings', |
| 357 | 'mojo_system', |
| 358 | ], |
| 359 | }, |
| 360 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 361 | 'target_name': 'mojo_shell', |
| 362 | 'type': 'executable', |
| 363 | 'dependencies': [ |
| 364 | '../base/base.gyp:base', |
[email protected] | 4236839 | 2013-11-05 13:45:02 | [diff] [blame] | 365 | '../ui/gl/gl.gyp:gl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 366 | '../url/url.gyp:url_lib', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 367 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame^] | 368 | 'mojo_environment_chromium', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 369 | 'mojo_shell_lib', |
| 370 | 'mojo_system', |
[email protected] | 5fd29c1 | 2013-12-10 07:13:47 | [diff] [blame] | 371 | 'mojo_system_impl', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 372 | ], |
| 373 | 'sources': [ |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 374 | 'shell/desktop/mojo_main.cc', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 375 | ], |
| 376 | 'conditions': [ |
| 377 | ['OS == "win"', { |
| 378 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 379 | 'msvs_disabled_warnings': [ |
| 380 | 4267, |
| 381 | ], |
| 382 | }], |
| 383 | ], |
| 384 | }, |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 385 | { |
| 386 | 'target_name': 'mojo_shell_unittests', |
| 387 | 'type': 'executable', |
| 388 | 'dependencies': [ |
| 389 | '../base/base.gyp:base', |
| 390 | '../testing/gtest.gyp:gtest', |
| 391 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame^] | 392 | 'mojo_environment_chromium', |
[email protected] | df47c49 | 2014-01-03 22:50:15 | [diff] [blame] | 393 | 'mojo_run_all_unittests', |
| 394 | 'mojo_shell_lib', |
| 395 | ], |
| 396 | 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
| 397 | 'sources': [ |
| 398 | 'shell/service_manager_unittest.cc', |
| 399 | 'shell/test.mojom', |
| 400 | ], |
| 401 | }, |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 402 | ], |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 403 | 'conditions': [ |
| 404 | ['OS=="android"', { |
| 405 | 'targets': [ |
| 406 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 407 | 'target_name': 'mojo_native_viewport_java', |
[email protected] | 29ccd8e | 2013-11-01 16:44:56 | [diff] [blame] | 408 | 'type': 'none', |
| 409 | 'dependencies': [ |
| 410 | '../base/base.gyp:base_java', |
| 411 | ], |
| 412 | 'variables': { |
| 413 | 'java_in_dir': '<(DEPTH)/mojo/services/native_viewport/android', |
| 414 | }, |
| 415 | 'includes': [ '../build/java.gypi' ], |
| 416 | }, |
| 417 | { |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 418 | 'target_name': 'mojo_java_set_jni_headers', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 419 | 'type': 'none', |
| 420 | 'variables': { |
| 421 | 'jni_gen_package': 'mojo', |
[email protected] | de85750 | 2014-01-10 15:08:04 | [diff] [blame] | 422 | 'jni_generator_ptr_type': 'long', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 423 | 'input_java_class': 'java/util/HashSet.class', |
| 424 | }, |
| 425 | 'includes': [ '../build/jar_file_jni_generator.gypi' ], |
| 426 | }, |
| 427 | { |
| 428 | 'target_name': 'mojo_jni_headers', |
| 429 | 'type': 'none', |
| 430 | 'dependencies': [ |
[email protected] | 67f839c9 | 2013-12-11 03:26:40 | [diff] [blame] | 431 | 'mojo_java_set_jni_headers', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 432 | ], |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 433 | 'sources': [ |
[email protected] | 92aa30ec | 2013-12-05 06:39:18 | [diff] [blame] | 434 | 'services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 435 | 'shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 436 | ], |
| 437 | 'variables': { |
[email protected] | de85750 | 2014-01-10 15:08:04 | [diff] [blame] | 438 | 'jni_gen_package': 'mojo', |
| 439 | 'jni_generator_ptr_type': 'long', |
| 440 | }, |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 441 | 'includes': [ '../build/jni_generator.gypi' ], |
| 442 | }, |
| 443 | { |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 444 | 'target_name': 'libmojo_shell', |
| 445 | 'type': 'shared_library', |
| 446 | 'dependencies': [ |
| 447 | '../base/base.gyp:base', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 448 | '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 449 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 450 | '../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | 570c26d | 2013-10-30 04:07:46 | [diff] [blame] | 451 | '../ui/gl/gl.gyp:gl', |
[email protected] | c1e5c78 | 2013-11-12 05:10:07 | [diff] [blame] | 452 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame^] | 453 | 'mojo_environment_chromium', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 454 | 'mojo_jni_headers', |
[email protected] | 09d040f | 2013-12-20 20:44:59 | [diff] [blame] | 455 | 'mojo_shell_bindings', |
| 456 | 'mojo_shell_lib', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 457 | ], |
| 458 | 'sources': [ |
| 459 | 'shell/android/library_loader.cc', |
[email protected] | adeb6f7 | 2013-10-25 08:05:02 | [diff] [blame] | 460 | 'shell/android/mojo_main.cc', |
| 461 | 'shell/android/mojo_main.h', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 462 | ], |
| 463 | }, |
| 464 | { |
| 465 | 'target_name': 'mojo_shell_apk', |
| 466 | 'type': 'none', |
| 467 | 'dependencies': [ |
| 468 | '../base/base.gyp:base_java', |
| 469 | '../net/net.gyp:net_java', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 470 | 'mojo_native_viewport_java', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 471 | 'libmojo_shell', |
| 472 | ], |
| 473 | 'variables': { |
| 474 | 'apk_name': 'MojoShell', |
[email protected] | 0be9b24 | 2013-10-28 06:28:38 | [diff] [blame] | 475 | 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
| 476 | 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
[email protected] | 786d75c | 2013-10-24 20:29:35 | [diff] [blame] | 477 | 'native_lib_target': 'libmojo_shell', |
| 478 | }, |
| 479 | 'includes': [ '../build/java_apk.gypi' ], |
| 480 | } |
| 481 | ], |
| 482 | }], |
| 483 | ], |
[email protected] | 02657da | 2013-09-16 02:55:18 | [diff] [blame] | 484 | } |