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

Side by Side Diff: components/network_hints.gypi

Issue 2144533002: Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change ownership of PrescientNetworkingDispatcher for proper shutdown Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/network_hints/common 8 # GN version: //components/network_hints/common
9 'target_name': 'network_hints_common', 9 'target_name': 'network_hints_common',
10 'type': 'static_library', 10 'type': 'static_library',
11 'include_dirs': [ 11 'include_dirs': [
12 '..', 12 '..',
13 ], 13 ],
14 'dependencies': [ 14 'dependencies': [
15 '../base/base.gyp:base', 15 '../base/base.gyp:base',
16 '../ui/accessibility/accessibility.gyp:accessibility', 16 '../ui/accessibility/accessibility.gyp:accessibility',
17 '../url/ipc/url_ipc.gyp:url_ipc', 17 '../url/ipc/url_ipc.gyp:url_ipc',
18 ], 18 ],
19 'sources': [ 19 'sources': [
20 'network_hints/common/network_hints_common.cc', 20 'network_hints/common/network_hints_common.cc',
21 'network_hints/common/network_hints_common.h', 21 'network_hints/common/network_hints_common.h',
22 'network_hints/common/network_hints_message_generator.cc', 22 'network_hints/common/network_hints_param_traits.cc',
23 'network_hints/common/network_hints_message_generator.h', 23 'network_hints/common/network_hints_param_traits.h',
24 'network_hints/common/network_hints_messages.cc',
25 'network_hints/common/network_hints_messages.h',
26 ], 24 ],
27 }, 25 },
28 { 26 {
29 # GN version: //components/network_hints/browser 27 # GN version: //components/network_hints/browser
30 'target_name': 'network_hints_browser', 28 'target_name': 'network_hints_browser',
31 'type': 'static_library', 29 'type': 'static_library',
32 'include_dirs': [ 30 'include_dirs': [
33 '..', 31 '..',
34 ], 32 ],
35 'dependencies': [ 33 'dependencies': [
34 'network_hints_mojom',
36 '../content/content.gyp:content_browser', 35 '../content/content.gyp:content_browser',
37 '../net/net.gyp:net', 36 '../net/net.gyp:net',
38 ], 37 ],
39 'sources': [ 38 'sources': [
40 'network_hints/browser/network_hints_message_filter.cc', 39 'network_hints/browser/network_hints_impl.cc',
41 'network_hints/browser/network_hints_message_filter.h', 40 'network_hints/browser/network_hints_impl.h',
42 ], 41 ],
43 }, 42 },
44 ], 43 ],
45 'conditions': [ 44 'conditions': [
46 ['OS!="ios"', { 45 ['OS!="ios"', {
47 'targets': [ 46 'targets': [
48 { 47 {
49 # GN version: //components/network_hints/renderer 48 # GN version: //components/network_hints/renderer
50 'target_name': 'network_hints_renderer', 49 'target_name': 'network_hints_renderer',
51 'type': 'static_library', 50 'type': 'static_library',
52 'include_dirs': [ 51 'include_dirs': [
53 '..', 52 '..',
54 ], 53 ],
55 'dependencies': [ 54 'dependencies': [
56 'network_hints_common', 55 'network_hints_common',
56 'network_hints_mojom',
57 '../content/content.gyp:content_renderer', 57 '../content/content.gyp:content_renderer',
58 '../services/shell/shell_public.gyp:shell_public',
58 '../third_party/WebKit/public/blink.gyp:blink', 59 '../third_party/WebKit/public/blink.gyp:blink',
59 ], 60 ],
60 'sources': [ 61 'sources': [
61 'network_hints/renderer/dns_prefetch_queue.cc', 62 'network_hints/renderer/dns_prefetch_queue.cc',
62 'network_hints/renderer/dns_prefetch_queue.h', 63 'network_hints/renderer/dns_prefetch_queue.h',
63 'network_hints/renderer/prescient_networking_dispatcher.cc', 64 'network_hints/renderer/prescient_networking_dispatcher.cc',
64 'network_hints/renderer/prescient_networking_dispatcher.h', 65 'network_hints/renderer/prescient_networking_dispatcher.h',
65 'network_hints/renderer/renderer_dns_prefetch.cc', 66 'network_hints/renderer/renderer_dns_prefetch.cc',
66 'network_hints/renderer/renderer_dns_prefetch.h', 67 'network_hints/renderer/renderer_dns_prefetch.h',
67 'network_hints/renderer/renderer_preconnect.cc', 68 'network_hints/renderer/renderer_preconnect.cc',
68 'network_hints/renderer/renderer_preconnect.h', 69 'network_hints/renderer/renderer_preconnect.h',
69 ], 70 ],
70 }, 71 },
72 {
73 # GN version: //components/network_hints/common:network_hints_mojom
74 'target_name': 'network_hints_mojom',
75 'type': 'static_library',
76 'dependencies': [
77 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
78 '../url/url.gyp:url_mojom',
79 ],
80 'sources': [
81 'network_hints/common/network_hints.mojom',
82 ],
83 'includes': [ '../mojo/mojom_bindings_generator.gypi' ],
84 'variables': {
85 'mojom_typemaps': [
86 '../url/mojo/gurl.typemap',
87 'network_hints/common/network_hints.typemap',
88 ],
89 },
90 },
71 ], 91 ],
72 }], 92 }],
73 ], 93 ],
74 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698