| 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', |  | 
| 17         '../url/ipc/url_ipc.gyp:url_ipc', | 16         '../url/ipc/url_ipc.gyp:url_ipc', | 
| 18       ], | 17       ], | 
| 19       'sources': [ | 18       'sources': [ | 
| 20         'network_hints/common/network_hints_common.cc', | 19         'network_hints/common/network_hints_common.cc', | 
| 21         'network_hints/common/network_hints_common.h', | 20         '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', |  | 
| 26       ], | 21       ], | 
| 27     }, | 22     }, | 
| 28     { | 23     { | 
| 29       # GN version: //components/network_hints/browser | 24       # GN version: //components/network_hints/browser | 
| 30       'target_name': 'network_hints_browser', | 25       'target_name': 'network_hints_browser', | 
| 31       'type': 'static_library', | 26       'type': 'static_library', | 
| 32       'include_dirs': [ | 27       'include_dirs': [ | 
| 33         '..', | 28         '..', | 
| 34       ], | 29       ], | 
| 35       'dependencies': [ | 30       'dependencies': [ | 
|  | 31         'network_hints_mojom', | 
|  | 32         'network_hints_public_cpp', | 
| 36         '../content/content.gyp:content_browser', | 33         '../content/content.gyp:content_browser', | 
| 37         '../net/net.gyp:net', | 34         '../net/net.gyp:net', | 
| 38       ], | 35       ], | 
| 39       'sources': [ | 36       'sources': [ | 
| 40         'network_hints/browser/network_hints_message_filter.cc', | 37         'network_hints/browser/network_hints_impl.cc', | 
| 41         'network_hints/browser/network_hints_message_filter.h', | 38         'network_hints/browser/network_hints_impl.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', | 
| 42       ], | 57       ], | 
| 43     }, | 58     }, | 
| 44   ], | 59   ], | 
| 45   'conditions': [ | 60   'conditions': [ | 
| 46     ['OS!="ios"', { | 61     ['OS!="ios"', { | 
| 47       'targets': [ | 62       'targets': [ | 
| 48         { | 63         { | 
| 49           # GN version: //components/network_hints/renderer | 64           # GN version: //components/network_hints/renderer | 
| 50           'target_name': 'network_hints_renderer', | 65           'target_name': 'network_hints_renderer', | 
| 51           'type': 'static_library', | 66           'type': 'static_library', | 
| 52           'include_dirs': [ | 67           'include_dirs': [ | 
| 53             '..', | 68             '..', | 
| 54           ], | 69           ], | 
| 55           'dependencies': [ | 70           'dependencies': [ | 
| 56             'network_hints_common', | 71             'network_hints_common', | 
|  | 72             'network_hints_mojom', | 
|  | 73             'network_hints_public_cpp', | 
| 57             '../content/content.gyp:content_renderer', | 74             '../content/content.gyp:content_renderer', | 
|  | 75             '../services/shell/shell_public.gyp:shell_public', | 
| 58             '../third_party/WebKit/public/blink.gyp:blink', | 76             '../third_party/WebKit/public/blink.gyp:blink', | 
| 59           ], | 77           ], | 
| 60           'sources': [ | 78           'sources': [ | 
| 61             'network_hints/renderer/dns_prefetch_queue.cc', | 79             'network_hints/renderer/dns_prefetch_queue.cc', | 
| 62             'network_hints/renderer/dns_prefetch_queue.h', | 80             'network_hints/renderer/dns_prefetch_queue.h', | 
| 63             'network_hints/renderer/prescient_networking_dispatcher.cc', | 81             'network_hints/renderer/prescient_networking_dispatcher.cc', | 
| 64             'network_hints/renderer/prescient_networking_dispatcher.h', | 82             'network_hints/renderer/prescient_networking_dispatcher.h', | 
| 65             'network_hints/renderer/renderer_dns_prefetch.cc', | 83             'network_hints/renderer/renderer_dns_prefetch.cc', | 
| 66             'network_hints/renderer/renderer_dns_prefetch.h', | 84             'network_hints/renderer/renderer_dns_prefetch.h', | 
| 67             'network_hints/renderer/renderer_preconnect.cc', | 85             'network_hints/renderer/renderer_preconnect.cc', | 
| 68             'network_hints/renderer/renderer_preconnect.h', | 86             'network_hints/renderer/renderer_preconnect.h', | 
| 69           ], | 87           ], | 
| 70         }, | 88         }, | 
|  | 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         }, | 
| 71       ], | 108       ], | 
| 72     }], | 109     }], | 
| 73   ], | 110   ], | 
| 74 } | 111 } | 
| OLD | NEW | 
|---|