summaryrefslogtreecommitdiffstats
path: root/mojo/mojo_services.gyp
blob: a42243187f62bc18a4024697bd46625bb4e2fab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'network_service_bindings_mojom',
      'type': 'none',
      'variables': {
        'mojom_files': [
          'services/network/public/interfaces/cookie_store.mojom',
          'services/network/public/interfaces/http_connection.mojom',
          'services/network/public/interfaces/http_message.mojom',
          'services/network/public/interfaces/http_server.mojom',
          'services/network/public/interfaces/net_address.mojom',
          'services/network/public/interfaces/network_error.mojom',
          'services/network/public/interfaces/network_service.mojom',
          'services/network/public/interfaces/tcp_bound_socket.mojom',
          'services/network/public/interfaces/tcp_connected_socket.mojom',
          'services/network/public/interfaces/tcp_server_socket.mojom',
          'services/network/public/interfaces/udp_socket.mojom',
          'services/network/public/interfaces/url_loader.mojom',
          'services/network/public/interfaces/url_loader_factory.mojom',
          'services/network/public/interfaces/web_socket.mojom',
          'services/network/public/interfaces/web_socket_factory.mojom',
        ],
        'mojom_include_path': '<(DEPTH)/mojo/services',
      },
      'includes': [
        'mojom_bindings_generator_explicit.gypi',
      ],
    },
    {
      # GN version: //mojo/services/network/public/interfaces
      'target_name': 'network_service_bindings_lib',
      'type': 'static_library',
      'dependencies': [
        'network_service_bindings_mojom',
      ],
    },
    {
      # Target used to depend only on the bindings generation action, not on any
      # outputs.
      'target_name': 'network_service_bindings_generation',
      'type': 'none',
      'hard_dependency': 1,
      'dependencies': [
        'network_service_bindings_mojom',
      ],
    },
    {
      # GN version: //mojo/converters/network
      'target_name': 'network_type_converters',
      'type': 'static_library',
      'dependencies': [
        'network_service_bindings_lib',
      ],
      'sources': [
        'converters/network/network_type_converters.cc',
        'converters/network/network_type_converters.h',
      ],
    },
    {
      'target_name': 'tracing_service_bindings_mojom',
      'type': 'none',
      'variables': {
        'mojom_files': [
          'services/tracing/public/interfaces/tracing.mojom',
        ],
        'mojom_include_path': '<(DEPTH)/mojo/services',
      },
      'includes': [
        'mojom_bindings_generator_explicit.gypi',
      ],
    },
    {
      # GN version: //mojo/services/tracing/public/interfaces
      'target_name': 'tracing_service_bindings_lib',
      'type': 'static_library',
      'dependencies': [
        'tracing_service_bindings_mojom',
      ],
    },
  ],
}