summaryrefslogtreecommitdiffstats
path: root/mojo/mojo_services.gyp
blob: cb6c2fc9db6ad001ee8d79b5b7455481c07d5a51 (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
# 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': [
        '../third_party/mojo/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',
      ],
    },
    {
      'target_name': 'updater_bindings_mojom',
      'type': 'none',
      'variables': {
        'mojom_files': [
          'services/updater/updater.mojom',
        ],
        'mojom_include_path': '<(DEPTH)/mojo/services',
      },
      'includes': [
        '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
      ],
    },
    {
      # GN version: //mojo/services/updater
      'target_name': 'updater_bindings_lib',
      'type': 'static_library',
      'dependencies': [
        'updater_bindings_mojom',
      ],
    },
  ],
}