OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Essential components (and their tests) that are needed to build | 5 # Essential components (and their tests) that are needed to build |
6 # Chrome should be here. Other components that are useful only in | 6 # Chrome should be here. Other components that are useful only in |
7 # Mojo land like mojo_shell should be in mojo.gyp. | 7 # Mojo land like mojo_shell should be in mojo.gyp. |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 '../third_party/mojo/mojo_variables.gypi', | 10 '../third_party/mojo/mojo_variables.gypi', |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ], | 197 ], |
198 'include_dirs': [ | 198 'include_dirs': [ |
199 '..', | 199 '..', |
200 ], | 200 ], |
201 }, | 201 }, |
202 { | 202 { |
203 'target_name': 'mojo_application_bindings_mojom', | 203 'target_name': 'mojo_application_bindings_mojom', |
204 'type': 'none', | 204 'type': 'none', |
205 'variables': { | 205 'variables': { |
206 'mojom_files': [ | 206 'mojom_files': [ |
207 'application/public/interfaces/application.mojom', | 207 'shell/public/interfaces/application.mojom', |
208 'application/public/interfaces/application_manager.mojom', | 208 'shell/public/interfaces/application_manager.mojom', |
209 'application/public/interfaces/content_handler.mojom', | 209 'shell/public/interfaces/content_handler.mojom', |
210 'application/public/interfaces/service_provider.mojom', | 210 'shell/public/interfaces/service_provider.mojom', |
211 'application/public/interfaces/shell.mojom', | 211 'shell/public/interfaces/shell.mojom', |
212 ], | 212 ], |
213 }, | 213 }, |
214 'dependencies': [ | 214 'dependencies': [ |
215 'mojo_services.gyp:network_service_bindings_generation', | 215 'mojo_services.gyp:network_service_bindings_generation', |
216 ], | 216 ], |
217 'export_dependent_settings': [ | 217 'export_dependent_settings': [ |
218 'mojo_services.gyp:network_service_bindings_generation', | 218 'mojo_services.gyp:network_service_bindings_generation', |
219 ], | 219 ], |
220 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi'
], | 220 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi'
], |
221 }, | 221 }, |
222 { | 222 { |
223 # GN version: //mojo/application/public/cpp | 223 # GN version: //mojo/shell/public/cpp |
224 'target_name': 'mojo_application_base', | 224 'target_name': 'mojo_application_base', |
225 'type': 'static_library', | 225 'type': 'static_library', |
226 'sources': [ | 226 'sources': [ |
227 'application/public/cpp/app_lifetime_helper.h', | 227 'shell/public/cpp/app_lifetime_helper.h', |
228 'application/public/cpp/application_connection.h', | 228 'shell/public/cpp/application_connection.h', |
229 'application/public/cpp/application_delegate.h', | 229 'shell/public/cpp/application_delegate.h', |
230 'application/public/cpp/application_impl.h', | 230 'shell/public/cpp/application_impl.h', |
231 'application/public/cpp/application_runner.h', | 231 'shell/public/cpp/application_runner.h', |
232 'application/public/cpp/connect.h', | 232 'shell/public/cpp/connect.h', |
233 'application/public/cpp/initialize_base_and_icu.cc', | 233 'shell/public/cpp/initialize_base_and_icu.cc', |
234 'application/public/cpp/initialize_base_and_icu.h', | 234 'shell/public/cpp/initialize_base_and_icu.h', |
235 'application/public/cpp/interface_factory.h', | 235 'shell/public/cpp/interface_factory.h', |
236 'application/public/cpp/interface_factory_impl.h', | 236 'shell/public/cpp/interface_factory_impl.h', |
237 'application/public/cpp/lib/app_lifetime_helper.cc', | 237 'shell/public/cpp/lib/app_lifetime_helper.cc', |
238 'application/public/cpp/lib/application_delegate.cc', | 238 'shell/public/cpp/lib/application_delegate.cc', |
239 'application/public/cpp/lib/application_impl.cc', | 239 'shell/public/cpp/lib/application_impl.cc', |
240 'application/public/cpp/lib/application_runner.cc', | 240 'shell/public/cpp/lib/application_runner.cc', |
241 'application/public/cpp/lib/interface_factory_connector.h', | 241 'shell/public/cpp/lib/interface_factory_connector.h', |
242 'application/public/cpp/lib/service_connector_registry.cc', | 242 'shell/public/cpp/lib/service_connector_registry.cc', |
243 'application/public/cpp/lib/service_connector_registry.h', | 243 'shell/public/cpp/lib/service_connector_registry.h', |
244 'application/public/cpp/lib/service_provider_impl.cc', | 244 'shell/public/cpp/lib/service_provider_impl.cc', |
245 'application/public/cpp/lib/service_registry.cc', | 245 'shell/public/cpp/lib/service_registry.cc', |
246 'application/public/cpp/lib/service_registry.h', | 246 'shell/public/cpp/lib/service_registry.h', |
247 'application/public/cpp/service_connector.h', | 247 'shell/public/cpp/service_connector.h', |
248 'application/public/cpp/service_provider_impl.h', | 248 'shell/public/cpp/service_provider_impl.h', |
249 ], | 249 ], |
250 'dependencies': [ | 250 'dependencies': [ |
251 '../base/base.gyp:base_i18n', | 251 '../base/base.gyp:base_i18n', |
252 'mojo_application_bindings', | 252 'mojo_application_bindings', |
253 'mojo_message_pump_lib', | 253 'mojo_message_pump_lib', |
254 'mojo_services.gyp:network_type_converters', | 254 'mojo_services.gyp:network_type_converters', |
255 ], | 255 ], |
256 }, | 256 }, |
257 { | 257 { |
258 # GN version: //mojo/public/interfaces/application:application | 258 # GN version: //mojo/public/interfaces/application:application |
(...skipping 15 matching lines...) Expand all Loading... |
274 'dependencies': [ | 274 'dependencies': [ |
275 '../base/base.gyp:base', | 275 '../base/base.gyp:base', |
276 ], | 276 ], |
277 'sources': [ | 277 'sources': [ |
278 'test/test_utils.h', | 278 'test/test_utils.h', |
279 'test/test_utils_posix.cc', | 279 'test/test_utils_posix.cc', |
280 'test/test_utils_win.cc', | 280 'test/test_utils_win.cc', |
281 ], | 281 ], |
282 }, | 282 }, |
283 { | 283 { |
284 # GN version: //mojo/application/public/cpp/tests | 284 # GN version: //mojo/shell/public/cpp/tests |
285 'target_name': 'mojo_public_application_unittests', | 285 'target_name': 'mojo_public_application_unittests', |
286 'type': 'executable', | 286 'type': 'executable', |
287 'dependencies': [ | 287 'dependencies': [ |
288 'mojo_application_base', | 288 'mojo_application_base', |
289 '../base/base.gyp:base', | 289 '../base/base.gyp:base', |
290 '../testing/gtest.gyp:gtest', | 290 '../testing/gtest.gyp:gtest', |
291 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', | 291 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
292 '../third_party/mojo/mojo_public.gyp:mojo_utility', | 292 '../third_party/mojo/mojo_public.gyp:mojo_utility', |
293 '../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', | 293 '../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', |
294 ], | 294 ], |
295 'sources': [ | 295 'sources': [ |
296 'application/public/cpp/tests/service_registry_unittest.cc', | 296 'shell/public/cpp/tests/service_registry_unittest.cc', |
297 ], | 297 ], |
298 }, | 298 }, |
299 ], | 299 ], |
300 'conditions': [ | 300 'conditions': [ |
301 ['OS=="android"', { | 301 ['OS=="android"', { |
302 'targets': [ | 302 'targets': [ |
303 { | 303 { |
304 'target_name': 'mojo_jni_headers', | 304 'target_name': 'mojo_jni_headers', |
305 'type': 'none', | 305 'type': 'none', |
306 'dependencies': [ | 306 'dependencies': [ |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 '../build/isolate.gypi', | 368 '../build/isolate.gypi', |
369 ], | 369 ], |
370 'sources': [ | 370 'sources': [ |
371 'mojo_common_unittests.isolate', | 371 'mojo_common_unittests.isolate', |
372 ], | 372 ], |
373 }, | 373 }, |
374 ], | 374 ], |
375 }], | 375 }], |
376 ] | 376 ] |
377 } | 377 } |
OLD | NEW |