Fix NPE in isHidingTopControlsEnabled where WebContents is null.
[chromium-blink-merge.git] / mojo / mojo_services.gyp
blob8166ccb559ab7a007136315a726aeca146986044
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     {
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         ],
27         'mojom_include_path': '<(DEPTH)/mojo/services',
28       },
29       'includes': [
30         '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
31       ],
32     },
33     {
34       # GN version: //mojo/services/network/public/interfaces
35       'target_name': 'network_service_bindings_lib',
36       'type': 'static_library',
37       'dependencies': [
38         'network_service_bindings_mojom',
39       ],
40     },
41     {
42       # Target used to depend only on the bindings generation action, not on any
43       # outputs.
44       'target_name': 'network_service_bindings_generation',
45       'type': 'none',
46       'hard_dependency': 1,
47       'dependencies': [
48         'network_service_bindings_mojom',
49       ],
50     },
51     {
52       'target_name': 'updater_bindings_mojom',
53       'type': 'none',
54       'variables': {
55         'mojom_files': [
56           'services/updater/updater.mojom',
57         ],
58         'mojom_include_path': '<(DEPTH)/mojo/services',
59       },
60       'includes': [
61         '../third_party/mojo/mojom_bindings_generator_explicit.gypi',
62       ],
63     },
64     {
65       # GN version: //mojo/services/updater
66       'target_name': 'updater_bindings_lib',
67       'type': 'static_library',
68       'dependencies': [
69         'updater_bindings_mojom',
70       ],
71     },
72   ],