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/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 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 909 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
910 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 910 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
911 deps = [ | 911 deps = [ |
912 ":net", | 912 ":net", |
913 "//base", | 913 "//base", |
914 "//base:i18n", | 914 "//base:i18n", |
915 "//url", | 915 "//url", |
916 ] | 916 ] |
917 } | 917 } |
918 | 918 |
919 executable("hpack_example_generator") { | |
920 testonly = true | |
921 sources = [ | |
922 "spdy/fuzzing/hpack_example_generator.cc", | |
923 ] | |
924 | |
925 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
926 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
927 deps = [ | |
928 "//base", | |
929 ":net", | |
930 ] | |
931 } | |
932 | |
933 executable("hpack_fuzz_mutator") { | |
934 testonly = true | |
935 sources = [ | |
936 "spdy/fuzzing/hpack_fuzz_mutator.cc", | |
937 ] | |
938 | |
939 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
940 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
941 deps = [ | |
942 "//base", | |
943 ":net", | |
944 ] | |
945 } | |
946 | |
947 executable("hpack_fuzz_wrapper") { | |
948 testonly = true | |
949 sources = [ | |
950 "spdy/fuzzing/hpack_fuzz_wrapper.cc", | |
951 ] | |
952 | |
953 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
954 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
955 deps = [ | |
956 "//base", | |
957 ":net", | |
958 ] | |
959 } | |
960 | |
961 if (use_v8_in_net) { | 919 if (use_v8_in_net) { |
962 executable("net_watcher") { | 920 executable("net_watcher") { |
963 testonly = true | 921 testonly = true |
964 sources = [ | 922 sources = [ |
965 "tools/net_watcher/net_watcher.cc", | 923 "tools/net_watcher/net_watcher.cc", |
966 ] | 924 ] |
967 deps = [ | 925 deps = [ |
968 ":net", | 926 ":net", |
969 ":net_with_v8", | 927 ":net_with_v8", |
970 "//base", | 928 "//base", |
(...skipping 10 matching lines...) Expand all Loading... |
981 } | 939 } |
982 | 940 |
983 executable("run_testserver") { | 941 executable("run_testserver") { |
984 testonly = true | 942 testonly = true |
985 sources = [ | 943 sources = [ |
986 "tools/testserver/run_testserver.cc", | 944 "tools/testserver/run_testserver.cc", |
987 ] | 945 ] |
988 deps = [ | 946 deps = [ |
989 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not | 947 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not |
990 # in the GYP build, and can be removed when the bug is fixed. | 948 # in the GYP build, and can be removed when the bug is fixed. |
991 | |
992 ":test_support", | 949 ":test_support", |
993 "//base", | 950 "//base", |
994 "//base/test:test_support", | 951 "//base/test:test_support", |
995 "//testing/gtest", | 952 "//testing/gtest", |
996 ] | 953 ] |
997 } | 954 } |
998 | 955 |
999 executable("stress_cache") { | 956 executable("stress_cache") { |
1000 testonly = true | 957 testonly = true |
1001 sources = [ | 958 sources = [ |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 "quic/quic_server_bin.cc", | 1496 "quic/quic_server_bin.cc", |
1540 ] | 1497 ] |
1541 deps = [ | 1498 deps = [ |
1542 ":quic_tools", | 1499 ":quic_tools", |
1543 ":net", | 1500 ":net", |
1544 "//base", | 1501 "//base", |
1545 "//third_party/boringssl", | 1502 "//third_party/boringssl", |
1546 ] | 1503 ] |
1547 } | 1504 } |
1548 } # !is_android && !is_win && !is_mac | 1505 } # !is_android && !is_win && !is_mac |
1549 | |
1550 executable("net_perftests") { | |
1551 testonly = true | |
1552 sources = [ | |
1553 "cookies/cookie_monster_perftest.cc", | |
1554 "disk_cache/blockfile/disk_cache_perftest.cc", | |
1555 "proxy/proxy_resolver_perftest.cc", | |
1556 "udp/udp_socket_perftest.cc", | |
1557 ] | |
1558 | |
1559 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
1560 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
1561 deps = [ | |
1562 "//base", | |
1563 "//base:i18n", | |
1564 "//base/test:test_support_perf", | |
1565 "//testing/gtest", | |
1566 "//url", | |
1567 ":net", | |
1568 ":test_support", | |
1569 ] | |
1570 | |
1571 if (enable_websockets) { | |
1572 sources += [ "websockets/websocket_frame_perftest.cc" ] | |
1573 } | |
1574 | |
1575 if (use_v8_in_net) { | |
1576 deps += [ ":net_with_v8" ] | |
1577 } else { | |
1578 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | |
1579 } | |
1580 | |
1581 if (is_win && icu_use_data_file) { | |
1582 # This is needed to trigger the dll copy step on windows. | |
1583 # TODO(mark): Specifying this here shouldn't be necessary. | |
1584 deps += [ "//third_party/icu:icudata" ] | |
1585 } | |
1586 } | |
OLD | NEW |