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

Side by Side Diff: net/BUILD.gn

Issue 1946793002: net: Add fuzzer for HostResolverImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove port 0 check Created 4 years, 6 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 | « no previous file | net/base/fuzzed_data_provider.h » ('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/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 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 if (symbol_level > 0) { 1665 if (symbol_level > 0) {
1666 if (is_win) { 1666 if (is_win) {
1667 data += [ "$root_out_dir/net_unittests.exe.pdb" ] 1667 data += [ "$root_out_dir/net_unittests.exe.pdb" ]
1668 } else if (is_mac) { 1668 } else if (is_mac) {
1669 # TODO(crbug.com/330301): make this conditional on mac_strip_release. 1669 # TODO(crbug.com/330301): make this conditional on mac_strip_release.
1670 # data += [ "$root_out_dir/net_unittests.dSYM/" ] 1670 # data += [ "$root_out_dir/net_unittests.dSYM/" ]
1671 } 1671 }
1672 } 1672 }
1673 1673
1674 if (is_win) { 1674 if (is_win) {
1675 libs = [ 1675 libs = [ "iphlpapi.lib" ]
1676 "iphlpapi.lib",
1677 ]
1678 } 1676 }
1679 } 1677 }
1680 1678
1681 # !is_android && !is_win && !is_mac 1679 # !is_android && !is_win && !is_mac
1682 if (!is_ios) { 1680 if (!is_ios) {
1683 # TODO(crbug.com/594965): this should be converted to "app" template and 1681 # TODO(crbug.com/594965): this should be converted to "app" template and
1684 # enabled on iOS too. 1682 # enabled on iOS too.
1685 executable("net_perftests") { 1683 executable("net_perftests") {
1686 testonly = true 1684 testonly = true
1687 sources = [ 1685 sources = [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1726 testonly = true 1724 testonly = true
1727 1725
1728 sources = [ 1726 sources = [
1729 "base/fuzzed_data_provider.cc", 1727 "base/fuzzed_data_provider.cc",
1730 "base/fuzzed_data_provider.h", 1728 "base/fuzzed_data_provider.h",
1731 "base/fuzzer_test_support.cc", 1729 "base/fuzzer_test_support.cc",
1732 "socket/fuzzed_socket.cc", 1730 "socket/fuzzed_socket.cc",
1733 "socket/fuzzed_socket.h", 1731 "socket/fuzzed_socket.h",
1734 "socket/fuzzed_socket_factory.cc", 1732 "socket/fuzzed_socket_factory.cc",
1735 "socket/fuzzed_socket_factory.h", 1733 "socket/fuzzed_socket_factory.h",
1734 "udp/fuzzed_datagram_client_socket.cc",
1735 "udp/fuzzed_datagram_client_socket.h",
1736 ] 1736 ]
1737 deps = [ 1737 deps = [
1738 "//base", 1738 "//base",
1739 "//base:i18n", 1739 "//base:i18n",
1740 "//net", 1740 "//net",
1741 ] 1741 ]
1742 } 1742 }
1743 1743
1744 fuzzer_test("net_data_job_fuzzer") { 1744 fuzzer_test("net_data_job_fuzzer") {
1745 sources = [ 1745 sources = [
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1903 sources = [ 1903 sources = [
1904 "dns/dns_hosts_parse_fuzzer.cc", 1904 "dns/dns_hosts_parse_fuzzer.cc",
1905 ] 1905 ]
1906 deps = [ 1906 deps = [
1907 ":net_fuzzer_test_support", 1907 ":net_fuzzer_test_support",
1908 "//base", 1908 "//base",
1909 "//net", 1909 "//net",
1910 ] 1910 ]
1911 } 1911 }
1912 1912
1913 fuzzer_test("net_host_resolver_impl_fuzzer") {
1914 sources = [
1915 "dns/fuzzed_host_resolver.cc",
1916 "dns/fuzzed_host_resolver.h",
1917 "dns/host_resolver_impl_fuzzer.cc",
1918 ]
1919 deps = [
1920 ":net_fuzzer_test_support",
1921 ":test_support",
1922 "//base",
1923 "//net",
1924 ]
1925 dict = "data/dns/dns.dict"
1926 }
1927
1913 fuzzer_test("net_http_stream_parser_fuzzer") { 1928 fuzzer_test("net_http_stream_parser_fuzzer") {
1914 sources = [ 1929 sources = [
1915 "http/http_stream_parser_fuzzer.cc", 1930 "http/http_stream_parser_fuzzer.cc",
1916 ] 1931 ]
1917 deps = [ 1932 deps = [
1918 ":net_fuzzer_test_support", 1933 ":net_fuzzer_test_support",
1919 ":test_support", 1934 ":test_support",
1920 "//base", 1935 "//base",
1921 "//net", 1936 "//net",
1922 ] 1937 ]
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
2032 "url_request/url_request_fuzzer.cc", 2047 "url_request/url_request_fuzzer.cc",
2033 ] 2048 ]
2034 deps = [ 2049 deps = [
2035 ":net_fuzzer_test_support", 2050 ":net_fuzzer_test_support",
2036 ":test_support", 2051 ":test_support",
2037 "//base", 2052 "//base",
2038 "//net", 2053 "//net",
2039 ] 2054 ]
2040 dict = "data/http/http.dict" 2055 dict = "data/http/http.dict"
2041 } 2056 }
OLDNEW
« no previous file with comments | « no previous file | net/base/fuzzed_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698