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/mojo_host_resolver_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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 'target_name': 'net_interfaces', | 1224 'target_name': 'net_interfaces', |
1212 'type': 'static_library', | 1225 'type': 'static_library', |
1213 'sources': [ | 1226 'sources': [ |
1214 'interfaces/host_resolver_service.mojom', | 1227 'interfaces/host_resolver_service.mojom', |
1215 'interfaces/proxy_resolver_service.mojom', | 1228 'interfaces/proxy_resolver_service.mojom', |
1216 ], | 1229 ], |
1217 'includes': [ | 1230 'includes': [ |
1218 '../third_party/mojo/mojom_bindings_generator.gypi', | 1231 '../third_party/mojo/mojom_bindings_generator.gypi', |
1219 ], | 1232 ], |
1220 }, | 1233 }, |
| 1234 { |
| 1235 # GN version: //net:net_browser_services |
| 1236 'target_name': 'net_browser_services', |
| 1237 'type': 'static_library', |
| 1238 'sources': [ |
| 1239 'dns/mojo_host_resolver_impl.cc', |
| 1240 'dns/mojo_host_resolver_impl.h', |
| 1241 ], |
| 1242 'dependencies': [ |
| 1243 'mojo_type_converters', |
| 1244 'net', |
| 1245 'net_interfaces', |
| 1246 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 1247 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 1248 ], |
| 1249 }, |
| 1250 { |
| 1251 # GN version: //net:mojo_type_converters |
| 1252 'target_name': 'mojo_type_converters', |
| 1253 'type': 'static_library', |
| 1254 'sources': [ |
| 1255 'dns/mojo_type_converters.cc', |
| 1256 'dns/mojo_type_converters.h', |
| 1257 ], |
| 1258 'dependencies': [ |
| 1259 'net', |
| 1260 'net_interfaces', |
| 1261 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 1262 ], |
| 1263 }, |
1221 ], | 1264 ], |
1222 }], | 1265 }], |
1223 ['OS != "ios" and OS != "android"', { | 1266 ['OS != "ios" and OS != "android"', { |
1224 'targets': [ | 1267 'targets': [ |
1225 # iOS doesn't have the concept of simple executables, these targets | 1268 # iOS doesn't have the concept of simple executables, these targets |
1226 # can't be compiled on the platform. | 1269 # can't be compiled on the platform. |
1227 { | 1270 { |
1228 'target_name': 'crash_cache', | 1271 'target_name': 'crash_cache', |
1229 'type': 'executable', | 1272 'type': 'executable', |
1230 'dependencies': [ | 1273 'dependencies': [ |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1766 '../build/isolate.gypi', | 1809 '../build/isolate.gypi', |
1767 ], | 1810 ], |
1768 'sources': [ | 1811 'sources': [ |
1769 'net_unittests.isolate', | 1812 'net_unittests.isolate', |
1770 ], | 1813 ], |
1771 }, | 1814 }, |
1772 ], | 1815 ], |
1773 }], | 1816 }], |
1774 ], | 1817 ], |
1775 } | 1818 } |
OLD | NEW |