| 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/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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 ] | 486 ] |
| 487 | 487 |
| 488 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 488 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 489 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 489 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 490 | 490 |
| 491 deps = [ | 491 deps = [ |
| 492 ":net", | 492 ":net", |
| 493 ":test_support", | 493 ":test_support", |
| 494 "//base", | 494 "//base", |
| 495 "//build/config/sanitizers:deps", | 495 "//build/config/sanitizers:deps", |
| 496 "//build/win:default_exe_manifest", |
| 496 ] | 497 ] |
| 497 } | 498 } |
| 498 } | 499 } |
| 499 | 500 |
| 500 bundle_data("test_support_bundle_data") { | 501 bundle_data("test_support_bundle_data") { |
| 501 visibility = [ ":test_support" ] | 502 visibility = [ ":test_support" ] |
| 502 testonly = true | 503 testonly = true |
| 503 sources = gypi_values.net_test_support_data_sources | 504 sources = gypi_values.net_test_support_data_sources |
| 504 outputs = [ | 505 outputs = [ |
| 505 "{{bundle_resources_dir}}/" + | 506 "{{bundle_resources_dir}}/" + |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 "tools/crash_cache/crash_cache.cc", | 808 "tools/crash_cache/crash_cache.cc", |
| 808 ] | 809 ] |
| 809 | 810 |
| 810 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 811 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 811 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 812 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 812 deps = [ | 813 deps = [ |
| 813 ":net", | 814 ":net", |
| 814 ":test_support", | 815 ":test_support", |
| 815 "//base", | 816 "//base", |
| 816 "//build/config/sanitizers:deps", | 817 "//build/config/sanitizers:deps", |
| 818 "//build/win:default_exe_manifest", |
| 817 ] | 819 ] |
| 818 } | 820 } |
| 819 | 821 |
| 820 executable("crl_set_dump") { | 822 executable("crl_set_dump") { |
| 821 testonly = true | 823 testonly = true |
| 822 sources = [ | 824 sources = [ |
| 823 "tools/crl_set_dump/crl_set_dump.cc", | 825 "tools/crl_set_dump/crl_set_dump.cc", |
| 824 ] | 826 ] |
| 825 | 827 |
| 826 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 828 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 827 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 829 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 828 deps = [ | 830 deps = [ |
| 829 ":net", | 831 ":net", |
| 830 "//base", | 832 "//base", |
| 831 "//build/config/sanitizers:deps", | 833 "//build/config/sanitizers:deps", |
| 834 "//build/win:default_exe_manifest", |
| 832 ] | 835 ] |
| 833 } | 836 } |
| 834 | 837 |
| 835 executable("dns_fuzz_stub") { | 838 executable("dns_fuzz_stub") { |
| 836 testonly = true | 839 testonly = true |
| 837 sources = [ | 840 sources = [ |
| 838 "tools/dns_fuzz_stub/dns_fuzz_stub.cc", | 841 "tools/dns_fuzz_stub/dns_fuzz_stub.cc", |
| 839 ] | 842 ] |
| 840 | 843 |
| 841 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 844 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 842 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 845 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 843 deps = [ | 846 deps = [ |
| 844 ":net", | 847 ":net", |
| 845 "//base", | 848 "//base", |
| 846 "//build/config/sanitizers:deps", | 849 "//build/config/sanitizers:deps", |
| 850 "//build/win:default_exe_manifest", |
| 847 ] | 851 ] |
| 848 } | 852 } |
| 849 | 853 |
| 850 executable("gdig") { | 854 executable("gdig") { |
| 851 testonly = true | 855 testonly = true |
| 852 sources = [ | 856 sources = [ |
| 853 "tools/gdig/file_net_log.cc", | 857 "tools/gdig/file_net_log.cc", |
| 854 "tools/gdig/gdig.cc", | 858 "tools/gdig/gdig.cc", |
| 855 ] | 859 ] |
| 856 deps = [ | 860 deps = [ |
| 857 ":net", | 861 ":net", |
| 858 "//base", | 862 "//base", |
| 859 "//build/config/sanitizers:deps", | 863 "//build/config/sanitizers:deps", |
| 864 "//build/win:default_exe_manifest", |
| 860 ] | 865 ] |
| 861 } | 866 } |
| 862 | 867 |
| 863 executable("get_server_time") { | 868 executable("get_server_time") { |
| 864 testonly = true | 869 testonly = true |
| 865 sources = [ | 870 sources = [ |
| 866 "tools/get_server_time/get_server_time.cc", | 871 "tools/get_server_time/get_server_time.cc", |
| 867 ] | 872 ] |
| 868 | 873 |
| 869 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 874 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 870 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 875 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 871 deps = [ | 876 deps = [ |
| 872 ":net", | 877 ":net", |
| 873 "//base", | 878 "//base", |
| 874 "//base:i18n", | 879 "//base:i18n", |
| 875 "//build/config/sanitizers:deps", | 880 "//build/config/sanitizers:deps", |
| 881 "//build/win:default_exe_manifest", |
| 876 "//url", | 882 "//url", |
| 877 ] | 883 ] |
| 878 } | 884 } |
| 879 | 885 |
| 880 executable("hpack_example_generator") { | 886 executable("hpack_example_generator") { |
| 881 testonly = true | 887 testonly = true |
| 882 sources = [ | 888 sources = [ |
| 883 "spdy/fuzzing/hpack_example_generator.cc", | 889 "spdy/fuzzing/hpack_example_generator.cc", |
| 884 ] | 890 ] |
| 885 | 891 |
| 886 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 892 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 887 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 893 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 888 deps = [ | 894 deps = [ |
| 889 ":net", | 895 ":net", |
| 890 "//base", | 896 "//base", |
| 891 "//build/config/sanitizers:deps", | 897 "//build/config/sanitizers:deps", |
| 898 "//build/win:default_exe_manifest", |
| 892 ] | 899 ] |
| 893 } | 900 } |
| 894 | 901 |
| 895 executable("hpack_fuzz_mutator") { | 902 executable("hpack_fuzz_mutator") { |
| 896 testonly = true | 903 testonly = true |
| 897 sources = [ | 904 sources = [ |
| 898 "spdy/fuzzing/hpack_fuzz_mutator.cc", | 905 "spdy/fuzzing/hpack_fuzz_mutator.cc", |
| 899 ] | 906 ] |
| 900 | 907 |
| 901 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 908 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 902 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 909 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 903 deps = [ | 910 deps = [ |
| 904 ":net", | 911 ":net", |
| 905 "//base", | 912 "//base", |
| 906 "//build/config/sanitizers:deps", | 913 "//build/config/sanitizers:deps", |
| 914 "//build/win:default_exe_manifest", |
| 907 ] | 915 ] |
| 908 } | 916 } |
| 909 | 917 |
| 910 executable("hpack_fuzz_wrapper") { | 918 executable("hpack_fuzz_wrapper") { |
| 911 testonly = true | 919 testonly = true |
| 912 sources = [ | 920 sources = [ |
| 913 "spdy/fuzzing/hpack_fuzz_wrapper.cc", | 921 "spdy/fuzzing/hpack_fuzz_wrapper.cc", |
| 914 ] | 922 ] |
| 915 | 923 |
| 916 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 924 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 917 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 925 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 918 deps = [ | 926 deps = [ |
| 919 ":net", | 927 ":net", |
| 920 "//base", | 928 "//base", |
| 921 "//build/config/sanitizers:deps", | 929 "//build/config/sanitizers:deps", |
| 930 "//build/win:default_exe_manifest", |
| 922 ] | 931 ] |
| 923 } | 932 } |
| 924 | 933 |
| 925 if (use_v8_in_net) { | 934 if (use_v8_in_net) { |
| 926 executable("net_watcher") { | 935 executable("net_watcher") { |
| 927 testonly = true | 936 testonly = true |
| 928 sources = [ | 937 sources = [ |
| 929 "tools/net_watcher/net_watcher.cc", | 938 "tools/net_watcher/net_watcher.cc", |
| 930 ] | 939 ] |
| 931 deps = [ | 940 deps = [ |
| 932 ":net", | 941 ":net", |
| 933 ":net_with_v8", | 942 ":net_with_v8", |
| 934 "//base", | 943 "//base", |
| 935 "//build/config/sanitizers:deps", | 944 "//build/config/sanitizers:deps", |
| 945 "//build/win:default_exe_manifest", |
| 936 ] | 946 ] |
| 937 | 947 |
| 938 if (is_desktop_linux && use_gconf && use_glib) { | 948 if (is_desktop_linux && use_gconf && use_glib) { |
| 939 configs += [ | 949 configs += [ |
| 940 "//build/config/linux/gconf", | 950 "//build/config/linux/gconf", |
| 941 "//build/config/linux:glib", | 951 "//build/config/linux:glib", |
| 942 ] | 952 ] |
| 943 deps += [ "//build/linux:gio" ] | 953 deps += [ "//build/linux:gio" ] |
| 944 } | 954 } |
| 945 } | 955 } |
| 946 } | 956 } |
| 947 | 957 |
| 948 executable("run_testserver") { | 958 executable("run_testserver") { |
| 949 testonly = true | 959 testonly = true |
| 950 sources = [ | 960 sources = [ |
| 951 "tools/testserver/run_testserver.cc", | 961 "tools/testserver/run_testserver.cc", |
| 952 ] | 962 ] |
| 953 deps = [ | 963 deps = [ |
| 954 ":test_support", | 964 ":test_support", |
| 955 "//base", | 965 "//base", |
| 956 "//base/test:test_support", | 966 "//base/test:test_support", |
| 957 "//build/config/sanitizers:deps", | 967 "//build/config/sanitizers:deps", |
| 968 "//build/win:default_exe_manifest", |
| 958 "//testing/gtest", | 969 "//testing/gtest", |
| 959 ] | 970 ] |
| 960 } | 971 } |
| 961 | 972 |
| 962 executable("stress_cache") { | 973 executable("stress_cache") { |
| 963 testonly = true | 974 testonly = true |
| 964 sources = [ | 975 sources = [ |
| 965 "tools/stress_cache/stress_cache.cc", | 976 "tools/stress_cache/stress_cache.cc", |
| 966 ] | 977 ] |
| 967 | 978 |
| 968 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 979 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 969 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 980 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 970 deps = [ | 981 deps = [ |
| 971 ":net", | 982 ":net", |
| 972 ":test_support", | 983 ":test_support", |
| 973 "//base", | 984 "//base", |
| 974 "//build/config/sanitizers:deps", | 985 "//build/config/sanitizers:deps", |
| 986 "//build/win:default_exe_manifest", |
| 975 ] | 987 ] |
| 976 } | 988 } |
| 977 | 989 |
| 978 executable("tld_cleanup") { | 990 executable("tld_cleanup") { |
| 979 sources = [ | 991 sources = [ |
| 980 "tools/tld_cleanup/tld_cleanup.cc", | 992 "tools/tld_cleanup/tld_cleanup.cc", |
| 981 ] | 993 ] |
| 982 | 994 |
| 983 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 995 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 984 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 996 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 985 deps = [ | 997 deps = [ |
| 986 "//base", | 998 "//base", |
| 987 "//base:i18n", | 999 "//base:i18n", |
| 988 "//build/config/sanitizers:deps", | 1000 "//build/config/sanitizers:deps", |
| 1001 "//build/win:default_exe_manifest", |
| 989 "//net/tools/tld_cleanup", | 1002 "//net/tools/tld_cleanup", |
| 990 ] | 1003 ] |
| 991 } | 1004 } |
| 992 } | 1005 } |
| 993 | 1006 |
| 994 if (is_linux) { | 1007 if (is_linux) { |
| 995 executable("cachetool") { | 1008 executable("cachetool") { |
| 996 testonly = true | 1009 testonly = true |
| 997 sources = [ | 1010 sources = [ |
| 998 "tools/cachetool/cachetool.cc", | 1011 "tools/cachetool/cachetool.cc", |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1292 if (!is_ios) { | 1305 if (!is_ios) { |
| 1293 executable("quic_client") { | 1306 executable("quic_client") { |
| 1294 sources = [ | 1307 sources = [ |
| 1295 "tools/quic/quic_simple_client_bin.cc", | 1308 "tools/quic/quic_simple_client_bin.cc", |
| 1296 ] | 1309 ] |
| 1297 deps = [ | 1310 deps = [ |
| 1298 ":net", | 1311 ":net", |
| 1299 ":simple_quic_tools", | 1312 ":simple_quic_tools", |
| 1300 "//base", | 1313 "//base", |
| 1301 "//build/config/sanitizers:deps", | 1314 "//build/config/sanitizers:deps", |
| 1315 "//build/win:default_exe_manifest", |
| 1302 "//url", | 1316 "//url", |
| 1303 ] | 1317 ] |
| 1304 } | 1318 } |
| 1305 executable("quic_server") { | 1319 executable("quic_server") { |
| 1306 sources = [ | 1320 sources = [ |
| 1307 "tools/quic/quic_simple_server_bin.cc", | 1321 "tools/quic/quic_simple_server_bin.cc", |
| 1308 ] | 1322 ] |
| 1309 deps = [ | 1323 deps = [ |
| 1310 ":net", | 1324 ":net", |
| 1311 ":simple_quic_tools", | 1325 ":simple_quic_tools", |
| 1312 "//base", | 1326 "//base", |
| 1313 "//build/config/sanitizers:deps", | 1327 "//build/config/sanitizers:deps", |
| 1328 "//build/win:default_exe_manifest", |
| 1314 "//third_party/boringssl", | 1329 "//third_party/boringssl", |
| 1315 "//third_party/protobuf:protobuf_lite", | 1330 "//third_party/protobuf:protobuf_lite", |
| 1316 ] | 1331 ] |
| 1317 } | 1332 } |
| 1318 } | 1333 } |
| 1319 | 1334 |
| 1320 bundle_data("net_unittests_bundle_data") { | 1335 bundle_data("net_unittests_bundle_data") { |
| 1321 testonly = true | 1336 testonly = true |
| 1322 sources = gypi_values.net_unittests_data_sources | 1337 sources = gypi_values.net_unittests_data_sources |
| 1323 outputs = [ | 1338 outputs = [ |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1644 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1659 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1645 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1660 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 1646 deps = [ | 1661 deps = [ |
| 1647 ":extras", | 1662 ":extras", |
| 1648 ":net", | 1663 ":net", |
| 1649 ":test_support", | 1664 ":test_support", |
| 1650 "//base", | 1665 "//base", |
| 1651 "//base:i18n", | 1666 "//base:i18n", |
| 1652 "//base/test:test_support_perf", | 1667 "//base/test:test_support_perf", |
| 1653 "//build/config/sanitizers:deps", | 1668 "//build/config/sanitizers:deps", |
| 1669 "//build/win:default_exe_manifest", |
| 1654 "//testing/gtest", | 1670 "//testing/gtest", |
| 1655 "//url", | 1671 "//url", |
| 1656 ] | 1672 ] |
| 1657 | 1673 |
| 1658 if (enable_websockets) { | 1674 if (enable_websockets) { |
| 1659 sources += [ "websockets/websocket_frame_perftest.cc" ] | 1675 sources += [ "websockets/websocket_frame_perftest.cc" ] |
| 1660 } | 1676 } |
| 1661 | 1677 |
| 1662 if (use_v8_in_net) { | 1678 if (use_v8_in_net) { |
| 1663 deps += [ ":net_with_v8" ] | 1679 deps += [ ":net_with_v8" ] |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1897 sources = [ | 1913 sources = [ |
| 1898 "socket/socks5_client_socket_fuzzer.cc", | 1914 "socket/socks5_client_socket_fuzzer.cc", |
| 1899 ] | 1915 ] |
| 1900 deps = [ | 1916 deps = [ |
| 1901 ":net_fuzzer_test_support", | 1917 ":net_fuzzer_test_support", |
| 1902 ":test_support", | 1918 ":test_support", |
| 1903 "//base", | 1919 "//base", |
| 1904 "//net", | 1920 "//net", |
| 1905 ] | 1921 ] |
| 1906 } | 1922 } |
| OLD | NEW |