gn: 'platform_impl' should be a group instead of component (since it has no code...
[chromium-blink-merge.git] / mojo / mojo_services.gyp
blob76494215638e2d31f83950b971eaa78596f1f870
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     'target_name': 'network_service_bindings_mojom',
8     'type': 'none',
9     'variables': {
10       'mojom_files': [
11         'services/network/public/interfaces/cookie_store.mojom',
12         'services/network/public/interfaces/http_connection.mojom',
13         'services/network/public/interfaces/http_message.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/url_loader_factory.mojom',
24         'services/network/public/interfaces/web_socket.mojom',
25       ],
26       'mojom_include_path': '<(DEPTH)/mojo/services',
27     },
28     'includes': [
29       '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
30     ],
31   }, {
32     # GN version: //mojo/services/network/public/interfaces
33     'target_name': 'network_service_bindings_lib',
34     'type': 'static_library',
35     'dependencies': [
36       'network_service_bindings_mojom',
37     ],
38   }, {
39     # Target used to depend only on the bindings generation action, not on any
40     # outputs.
41     'target_name': 'network_service_bindings_generation',
42     'type': 'none',
43     'hard_dependency': 1,
44     'dependencies': [
45       'network_service_bindings_mojom',
46     ],
47   }],