[Mac] A more robust way to ensure panels avoid key status on window close
[chromium-blink-merge.git] / components / network_hints.gypi
blob4edde6a5966aef059e5158d500699ded70d28dd1
1 # Copyright 2014 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       # GN version: //components/network_hints/common
9       'target_name': 'network_hints_common',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16       ],
17       'sources': [
18         'network_hints/common/network_hints_common.cc',
19         'network_hints/common/network_hints_common.h',
20         'network_hints/common/network_hints_message_generator.cc',
21         'network_hints/common/network_hints_message_generator.h',
22         'network_hints/common/network_hints_messages.cc',
23         'network_hints/common/network_hints_messages.h',
24       ],
25     },
26     {
27       # GN version: //components/network_hints/browser
28       'target_name': 'network_hints_browser',
29       'type': 'static_library',
30       'include_dirs': [
31         '..',
32       ],
33       'dependencies': [
34         '../content/content.gyp:content_browser',
35         '../net/net.gyp:net',
36       ],
37       'sources': [
38         'network_hints/browser/network_hints_message_filter.cc',
39         'network_hints/browser/network_hints_message_filter.h',
40       ],
41     },
42   ],
43   'conditions': [
44     ['OS!="ios"', {
45       'targets': [
46         {
47           # GN version: //components/network_hints/renderer
48           'target_name': 'network_hints_renderer',
49           'type': 'static_library',
50           'include_dirs': [
51             '..',
52           ],
53           'dependencies': [
54             'network_hints_common',
55             '../content/content.gyp:content_renderer',
56             '../third_party/WebKit/public/blink.gyp:blink',
57           ],
58           'sources': [
59             'network_hints/renderer/dns_prefetch_queue.cc',
60             'network_hints/renderer/dns_prefetch_queue.h',
61             'network_hints/renderer/prescient_networking_dispatcher.cc',
62             'network_hints/renderer/prescient_networking_dispatcher.h',
63             'network_hints/renderer/renderer_dns_prefetch.cc',
64             'network_hints/renderer/renderer_dns_prefetch.h',
65             'network_hints/renderer/renderer_preconnect.cc',
66             'network_hints/renderer/renderer_preconnect.h',
67           ],
68         },
69       ],
70     }],
71   ],