| Index: components/network_hints.gypi
|
| diff --git a/components/network_hints.gypi b/components/network_hints.gypi
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b6944f129ddfd003679df207aa28796ef3aa810a
|
| --- /dev/null
|
| +++ b/components/network_hints.gypi
|
| @@ -0,0 +1,70 @@
|
| +# Copyright 2014 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': [
|
| + {
|
| + # GN version: //components/network_hints/common
|
| + 'target_name': 'network_hints_common',
|
| + 'type': 'static_library',
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'dependencies': [
|
| + '../base/base.gyp:base',
|
| + ],
|
| + 'sources': [
|
| + 'network_hints/common/network_hints_common.cc',
|
| + 'network_hints/common/network_hints_common.h',
|
| + 'network_hints/common/network_hints_message_generator.cc',
|
| + 'network_hints/common/network_hints_message_generator.h',
|
| + 'network_hints/common/network_hints_messages.cc',
|
| + 'network_hints/common/network_hints_messages.h',
|
| + ],
|
| + },
|
| + {
|
| + # GN version: //components/network_hints/browser
|
| + 'target_name': 'network_hints_browser',
|
| + 'type': 'static_library',
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'dependencies': [
|
| + '../content/content.gyp:content_browser',
|
| + '../net/net.gyp:net',
|
| + ],
|
| + 'sources': [
|
| + 'network_hints/browser/network_hints_message_filter.cc',
|
| + 'network_hints/browser/network_hints_message_filter.h',
|
| + ],
|
| + },
|
| + ],
|
| + 'conditions': [
|
| + ['OS!="ios"', {
|
| + 'targets': [
|
| + {
|
| + # GN version: //components/network_hints/renderer
|
| + 'target_name': 'network_hints_renderer',
|
| + 'type': 'static_library',
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'dependencies': [
|
| + 'network_hints_common',
|
| + '../content/content.gyp:content_renderer',
|
| + '../third_party/WebKit/public/blink.gyp:blink',
|
| + ],
|
| + 'sources': [
|
| + 'network_hints/renderer/dns_prefetch_queue.cc',
|
| + 'network_hints/renderer/dns_prefetch_queue.h',
|
| + 'network_hints/renderer/prescient_networking_dispatcher.cc',
|
| + 'network_hints/renderer/prescient_networking_dispatcher.h',
|
| + 'network_hints/renderer/renderer_dns_prefetch.cc',
|
| + 'network_hints/renderer/renderer_dns_prefetch.h',
|
| + ],
|
| + },
|
| + ],
|
| + }],
|
| + ],
|
| +}
|
|
|