OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'network_service_bindings_mojom', | |
9 'type': 'none', | |
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_message.mojom', | |
15 'services/network/public/interfaces/http_server.mojom', | |
16 'services/network/public/interfaces/net_address.mojom', | |
17 'services/network/public/interfaces/network_error.mojom', | |
18 'services/network/public/interfaces/network_service.mojom', | |
19 'services/network/public/interfaces/tcp_bound_socket.mojom', | |
20 'services/network/public/interfaces/tcp_connected_socket.mojom', | |
21 'services/network/public/interfaces/tcp_server_socket.mojom', | |
22 'services/network/public/interfaces/udp_socket.mojom', | |
23 'services/network/public/interfaces/url_loader.mojom', | |
24 'services/network/public/interfaces/url_loader_factory.mojom', | |
25 'services/network/public/interfaces/web_socket.mojom', | |
26 'services/network/public/interfaces/web_socket_factory.mojom', | |
27 ], | |
28 'mojom_include_path': '<(DEPTH)/mojo/services', | |
29 }, | |
30 'includes': [ | |
31 'mojom_bindings_generator_explicit.gypi', | |
32 ], | |
33 }, | |
34 { | |
35 # GN version: //mojo/services/network/public/interfaces | |
36 'target_name': 'network_service_bindings_lib', | |
37 'type': 'static_library', | |
38 'dependencies': [ | |
39 'network_service_bindings_mojom', | |
40 ], | |
41 }, | |
42 { | |
43 # Target used to depend only on the bindings generation action, not on any | |
44 # outputs. | |
45 'target_name': 'network_service_bindings_generation', | |
46 'type': 'none', | |
47 'hard_dependency': 1, | |
48 'dependencies': [ | |
49 'network_service_bindings_mojom', | |
50 ], | |
51 }, | |
52 { | |
53 # GN version: //mojo/converters/network | |
54 'target_name': 'network_type_converters', | |
55 'type': 'static_library', | |
56 'dependencies': [ | |
57 'network_service_bindings_lib', | |
58 ], | |
59 'sources': [ | |
60 'converters/network/network_type_converters.cc', | |
61 'converters/network/network_type_converters.h', | |
62 ], | |
63 }, | |
64 { | |
65 'target_name': 'tracing_service_bindings_mojom', | 8 'target_name': 'tracing_service_bindings_mojom', |
66 'type': 'none', | 9 'type': 'none', |
67 'variables': { | 10 'variables': { |
68 'mojom_files': [ | 11 'mojom_files': [ |
69 'services/tracing/public/interfaces/tracing.mojom', | 12 'services/tracing/public/interfaces/tracing.mojom', |
70 ], | 13 ], |
71 'mojom_include_path': '<(DEPTH)/mojo/services', | 14 'mojom_include_path': '<(DEPTH)/mojo/services', |
72 }, | 15 }, |
73 'includes': [ | 16 'includes': [ |
74 'mojom_bindings_generator_explicit.gypi', | 17 'mojom_bindings_generator_explicit.gypi', |
75 ], | 18 ], |
76 }, | 19 }, |
77 { | 20 { |
78 # GN version: //mojo/services/tracing/public/interfaces | 21 # GN version: //mojo/services/tracing/public/interfaces |
79 'target_name': 'tracing_service_bindings_lib', | 22 'target_name': 'tracing_service_bindings_lib', |
80 'type': 'static_library', | 23 'type': 'static_library', |
81 'dependencies': [ | 24 'dependencies': [ |
82 'tracing_service_bindings_mojom', | 25 'tracing_service_bindings_mojom', |
83 ], | 26 ], |
84 }, | 27 }, |
85 ], | 28 ], |
86 } | 29 } |
OLD | NEW |