OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
9 import("//url/config.gni") | 9 import("//url/config.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 "//base", | 801 "//base", |
802 "//net/interfaces", | 802 "//net/interfaces", |
803 "//third_party/mojo/src/mojo/public/cpp/bindings", | 803 "//third_party/mojo/src/mojo/public/cpp/bindings", |
804 ] | 804 ] |
805 } | 805 } |
806 | 806 |
807 source_set("mojo_type_converters") { | 807 source_set("mojo_type_converters") { |
808 sources = [ | 808 sources = [ |
809 "dns/mojo_type_converters.cc", | 809 "dns/mojo_type_converters.cc", |
810 "dns/mojo_type_converters.h", | 810 "dns/mojo_type_converters.h", |
| 811 "proxy/mojo_type_converters.cc", |
| 812 "proxy/mojo_type_converters.h", |
811 ] | 813 ] |
812 | 814 |
813 public_deps = [ | 815 public_deps = [ |
814 ":net", | 816 ":net", |
815 "//net/interfaces", | 817 "//net/interfaces", |
816 "//third_party/mojo/src/mojo/public/cpp/bindings", | 818 "//third_party/mojo/src/mojo/public/cpp/bindings", |
817 ] | 819 ] |
818 } | 820 } |
| 821 |
| 822 source_set("net_utility_services") { |
| 823 sources = [ |
| 824 "proxy/mojo_proxy_resolver_impl.cc", |
| 825 "proxy/mojo_proxy_resolver_impl.h", |
| 826 ] |
| 827 |
| 828 public_deps = [ |
| 829 ":mojo_type_converters", |
| 830 ":net", |
| 831 "//mojo/common", |
| 832 "//net/interfaces", |
| 833 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 834 ] |
| 835 } |
819 } | 836 } |
820 | 837 |
821 if (!is_ios && !is_android) { | 838 if (!is_ios && !is_android) { |
822 executable("crash_cache") { | 839 executable("crash_cache") { |
823 testonly = true | 840 testonly = true |
824 sources = [ | 841 sources = [ |
825 "tools/crash_cache/crash_cache.cc", | 842 "tools/crash_cache/crash_cache.cc", |
826 ] | 843 ] |
827 | 844 |
828 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 845 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1362 } else { | 1379 } else { |
1363 sources -= [ | 1380 sources -= [ |
1364 "proxy/proxy_resolver_v8_tracing_unittest.cc", | 1381 "proxy/proxy_resolver_v8_tracing_unittest.cc", |
1365 "proxy/proxy_resolver_v8_unittest.cc", | 1382 "proxy/proxy_resolver_v8_unittest.cc", |
1366 ] | 1383 ] |
1367 } | 1384 } |
1368 | 1385 |
1369 if (use_v8_in_net && !is_android) { | 1386 if (use_v8_in_net && !is_android) { |
1370 deps += [ | 1387 deps += [ |
1371 ":net_browser_services", | 1388 ":net_browser_services", |
| 1389 ":net_utility_services", |
1372 "//mojo/environment:chromium", | 1390 "//mojo/environment:chromium", |
1373 "//third_party/mojo/src/mojo/edk/system", | 1391 "//third_party/mojo/src/mojo/edk/system", |
1374 ] | 1392 ] |
1375 } else { | 1393 } else { |
1376 sources -= [ "dns/mojo_host_resolver_impl_unittest.cc" ] | 1394 sources -= [ |
| 1395 "dns/mojo_host_resolver_impl_unittest.cc", |
| 1396 "proxy/mojo_proxy_resolver_impl_unittest.cc", |
| 1397 ] |
1377 } | 1398 } |
1378 | 1399 |
1379 if (!enable_mdns) { | 1400 if (!enable_mdns) { |
1380 sources -= [ | 1401 sources -= [ |
1381 "dns/mdns_cache_unittest.cc", | 1402 "dns/mdns_cache_unittest.cc", |
1382 "dns/mdns_client_unittest.cc", | 1403 "dns/mdns_client_unittest.cc", |
1383 "dns/record_parsed_unittest.cc", | 1404 "dns/record_parsed_unittest.cc", |
1384 "dns/record_rdata_unittest.cc", | 1405 "dns/record_rdata_unittest.cc", |
1385 ] | 1406 ] |
1386 } | 1407 } |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 "quic/quic_server_bin.cc", | 1485 "quic/quic_server_bin.cc", |
1465 ] | 1486 ] |
1466 deps = [ | 1487 deps = [ |
1467 ":quic_tools", | 1488 ":quic_tools", |
1468 ":net", | 1489 ":net", |
1469 "//base", | 1490 "//base", |
1470 "//third_party/boringssl", | 1491 "//third_party/boringssl", |
1471 ] | 1492 ] |
1472 } | 1493 } |
1473 } # !is_android && !is_win && !is_mac | 1494 } # !is_android && !is_win && !is_mac |
OLD | NEW |