| OLD | NEW |
| 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 '../url/ipc/url_ipc.gyp:url_ipc', | 17 '../url/ipc/url_ipc.gyp:url_ipc', |
| 17 ], | 18 ], |
| 18 'sources': [ | 19 'sources': [ |
| 19 'network_hints/common/network_hints_common.cc', | 20 'network_hints/common/network_hints_common.cc', |
| 20 'network_hints/common/network_hints_common.h', | 21 'network_hints/common/network_hints_common.h', |
| 22 'network_hints/common/network_hints_message_generator.cc', |
| 23 'network_hints/common/network_hints_message_generator.h', |
| 24 'network_hints/common/network_hints_messages.cc', |
| 25 'network_hints/common/network_hints_messages.h', |
| 21 ], | 26 ], |
| 22 }, | 27 }, |
| 23 { | 28 { |
| 24 # GN version: //components/network_hints/browser | 29 # GN version: //components/network_hints/browser |
| 25 'target_name': 'network_hints_browser', | 30 'target_name': 'network_hints_browser', |
| 26 'type': 'static_library', | 31 'type': 'static_library', |
| 27 'include_dirs': [ | 32 'include_dirs': [ |
| 28 '..', | 33 '..', |
| 29 ], | 34 ], |
| 30 'dependencies': [ | 35 'dependencies': [ |
| 31 'network_hints_mojom', | |
| 32 'network_hints_public_cpp', | |
| 33 '../content/content.gyp:content_browser', | 36 '../content/content.gyp:content_browser', |
| 34 '../net/net.gyp:net', | 37 '../net/net.gyp:net', |
| 35 ], | 38 ], |
| 36 'sources': [ | 39 'sources': [ |
| 37 'network_hints/browser/network_hints_impl.cc', | 40 'network_hints/browser/network_hints_message_filter.cc', |
| 38 'network_hints/browser/network_hints_impl.h', | 41 'network_hints/browser/network_hints_message_filter.h', |
| 39 ], | |
| 40 }, | |
| 41 { | |
| 42 # GN version: //components/network_hints/public/cpp | |
| 43 'target_name': 'network_hints_public_cpp', | |
| 44 'type': 'static_library', | |
| 45 'include_dirs': [ | |
| 46 '..', | |
| 47 ], | |
| 48 'dependencies': [ | |
| 49 'network_hints_common', | |
| 50 '../base/base.gyp:base', | |
| 51 '../ipc/ipc.gyp:ipc', | |
| 52 '../url/ipc/url_ipc.gyp:url_ipc', | |
| 53 ], | |
| 54 'sources': [ | |
| 55 'network_hints/public/cpp/network_hints_param_traits.cc', | |
| 56 'network_hints/public/cpp/network_hints_param_traits.h', | |
| 57 ], | 42 ], |
| 58 }, | 43 }, |
| 59 ], | 44 ], |
| 60 'conditions': [ | 45 'conditions': [ |
| 61 ['OS!="ios"', { | 46 ['OS!="ios"', { |
| 62 'targets': [ | 47 'targets': [ |
| 63 { | 48 { |
| 64 # GN version: //components/network_hints/renderer | 49 # GN version: //components/network_hints/renderer |
| 65 'target_name': 'network_hints_renderer', | 50 'target_name': 'network_hints_renderer', |
| 66 'type': 'static_library', | 51 'type': 'static_library', |
| 67 'include_dirs': [ | 52 'include_dirs': [ |
| 68 '..', | 53 '..', |
| 69 ], | 54 ], |
| 70 'dependencies': [ | 55 'dependencies': [ |
| 71 'network_hints_common', | 56 'network_hints_common', |
| 72 'network_hints_mojom', | |
| 73 'network_hints_public_cpp', | |
| 74 '../content/content.gyp:content_renderer', | 57 '../content/content.gyp:content_renderer', |
| 75 '../services/shell/shell_public.gyp:shell_public', | |
| 76 '../third_party/WebKit/public/blink.gyp:blink', | 58 '../third_party/WebKit/public/blink.gyp:blink', |
| 77 ], | 59 ], |
| 78 'sources': [ | 60 'sources': [ |
| 79 'network_hints/renderer/dns_prefetch_queue.cc', | 61 'network_hints/renderer/dns_prefetch_queue.cc', |
| 80 'network_hints/renderer/dns_prefetch_queue.h', | 62 'network_hints/renderer/dns_prefetch_queue.h', |
| 81 'network_hints/renderer/prescient_networking_dispatcher.cc', | 63 'network_hints/renderer/prescient_networking_dispatcher.cc', |
| 82 'network_hints/renderer/prescient_networking_dispatcher.h', | 64 'network_hints/renderer/prescient_networking_dispatcher.h', |
| 83 'network_hints/renderer/renderer_dns_prefetch.cc', | 65 'network_hints/renderer/renderer_dns_prefetch.cc', |
| 84 'network_hints/renderer/renderer_dns_prefetch.h', | 66 'network_hints/renderer/renderer_dns_prefetch.h', |
| 85 'network_hints/renderer/renderer_preconnect.cc', | 67 'network_hints/renderer/renderer_preconnect.cc', |
| 86 'network_hints/renderer/renderer_preconnect.h', | 68 'network_hints/renderer/renderer_preconnect.h', |
| 87 ], | 69 ], |
| 88 }, | 70 }, |
| 89 { | |
| 90 # GN version: //components/network_hints/public/interfaces:network_hin
ts_mojom | |
| 91 'target_name': 'network_hints_mojom', | |
| 92 'type': 'static_library', | |
| 93 'dependencies': [ | |
| 94 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
| 95 '../url/url.gyp:url_mojom', | |
| 96 ], | |
| 97 'sources': [ | |
| 98 'network_hints/public/interfaces/network_hints.mojom', | |
| 99 ], | |
| 100 'includes': [ '../mojo/mojom_bindings_generator.gypi' ], | |
| 101 'variables': { | |
| 102 'mojom_typemaps': [ | |
| 103 '../url/mojo/gurl.typemap', | |
| 104 'network_hints/public/cpp/network_hints.typemap', | |
| 105 ], | |
| 106 }, | |
| 107 }, | |
| 108 ], | 71 ], |
| 109 }], | 72 }], |
| 110 ], | 73 ], |
| 111 } | 74 } |
| OLD | NEW |