OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 | 8 |
9 'linux_link_kerberos%': 0, | 9 'linux_link_kerberos%': 0, |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 'net_with_v8', | 701 'net_with_v8', |
702 ], | 702 ], |
703 }, { # else: !use_v8_in_net | 703 }, { # else: !use_v8_in_net |
704 'sources!': [ | 704 'sources!': [ |
705 'proxy/proxy_resolver_v8_unittest.cc', | 705 'proxy/proxy_resolver_v8_unittest.cc', |
706 'proxy/proxy_resolver_v8_tracing_unittest.cc', | 706 'proxy/proxy_resolver_v8_tracing_unittest.cc', |
707 ], | 707 ], |
708 }, | 708 }, |
709 ], | 709 ], |
710 | 710 |
| 711 [ 'use_v8_in_net==1 and OS != "android"', { |
| 712 'dependencies': [ |
| 713 'net_with_v8', |
| 714 'net_browser_services', |
| 715 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', |
| 716 ], |
| 717 }, { # else |
| 718 'sources!': [ |
| 719 'dns/host_resolver_service_impl_unittest.cc', |
| 720 ], |
| 721 }, |
| 722 ], |
| 723 |
711 [ 'enable_mdns != 1', { | 724 [ 'enable_mdns != 1', { |
712 'sources!' : [ | 725 'sources!' : [ |
713 'dns/mdns_cache_unittest.cc', | 726 'dns/mdns_cache_unittest.cc', |
714 'dns/mdns_client_unittest.cc', | 727 'dns/mdns_client_unittest.cc', |
715 'dns/mdns_query_unittest.cc', | 728 'dns/mdns_query_unittest.cc', |
716 'dns/record_parsed_unittest.cc', | 729 'dns/record_parsed_unittest.cc', |
717 'dns/record_rdata_unittest.cc', | 730 'dns/record_rdata_unittest.cc', |
718 ], | 731 ], |
719 }], | 732 }], |
720 [ 'OS == "win"', { | 733 [ 'OS == "win"', { |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 'target_name': 'net_interfaces', | 1223 'target_name': 'net_interfaces', |
1211 'type': 'static_library', | 1224 'type': 'static_library', |
1212 'sources': [ | 1225 'sources': [ |
1213 'interfaces/host_resolver_service.mojom', | 1226 'interfaces/host_resolver_service.mojom', |
1214 'interfaces/proxy_resolver_service.mojom', | 1227 'interfaces/proxy_resolver_service.mojom', |
1215 ], | 1228 ], |
1216 'includes': [ | 1229 'includes': [ |
1217 '../third_party/mojo/mojom_bindings_generator.gypi', | 1230 '../third_party/mojo/mojom_bindings_generator.gypi', |
1218 ], | 1231 ], |
1219 }, | 1232 }, |
| 1233 { |
| 1234 # GN version: //net:net_browser_services |
| 1235 'target_name': 'net_browser_services', |
| 1236 'type': 'static_library', |
| 1237 'sources': [ |
| 1238 'dns/host_resolver_service_impl.cc', |
| 1239 'dns/host_resolver_service_impl.h', |
| 1240 ], |
| 1241 'dependencies': [ |
| 1242 'net', |
| 1243 'net_interfaces', |
| 1244 'type_converters', |
| 1245 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 1246 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 1247 ], |
| 1248 }, |
| 1249 { |
| 1250 # GN version: //net:type_converters |
| 1251 'target_name': 'type_converters', |
| 1252 'type': 'static_library', |
| 1253 'sources': [ |
| 1254 'dns/type_converters.cc', |
| 1255 'dns/type_converters.h', |
| 1256 ], |
| 1257 'dependencies': [ |
| 1258 'net', |
| 1259 'net_interfaces', |
| 1260 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 1261 ], |
| 1262 }, |
1220 ], | 1263 ], |
1221 }], | 1264 }], |
1222 ['OS != "ios" and OS != "android"', { | 1265 ['OS != "ios" and OS != "android"', { |
1223 'targets': [ | 1266 'targets': [ |
1224 # iOS doesn't have the concept of simple executables, these targets | 1267 # iOS doesn't have the concept of simple executables, these targets |
1225 # can't be compiled on the platform. | 1268 # can't be compiled on the platform. |
1226 { | 1269 { |
1227 'target_name': 'crash_cache', | 1270 'target_name': 'crash_cache', |
1228 'type': 'executable', | 1271 'type': 'executable', |
1229 'dependencies': [ | 1272 'dependencies': [ |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1765 '../build/isolate.gypi', | 1808 '../build/isolate.gypi', |
1766 ], | 1809 ], |
1767 'sources': [ | 1810 'sources': [ |
1768 'net_unittests.isolate', | 1811 'net_unittests.isolate', |
1769 ], | 1812 ], |
1770 }, | 1813 }, |
1771 ], | 1814 ], |
1772 }], | 1815 }], |
1773 ], | 1816 ], |
1774 } | 1817 } |
OLD | NEW |