Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: net/BUILD.gn

Issue 910343003: Create an in-process v8 proxy resolver using Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-pac-complete-patch
Patch Set: Remove extra space. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 "//v8", 790 "//v8",
791 ] 791 ]
792 } 792 }
793 } 793 }
794 794
795 if (use_v8_in_net && !is_android) { 795 if (use_v8_in_net && !is_android) {
796 source_set("net_browser_services") { 796 source_set("net_browser_services") {
797 sources = [ 797 sources = [
798 "dns/mojo_host_resolver_impl.cc", 798 "dns/mojo_host_resolver_impl.cc",
799 "dns/mojo_host_resolver_impl.h", 799 "dns/mojo_host_resolver_impl.h",
800 "proxy/in_process_mojo_proxy_resolver_factory.cc",
801 "proxy/in_process_mojo_proxy_resolver_factory.h",
800 "proxy/mojo_proxy_resolver_factory.h", 802 "proxy/mojo_proxy_resolver_factory.h",
801 "proxy/proxy_resolver_mojo.cc", 803 "proxy/proxy_resolver_mojo.cc",
802 "proxy/proxy_resolver_mojo.h", 804 "proxy/proxy_resolver_mojo.h",
805 "proxy/proxy_service_mojo.cc",
806 "proxy/proxy_service_mojo.h",
803 ] 807 ]
804 808
805 public_deps = [ 809 public_deps = [
806 ":mojo_type_converters", 810 ":mojo_type_converters",
807 ":net", 811 ":net",
808 "//base", 812 "//base",
809 "//mojo/common", 813 "//mojo/common",
810 "//net/interfaces", 814 "//net/interfaces",
811 "//third_party/mojo/src/mojo/public/cpp/bindings", 815 "//third_party/mojo/src/mojo/public/cpp/bindings",
816
817 # NOTE(amistry): As long as we support in-process Mojo v8 PAC, we need
818 # this dependency since in_process_mojo_proxy_resolver_factory creates
819 # the utility process side Mojo services in the browser process.
820 # Ultimately, this will go away when we only support out-of-process.
821 ":net_utility_services",
812 ] 822 ]
813 } 823 }
814 824
815 source_set("mojo_type_converters") { 825 source_set("mojo_type_converters") {
816 sources = [ 826 sources = [
817 "dns/mojo_host_type_converters.cc", 827 "dns/mojo_host_type_converters.cc",
818 "dns/mojo_host_type_converters.h", 828 "dns/mojo_host_type_converters.h",
819 "proxy/mojo_proxy_type_converters.cc", 829 "proxy/mojo_proxy_type_converters.cc",
820 "proxy/mojo_proxy_type_converters.h", 830 "proxy/mojo_proxy_type_converters.h",
821 ] 831 ]
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 "//mojo/environment:chromium", 1413 "//mojo/environment:chromium",
1404 "//third_party/mojo/src/mojo/edk/system", 1414 "//third_party/mojo/src/mojo/edk/system",
1405 ] 1415 ]
1406 } else { 1416 } else {
1407 sources -= [ 1417 sources -= [
1408 "dns/host_resolver_mojo_unittest.cc", 1418 "dns/host_resolver_mojo_unittest.cc",
1409 "dns/mojo_host_resolver_impl_unittest.cc", 1419 "dns/mojo_host_resolver_impl_unittest.cc",
1410 "proxy/mojo_proxy_resolver_factory_impl_unittest.cc", 1420 "proxy/mojo_proxy_resolver_factory_impl_unittest.cc",
1411 "proxy/mojo_proxy_resolver_impl_unittest.cc", 1421 "proxy/mojo_proxy_resolver_impl_unittest.cc",
1412 "proxy/proxy_resolver_mojo_unittest.cc", 1422 "proxy/proxy_resolver_mojo_unittest.cc",
1423 "proxy/proxy_service_mojo_unittest.cc",
1413 ] 1424 ]
1414 } 1425 }
1415 1426
1416 if (!enable_mdns) { 1427 if (!enable_mdns) {
1417 sources -= [ 1428 sources -= [
1418 "dns/mdns_cache_unittest.cc", 1429 "dns/mdns_cache_unittest.cc",
1419 "dns/mdns_client_unittest.cc", 1430 "dns/mdns_client_unittest.cc",
1420 "dns/record_parsed_unittest.cc", 1431 "dns/record_parsed_unittest.cc",
1421 "dns/record_rdata_unittest.cc", 1432 "dns/record_rdata_unittest.cc",
1422 ] 1433 ]
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 "quic/quic_server_bin.cc", 1512 "quic/quic_server_bin.cc",
1502 ] 1513 ]
1503 deps = [ 1514 deps = [
1504 ":quic_tools", 1515 ":quic_tools",
1505 ":net", 1516 ":net",
1506 "//base", 1517 "//base",
1507 "//third_party/boringssl", 1518 "//third_party/boringssl",
1508 ] 1519 ]
1509 } 1520 }
1510 } # !is_android && !is_win && !is_mac 1521 } # !is_android && !is_win && !is_mac
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698