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

Side by Side Diff: net/BUILD.gn

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « mojo/services/public/cpp/geometry/BUILD.gn ('k') | net/third_party/nss/ssl/BUILD.gn » ('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("//url/config.gni") 8 import("//url/config.gni")
9 9
10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. 10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 defines = [ 77 defines = [
78 # TODO(GYP) Note that he GYP file supports linux_link_kerberos (defaults to 78 # TODO(GYP) Note that he GYP file supports linux_link_kerberos (defaults to
79 # 0) which implies that we run pkg_config on kerberos and link to that 79 # 0) which implies that we run pkg_config on kerberos and link to that
80 # rather than setting this define which will dynamically open it. That 80 # rather than setting this define which will dynamically open it. That
81 # doesn't seem to be set in the regular builds, so we're skipping this 81 # doesn't seem to be set in the regular builds, so we're skipping this
82 # capability here. 82 # capability here.
83 "DLOPEN_KERBEROS", 83 "DLOPEN_KERBEROS",
84 "NET_IMPLEMENTATION" 84 "NET_IMPLEMENTATION"
85 ] 85 ]
86 configs += [ ":net_win_size_truncation" ] 86 configs += [ ":net_win_size_truncation" ]
87 direct_dependent_configs = [ ":net_config" ] 87 public_configs = [ ":net_config" ]
88 include_dirs = [] 88 include_dirs = []
89 89
90 public_deps = [
91 "//crypto",
92 "//crypto:platform"
93 ]
90 deps = [ 94 deps = [
91 ":net_resources", 95 ":net_resources",
92 "//base", 96 "//base",
93 "//base:i18n", 97 "//base:i18n",
94 "//base:prefs", 98 "//base:prefs",
95 "//base/third_party/dynamic_annotations", 99 "//base/third_party/dynamic_annotations",
96 "//crypto",
97 "//crypto:platform",
98 "//net/base/registry_controlled_domains", 100 "//net/base/registry_controlled_domains",
99 "//sdch", 101 "//sdch",
100 "//third_party/icu", 102 "//third_party/icu",
101 "//third_party/zlib", 103 "//third_party/zlib",
102 "//url", 104 "//url",
103 ] 105 ]
104 forward_dependent_configs_from = [
105 "//crypto",
106 "//crypto:platform"
107 ]
108 106
109 if (use_kerberos) { 107 if (use_kerberos) {
110 defines += [ "USE_KERBEROS" ] 108 defines += [ "USE_KERBEROS" ]
111 if (is_android) { 109 if (is_android) {
112 include_dirs += [ "/usr/include/kerberosV" ] 110 include_dirs += [ "/usr/include/kerberosV" ]
113 } 111 }
114 } else { 112 } else {
115 sources -= [ 113 sources -= [
116 "http/http_auth_gssapi_posix.cc", 114 "http/http_auth_gssapi_posix.cc",
117 "http/http_auth_gssapi_posix.h", 115 "http/http_auth_gssapi_posix.h",
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 "url_request/test_url_fetcher_factory.cc", 688 "url_request/test_url_fetcher_factory.cc",
691 "url_request/test_url_fetcher_factory.h", 689 "url_request/test_url_fetcher_factory.h",
692 "url_request/test_url_request_interceptor.cc", 690 "url_request/test_url_request_interceptor.cc",
693 "url_request/test_url_request_interceptor.h", 691 "url_request/test_url_request_interceptor.h",
694 "url_request/url_request_test_util.cc", 692 "url_request/url_request_test_util.cc",
695 "url_request/url_request_test_util.h", 693 "url_request/url_request_test_util.h",
696 ] 694 ]
697 695
698 configs += [ ":net_win_size_truncation" ] 696 configs += [ ":net_win_size_truncation" ]
699 697
700 deps = [ 698 public_deps = [
701 "//base", 699 "//base",
702 "//base/test:test_support", 700 "//base/test:test_support",
703 "//crypto", 701 "//crypto",
704 "//net", 702 "//net",
705 "//net/tools/tld_cleanup", 703 "//net/tools/tld_cleanup",
706 "//testing/gmock", 704 "//testing/gmock",
707 "//testing/gtest", 705 "//testing/gtest",
708 "//url", 706 "//url",
709 ] 707 ]
710 708
711 if (is_ios) { 709 if (is_ios) {
712 deps += [ "//third_party/nss" ] 710 public_deps += [ "//third_party/nss" ]
713 } 711 }
714 712
715 if (!is_android) { 713 if (!is_android) {
716 sources -= [ 714 sources -= [
717 "test/spawned_test_server/remote_test_server.cc", 715 "test/spawned_test_server/remote_test_server.cc",
718 "test/spawned_test_server/remote_test_server.h", 716 "test/spawned_test_server/remote_test_server.h",
719 "test/spawned_test_server/spawner_communicator.cc", 717 "test/spawned_test_server/spawner_communicator.cc",
720 "test/spawned_test_server/spawner_communicator.h", 718 "test/spawned_test_server/spawner_communicator.h",
721 ] 719 ]
722 } 720 }
723 721
724 if (use_v8_in_net) { 722 if (use_v8_in_net) {
725 deps += [ ":net_with_v8" ] 723 public_deps += [ ":net_with_v8" ]
726 } 724 }
727 725
728 if (!enable_mdns) { 726 if (!enable_mdns) {
729 sources -= [ 727 sources -= [
730 "dns/mock_mdns_socket_factory.cc", 728 "dns/mock_mdns_socket_factory.cc",
731 "dns/mock_mdns_socket_factory.h", 729 "dns/mock_mdns_socket_factory.h",
732 ] 730 ]
733 } 731 }
734 732
735 if (use_nss_certs) { 733 if (use_nss_certs) {
736 deps += ["//crypto:platform" ] 734 public_deps += ["//crypto:platform" ]
737 } else { 735 } else {
738 sources -= [ 736 sources -= [
739 "test/cert_test_util_nss.cc", 737 "test/cert_test_util_nss.cc",
740 ] 738 ]
741 } 739 }
742
743 forward_dependent_configs_from = deps
744 } 740 }
745 741
746 source_set("balsa") { 742 source_set("balsa") {
747 sources = [ 743 sources = [
748 "tools/balsa/balsa_enums.h", 744 "tools/balsa/balsa_enums.h",
749 "tools/balsa/balsa_frame.cc", 745 "tools/balsa/balsa_frame.cc",
750 "tools/balsa/balsa_frame.h", 746 "tools/balsa/balsa_frame.h",
751 "tools/balsa/balsa_headers.cc", 747 "tools/balsa/balsa_headers.cc",
752 "tools/balsa/balsa_headers.h", 748 "tools/balsa/balsa_headers.h",
753 "tools/balsa/balsa_headers_token_utils.cc", 749 "tools/balsa/balsa_headers_token_utils.cc",
(...skipping 27 matching lines...) Expand all
781 "proxy/proxy_service_v8.cc", 777 "proxy/proxy_service_v8.cc",
782 "proxy/proxy_service_v8.h", 778 "proxy/proxy_service_v8.h",
783 ] 779 ]
784 780
785 defines = [ "NET_IMPLEMENTATION" ] 781 defines = [ "NET_IMPLEMENTATION" ]
786 configs += [ 782 configs += [
787 ":net_win_size_truncation", 783 ":net_win_size_truncation",
788 "//build/config/compiler:wexit_time_destructors", 784 "//build/config/compiler:wexit_time_destructors",
789 ] 785 ]
790 786
787 public_deps = [
788 ":net",
789 ]
791 deps = [ 790 deps = [
792 ":net",
793 "//base", 791 "//base",
794 "//gin", 792 "//gin",
795 "//url", 793 "//url",
796 "//v8", 794 "//v8",
797 ] 795 ]
798
799 forward_dependent_configs_from = [ ":net" ]
800 } 796 }
801 } 797 }
802 798
803 if (!is_ios && !is_android) { 799 if (!is_ios && !is_android) {
804 executable("crash_cache") { 800 executable("crash_cache") {
805 testonly = true 801 testonly = true
806 sources = [ "tools/crash_cache/crash_cache.cc" ] 802 sources = [ "tools/crash_cache/crash_cache.cc" ]
807 configs += [ ":net_win_size_truncation" ] 803 configs += [ ":net_win_size_truncation" ]
808 deps = [ 804 deps = [
809 ":net", 805 ":net",
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 sources = [ "quic/quic_server_bin.cc" ] 1386 sources = [ "quic/quic_server_bin.cc" ]
1391 deps = [ 1387 deps = [
1392 ":quic_tools", 1388 ":quic_tools",
1393 ":net", 1389 ":net",
1394 "//base", 1390 "//base",
1395 "//third_party/boringssl", 1391 "//third_party/boringssl",
1396 ] 1392 ]
1397 } 1393 }
1398 1394
1399 } # !is_android 1395 } # !is_android
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/geometry/BUILD.gn ('k') | net/third_party/nss/ssl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698