Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: components/dns_prefetch.gypi

Issue 644123002: Componentize renderer side of DNS prefetching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dns_prefetch.gypi
diff --git a/components/dns_prefetch.gypi b/components/dns_prefetch.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..b64e23b99f5786ded443b6eb5a8465c3d7f3897f
--- /dev/null
+++ b/components/dns_prefetch.gypi
@@ -0,0 +1,45 @@
+# 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/dns_prefetch/common
+ 'target_name': 'dns_prefetch_common',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ 'sources': [
+ 'dns_prefetch/common/prefetch_common.cc',
+ 'dns_prefetch/common/prefetch_common.h',
+ 'dns_prefetch/common/prefetch_message_generator.cc',
+ 'dns_prefetch/common/prefetch_message_generator.h',
+ 'dns_prefetch/common/prefetch_messages.cc',
+ 'dns_prefetch/common/prefetch_messages.h',
+ ],
+ },
+ {
+ # GN version: //components/dns_prefetch/renderer
+ 'target_name': 'dns_prefetch_renderer',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ 'dns_prefetch_common',
+ '../content/content.gyp:content_renderer',
+ ],
+ 'sources': [
+ 'dns_prefetch/renderer/predictor_queue.cc',
+ 'dns_prefetch/renderer/predictor_queue.h',
+ 'dns_prefetch/renderer/renderer_net_predictor.cc',
+ 'dns_prefetch/renderer/renderer_net_predictor.h',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698