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

Side by Side Diff: net/BUILD.gn

Issue 936313002: Add GN For hpack fuzzing utilities and net_perftests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 9 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 | « build/gn_migration.gypi ('k') | no next file » | 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("//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
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
919 if (use_v8_in_net) { 961 if (use_v8_in_net) {
920 executable("net_watcher") { 962 executable("net_watcher") {
921 testonly = true 963 testonly = true
922 sources = [ 964 sources = [
923 "tools/net_watcher/net_watcher.cc", 965 "tools/net_watcher/net_watcher.cc",
924 ] 966 ]
925 deps = [ 967 deps = [
926 ":net", 968 ":net",
927 ":net_with_v8", 969 ":net_with_v8",
928 "//base", 970 "//base",
(...skipping 10 matching lines...) Expand all
939 } 981 }
940 982
941 executable("run_testserver") { 983 executable("run_testserver") {
942 testonly = true 984 testonly = true
943 sources = [ 985 sources = [
944 "tools/testserver/run_testserver.cc", 986 "tools/testserver/run_testserver.cc",
945 ] 987 ]
946 deps = [ 988 deps = [
947 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not 989 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not
948 # in the GYP build, and can be removed when the bug is fixed. 990 # in the GYP build, and can be removed when the bug is fixed.
991
949 ":test_support", 992 ":test_support",
950 "//base", 993 "//base",
951 "//base/test:test_support", 994 "//base/test:test_support",
952 "//testing/gtest", 995 "//testing/gtest",
953 ] 996 ]
954 } 997 }
955 998
956 executable("stress_cache") { 999 executable("stress_cache") {
957 testonly = true 1000 testonly = true
958 sources = [ 1001 sources = [
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 "quic/quic_server_bin.cc", 1539 "quic/quic_server_bin.cc",
1497 ] 1540 ]
1498 deps = [ 1541 deps = [
1499 ":quic_tools", 1542 ":quic_tools",
1500 ":net", 1543 ":net",
1501 "//base", 1544 "//base",
1502 "//third_party/boringssl", 1545 "//third_party/boringssl",
1503 ] 1546 ]
1504 } 1547 }
1505 } # !is_android && !is_win && !is_mac 1548 } # !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 }
OLDNEW
« no previous file with comments | « build/gn_migration.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698