gn format: Special case for single arg function calls containing boolean ops
[chromium-blink-merge.git] / components / dns_prefetch.gypi
blobf5bb8adbef3608f7c09aacb9c22b3ed29ed58787
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/dns_prefetch/common
9       'target_name': 'dns_prefetch_common',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16       ],
17       'sources': [
18         'dns_prefetch/common/prefetch_common.cc',
19         'dns_prefetch/common/prefetch_common.h',
20         'dns_prefetch/common/prefetch_message_generator.cc',
21         'dns_prefetch/common/prefetch_message_generator.h',
22         'dns_prefetch/common/prefetch_messages.cc',
23         'dns_prefetch/common/prefetch_messages.h',
24       ],
25     },
26   ],
27   'conditions': [
28     ['OS!="ios"', {
29       'targets': [
30         {
31           # GN version: //components/dns_prefetch/renderer
32           'target_name': 'dns_prefetch_renderer',
33           'type': 'static_library',
34           'include_dirs': [
35             '..',
36           ],
37           'dependencies': [
38             'dns_prefetch_common',
39             '../content/content.gyp:content_renderer',
40           ],
41           'sources': [
42             'dns_prefetch/renderer/predictor_queue.cc',
43             'dns_prefetch/renderer/predictor_queue.h',
44             'dns_prefetch/renderer/renderer_net_predictor.cc',
45             'dns_prefetch/renderer/renderer_net_predictor.h',
46           ],
47         },
48       ],
49     }],
50   ],