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

Side by Side Diff: net/BUILD.gn

Issue 936953004: Add more targets to GN check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move net function Created 5 years, 10 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 | « .gn ('k') | net/net.gyp » ('j') | skia/BUILD.gn » ('J')
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 cflags = [] 68 cflags = []
69 defines = [ 69 defines = [
70 # TODO(GYP) Note that he GYP file supports linux_link_kerberos (defaults to 70 # TODO(GYP) Note that he GYP file supports linux_link_kerberos (defaults to
71 # 0) which implies that we run pkg_config on kerberos and link to that 71 # 0) which implies that we run pkg_config on kerberos and link to that
72 # rather than setting this define which will dynamically open it. That 72 # rather than setting this define which will dynamically open it. That
73 # doesn't seem to be set in the regular builds, so we're skipping this 73 # doesn't seem to be set in the regular builds, so we're skipping this
74 # capability here. 74 # capability here.
75 "DLOPEN_KERBEROS", 75 "DLOPEN_KERBEROS",
76 "NET_IMPLEMENTATION", 76 "NET_IMPLEMENTATION",
77 ] 77 ]
78
78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 79 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
79 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 80 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
80 public_configs = [ ":net_config" ] 81 public_configs = [ ":net_config" ]
81 include_dirs = [] 82 include_dirs = []
82 83
83 public_deps = [ 84 public_deps = [
84 "//crypto", 85 "//crypto",
85 "//crypto:platform", 86 "//crypto:platform",
87 "//url",
86 ] 88 ]
87 deps = [ 89 deps = [
88 ":net_resources", 90 ":net_resources",
89 "//base", 91 "//base",
90 "//base:i18n", 92 "//base:i18n",
91 "//base:prefs", 93 "//base:prefs",
92 "//base/third_party/dynamic_annotations", 94 "//base/third_party/dynamic_annotations",
93 "//net/base/registry_controlled_domains", 95 "//net/base/registry_controlled_domains",
94 "//sdch", 96 "//sdch",
95 "//third_party/icu", 97 "//third_party/icu",
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 "net_resources.pak", 536 "net_resources.pak",
535 "net_resources.rc", 537 "net_resources.rc",
536 ] 538 ]
537 } 539 }
538 540
539 static_library("extras") { 541 static_library("extras") {
540 sources = gypi_values.net_extras_sources 542 sources = gypi_values.net_extras_sources
541 configs += [ "//build/config/compiler:wexit_time_destructors" ] 543 configs += [ "//build/config/compiler:wexit_time_destructors" ]
542 deps = [ 544 deps = [
543 ":net", 545 ":net",
546 "//base",
544 "//sql:sql", 547 "//sql:sql",
545 ] 548 ]
546 } 549 }
547 550
548 static_library("http_server") { 551 static_library("http_server") {
549 sources = [ 552 sources = [
550 "server/http_connection.cc", 553 "server/http_connection.cc",
551 "server/http_connection.h", 554 "server/http_connection.h",
552 "server/http_server.cc", 555 "server/http_server.cc",
553 "server/http_server.h", 556 "server/http_server.h",
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 if (use_v8_in_net && !is_android) { 791 if (use_v8_in_net && !is_android) {
789 source_set("net_browser_services") { 792 source_set("net_browser_services") {
790 sources = [ 793 sources = [
791 "dns/mojo_host_resolver_impl.cc", 794 "dns/mojo_host_resolver_impl.cc",
792 "dns/mojo_host_resolver_impl.h", 795 "dns/mojo_host_resolver_impl.h",
793 ] 796 ]
794 797
795 public_deps = [ 798 public_deps = [
796 ":mojo_type_converters", 799 ":mojo_type_converters",
797 ":net", 800 ":net",
801 "//base",
798 "//net/interfaces", 802 "//net/interfaces",
799 "//third_party/mojo/src/mojo/public/cpp/bindings", 803 "//third_party/mojo/src/mojo/public/cpp/bindings",
800 ] 804 ]
801 } 805 }
802 806
803 source_set("mojo_type_converters") { 807 source_set("mojo_type_converters") {
804 sources = [ 808 sources = [
805 "dns/mojo_type_converters.cc", 809 "dns/mojo_type_converters.cc",
806 "dns/mojo_type_converters.h", 810 "dns/mojo_type_converters.h",
807 ] 811 ]
808 812
809 public_deps = [ 813 public_deps = [
810 ":net", 814 ":net",
811 "//net/interfaces", 815 "//net/interfaces",
812 "//third_party/mojo/src/mojo/public/cpp/bindings", 816 "//third_party/mojo/src/mojo/public/cpp/bindings",
813 ] 817 ]
814 } 818 }
815 } 819 }
816 820
817 if (!is_ios && !is_android) { 821 if (!is_ios && !is_android) {
818 executable("crash_cache") { 822 executable("crash_cache") {
819 testonly = true 823 testonly = true
820 sources = [ 824 sources = [
821 "tools/crash_cache/crash_cache.cc", 825 "tools/crash_cache/crash_cache.cc",
822 ] 826 ]
827
823 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 828 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
824 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 829 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
825 deps = [ 830 deps = [
826 ":net", 831 ":net",
827 ":test_support", 832 ":test_support",
828 "//base", 833 "//base",
829 ] 834 ]
830 } 835 }
831 836
832 executable("crl_set_dump") { 837 executable("crl_set_dump") {
833 testonly = true 838 testonly = true
834 sources = [ 839 sources = [
835 "tools/crl_set_dump/crl_set_dump.cc", 840 "tools/crl_set_dump/crl_set_dump.cc",
836 ] 841 ]
842
837 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 843 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
838 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 844 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
839 deps = [ 845 deps = [
840 ":net", 846 ":net",
841 "//base", 847 "//base",
842 ] 848 ]
843 } 849 }
844 850
845 executable("dns_fuzz_stub") { 851 executable("dns_fuzz_stub") {
846 testonly = true 852 testonly = true
847 sources = [ 853 sources = [
848 "tools/dns_fuzz_stub/dns_fuzz_stub.cc", 854 "tools/dns_fuzz_stub/dns_fuzz_stub.cc",
849 ] 855 ]
856
850 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 857 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
851 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 858 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
852 deps = [ 859 deps = [
853 ":net", 860 ":net",
854 "//base", 861 "//base",
855 ] 862 ]
856 } 863 }
857 864
858 executable("gdig") { 865 executable("gdig") {
859 testonly = true 866 testonly = true
860 sources = [ 867 sources = [
861 "tools/gdig/file_net_log.cc", 868 "tools/gdig/file_net_log.cc",
862 "tools/gdig/gdig.cc", 869 "tools/gdig/gdig.cc",
863 ] 870 ]
864 deps = [ 871 deps = [
865 ":net", 872 ":net",
866 "//base", 873 "//base",
867 ] 874 ]
868 } 875 }
869 876
870 executable("get_server_time") { 877 executable("get_server_time") {
871 testonly = true 878 testonly = true
872 sources = [ 879 sources = [
873 "tools/get_server_time/get_server_time.cc", 880 "tools/get_server_time/get_server_time.cc",
874 ] 881 ]
882
875 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 883 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
876 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 884 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
877 deps = [ 885 deps = [
878 ":net", 886 ":net",
879 "//base", 887 "//base",
880 "//base:i18n", 888 "//base:i18n",
881 "//url", 889 "//url",
882 ] 890 ]
883 } 891 }
884 892
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 "//base/test:test_support", 925 "//base/test:test_support",
918 "//testing/gtest", 926 "//testing/gtest",
919 ] 927 ]
920 } 928 }
921 929
922 executable("stress_cache") { 930 executable("stress_cache") {
923 testonly = true 931 testonly = true
924 sources = [ 932 sources = [
925 "disk_cache/blockfile/stress_cache.cc", 933 "disk_cache/blockfile/stress_cache.cc",
926 ] 934 ]
935
927 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 936 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
928 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 937 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
929 deps = [ 938 deps = [
930 ":net", 939 ":net",
931 ":test_support", 940 ":test_support",
932 "//base", 941 "//base",
933 ] 942 ]
934 } 943 }
935 944
936 executable("tld_cleanup") { 945 executable("tld_cleanup") {
937 sources = [ 946 sources = [
938 "tools/tld_cleanup/tld_cleanup.cc", 947 "tools/tld_cleanup/tld_cleanup.cc",
939 ] 948 ]
949
940 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 950 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
941 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 951 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
942 deps = [ 952 deps = [
943 "//base", 953 "//base",
944 "//base:i18n", 954 "//base:i18n",
945 "//net/tools/tld_cleanup", 955 "//net/tools/tld_cleanup",
946 ] 956 ]
947 } 957 }
948 } 958 }
949 959
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 testonly = true 1017 testonly = true
1008 sources = [ 1018 sources = [
1009 "tools/flip_server/flip_test_utils.cc", 1019 "tools/flip_server/flip_test_utils.cc",
1010 "tools/flip_server/flip_test_utils.h", 1020 "tools/flip_server/flip_test_utils.h",
1011 "tools/flip_server/http_interface_test.cc", 1021 "tools/flip_server/http_interface_test.cc",
1012 "tools/flip_server/mem_cache_test.cc", 1022 "tools/flip_server/mem_cache_test.cc",
1013 "tools/flip_server/run_all_tests.cc", 1023 "tools/flip_server/run_all_tests.cc",
1014 "tools/flip_server/spdy_interface_test.cc", 1024 "tools/flip_server/spdy_interface_test.cc",
1015 ] 1025 ]
1016 deps = [ 1026 deps = [
1027 ":balsa",
1017 ":flip_in_mem_edsm_server_base", 1028 ":flip_in_mem_edsm_server_base",
1018 ":net", 1029 ":net",
1019 ":test_support", 1030 ":test_support",
1020 "//testing/gtest", 1031 "//testing/gtest",
1021 "//testing/gmock", 1032 "//testing/gmock",
1022 "//third_party/boringssl", 1033 "//third_party/boringssl",
1023 ] 1034 ]
1024 } 1035 }
1025 1036
1026 executable("flip_in_mem_edsm_server") { 1037 executable("flip_in_mem_edsm_server") {
1027 testonly = true 1038 testonly = true
1028 sources = [ 1039 sources = [
1029 "tools/flip_server/flip_in_mem_edsm_server.cc", 1040 "tools/flip_server/flip_in_mem_edsm_server.cc",
1030 ] 1041 ]
1031 deps = [ 1042 deps = [
1043 ":balsa",
1032 ":flip_in_mem_edsm_server_base", 1044 ":flip_in_mem_edsm_server_base",
1033 ":net", 1045 ":net",
1034 "//base", 1046 "//base",
1035 ] 1047 ]
1036 } 1048 }
1037 1049
1038 source_set("quic_base") { 1050 source_set("quic_base") {
1039 sources = [ 1051 sources = [
1040 "tools/quic/quic_client.cc", 1052 "tools/quic/quic_client.cc",
1041 "tools/quic/quic_client.h", 1053 "tools/quic/quic_client.h",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 "//third_party/boringssl", 1090 "//third_party/boringssl",
1079 "//url", 1091 "//url",
1080 ] 1092 ]
1081 } 1093 }
1082 1094
1083 executable("quic_client") { 1095 executable("quic_client") {
1084 sources = [ 1096 sources = [
1085 "tools/quic/quic_client_bin.cc", 1097 "tools/quic/quic_client_bin.cc",
1086 ] 1098 ]
1087 deps = [ 1099 deps = [
1100 ":balsa",
1101 ":epoll_server",
1088 ":quic_base", 1102 ":quic_base",
1089 ":net", 1103 ":net",
1090 "//base", 1104 "//base",
1091 "//third_party/boringssl", 1105 "//third_party/boringssl",
1092 ] 1106 ]
1093 } 1107 }
1094 } 1108 }
1095 1109
1096 if (is_android) { 1110 if (is_android) {
1097 generate_jni("net_jni_headers") { 1111 generate_jni("net_jni_headers") {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 ":test_support", 1188 ":test_support",
1175 "//base", 1189 "//base",
1176 "//base:i18n", 1190 "//base:i18n",
1177 "//base:prefs_test_support", 1191 "//base:prefs_test_support",
1178 "//base/allocator", 1192 "//base/allocator",
1179 "//base/third_party/dynamic_annotations", 1193 "//base/third_party/dynamic_annotations",
1180 "//crypto", 1194 "//crypto",
1181 "//crypto:platform", 1195 "//crypto:platform",
1182 "//crypto:test_support", 1196 "//crypto:test_support",
1183 "//net/base/registry_controlled_domains", 1197 "//net/base/registry_controlled_domains",
1198 "//sql",
1184 "//testing/gmock", 1199 "//testing/gmock",
1185 "//testing/gtest", 1200 "//testing/gtest",
1186 "//third_party/zlib", 1201 "//third_party/zlib",
1187 "//url", 1202 "//url",
1188 ] 1203 ]
1189 1204
1190 if (is_linux) { 1205 if (is_linux) {
1191 sources += gypi_values.net_linux_test_sources 1206 sources += gypi_values.net_linux_test_sources
1192 deps += [ 1207 deps += [
1193 ":balsa", 1208 ":balsa",
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 "quic/quic_server_bin.cc", 1463 "quic/quic_server_bin.cc",
1449 ] 1464 ]
1450 deps = [ 1465 deps = [
1451 ":quic_tools", 1466 ":quic_tools",
1452 ":net", 1467 ":net",
1453 "//base", 1468 "//base",
1454 "//third_party/boringssl", 1469 "//third_party/boringssl",
1455 ] 1470 ]
1456 } 1471 }
1457 } # !is_android && !is_win && !is_mac 1472 } # !is_android && !is_win && !is_mac
OLDNEW
« no previous file with comments | « .gn ('k') | net/net.gyp » ('j') | skia/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698