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

Side by Side Diff: net/BUILD.gn

Issue 2083463002: Replace //net TypeConverters with StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-converter-cleanup--gurl
Patch Set: rebase Created 4 years, 2 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
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 "proxy/in_process_mojo_proxy_resolver_factory.cc", 731 "proxy/in_process_mojo_proxy_resolver_factory.cc",
732 "proxy/in_process_mojo_proxy_resolver_factory.h", 732 "proxy/in_process_mojo_proxy_resolver_factory.h",
733 "proxy/mojo_proxy_resolver_factory.h", 733 "proxy/mojo_proxy_resolver_factory.h",
734 "proxy/proxy_resolver_factory_mojo.cc", 734 "proxy/proxy_resolver_factory_mojo.cc",
735 "proxy/proxy_resolver_factory_mojo.h", 735 "proxy/proxy_resolver_factory_mojo.h",
736 "proxy/proxy_service_mojo.cc", 736 "proxy/proxy_service_mojo.cc",
737 "proxy/proxy_service_mojo.h", 737 "proxy/proxy_service_mojo.h",
738 ] 738 ]
739 739
740 public_deps = [ 740 public_deps = [
741 ":mojo_type_converters",
742 ":net_with_v8", 741 ":net_with_v8",
743 "//base", 742 "//base",
744 "//mojo/common", 743 "//mojo/common",
745 "//mojo/public/cpp/bindings", 744 "//mojo/public/cpp/bindings",
746 "//net/interfaces", 745 "//net/interfaces",
747 746
748 # NOTE(amistry): As long as we support in-process Mojo v8 PAC, we need 747 # NOTE(amistry): As long as we support in-process Mojo v8 PAC, we need
749 # this dependency since in_process_mojo_proxy_resolver_factory creates 748 # this dependency since in_process_mojo_proxy_resolver_factory creates
750 # the utility process side Mojo services in the browser process. 749 # the utility process side Mojo services in the browser process.
751 # Ultimately, this will go away when we only support out-of-process. 750 # Ultimately, this will go away when we only support out-of-process.
752 ":net_utility_services", 751 ":net_utility_services",
753 ] 752 ]
754 } 753 }
755 754
756 source_set("mojo_type_converters") {
757 sources = [
758 "dns/mojo_host_type_converters.cc",
759 "dns/mojo_host_type_converters.h",
760 "proxy/mojo_proxy_type_converters.cc",
761 "proxy/mojo_proxy_type_converters.h",
762 ]
763
764 public_deps = [
765 ":net",
766 "//base",
767 "//mojo/public/cpp/bindings",
768 "//net/interfaces",
769 ]
770 }
771
772 source_set("net_utility_services") { 755 source_set("net_utility_services") {
773 sources = [ 756 sources = [
774 "dns/host_resolver_mojo.cc", 757 "dns/host_resolver_mojo.cc",
775 "dns/host_resolver_mojo.h", 758 "dns/host_resolver_mojo.h",
776 "proxy/mojo_proxy_resolver_factory_impl.cc", 759 "proxy/mojo_proxy_resolver_factory_impl.cc",
777 "proxy/mojo_proxy_resolver_factory_impl.h", 760 "proxy/mojo_proxy_resolver_factory_impl.h",
778 "proxy/mojo_proxy_resolver_impl.cc", 761 "proxy/mojo_proxy_resolver_impl.cc",
779 "proxy/mojo_proxy_resolver_impl.h", 762 "proxy/mojo_proxy_resolver_impl.h",
780 "proxy/mojo_proxy_resolver_v8_tracing_bindings.h", 763 "proxy/mojo_proxy_resolver_v8_tracing_bindings.h",
781 ] 764 ]
782 765
783 deps = [ 766 deps = [
784 ":net_with_v8", 767 ":net_with_v8",
785 "//base", 768 "//base",
786 ] 769 ]
787 770
788 public_deps = [ 771 public_deps = [
789 ":mojo_type_converters",
790 ":net", 772 ":net",
791 "//mojo/common", 773 "//mojo/common",
792 "//mojo/public/cpp/bindings", 774 "//mojo/public/cpp/bindings",
793 "//net/interfaces", 775 "//net/interfaces",
794 ] 776 ]
795 } 777 }
796 } 778 }
797 779
798 if (!is_ios && !is_android) { 780 if (!is_ios && !is_android) {
799 executable("cert_verify_tool") { 781 executable("cert_verify_tool") {
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after
2055 sources = [ 2037 sources = [
2056 "http/http_auth_challenge_tokenizer_fuzzer.cc", 2038 "http/http_auth_challenge_tokenizer_fuzzer.cc",
2057 ] 2039 ]
2058 deps = [ 2040 deps = [
2059 ":net_fuzzer_test_support", 2041 ":net_fuzzer_test_support",
2060 ":test_support", 2042 ":test_support",
2061 "//base", 2043 "//base",
2062 "//net", 2044 "//net",
2063 ] 2045 ]
2064 } 2046 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698