Do not create the NativeViewport PlatformEventSource when headless.
[chromium-blink-merge.git] / mojo / mojo_services.gyp
blobbf969ad23339f211bf92c54da345e0890893160c
1 # Copyright 2015 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.
6   'targets': [{
7     # GN version: //mojo/services/network/public/interfaces
8     'target_name': 'network_service_bindings_mojom',
9     'type': 'static_library',
10     'variables': {
11       'mojom_files': [
12         'services/network/public/interfaces/cookie_store.mojom',
13         'services/network/public/interfaces/http_connection.mojom',
14         'services/network/public/interfaces/http_server.mojom',
15         'services/network/public/interfaces/net_address.mojom',
16         'services/network/public/interfaces/network_error.mojom',
17         'services/network/public/interfaces/network_service.mojom',
18         'services/network/public/interfaces/tcp_bound_socket.mojom',
19         'services/network/public/interfaces/tcp_connected_socket.mojom',
20         'services/network/public/interfaces/tcp_server_socket.mojom',
21         'services/network/public/interfaces/udp_socket.mojom',
22         'services/network/public/interfaces/url_loader.mojom',
23         'services/network/public/interfaces/web_socket.mojom',
24       ],
25       'mojom_include_path': '<(DEPTH)/mojo/services',
26     },
27     'includes': [
28       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
29     ],
30   }, {
31     # GN version: //third_party/mojo_services/src/content_handler/public/interfaces
32     'target_name': 'content_handler_bindings_mojom',
33     'type': 'static_library',
34     'variables': {
35       'mojom_files': [
36         '../third_party/mojo_services/src/content_handler/public/interfaces/content_handler.mojom',
37       ],
38       'mojom_include_path': '<(DEPTH)/mojo/services',
39     },
40     'includes': [
41       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
42     ],
43     'dependencies': [
44       '<(DEPTH)/mojo/mojo_services.gyp:network_service_bindings_mojom',
45       '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_application_bindings_mojom',
46     ],
47   }],