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

Side by Side Diff: net/BUILD.gn

Issue 1760973002: Initialize ICU before running any of the //net fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark as testonly Created 4 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 | « no previous file | net/DEPS » ('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 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after
1737 1737
1738 if (use_v8_in_net) { 1738 if (use_v8_in_net) {
1739 deps += [ ":net_with_v8" ] 1739 deps += [ ":net_with_v8" ]
1740 } else { 1740 } else {
1741 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1741 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1742 } 1742 }
1743 } 1743 }
1744 1744
1745 # Fuzzers 1745 # Fuzzers
1746 1746
1747 source_set("net_fuzzer_test_support") {
1748 testonly = true
1749
1750 sources = [
1751 "base/fuzzer_test_support.cc",
1752 ]
1753 deps = [
1754 "//base",
1755 "//base:i18n",
1756 ]
1757 }
1758
1747 fuzzer_test("parse_proxy_list_pac_fuzzer") { 1759 fuzzer_test("parse_proxy_list_pac_fuzzer") {
1748 sources = [ 1760 sources = [
1749 "proxy/parse_proxy_list_pac_fuzzer.cc", 1761 "proxy/parse_proxy_list_pac_fuzzer.cc",
1750 ] 1762 ]
1751 deps = [ 1763 deps = [
1764 ":net_fuzzer_test_support",
1752 "//net", 1765 "//net",
1753 ] 1766 ]
1754 } 1767 }
1755 1768
1756 fuzzer_test("parse_proxy_list_fuzzer") { 1769 fuzzer_test("parse_proxy_list_fuzzer") {
1757 sources = [ 1770 sources = [
1758 "proxy/parse_proxy_list_fuzzer.cc", 1771 "proxy/parse_proxy_list_fuzzer.cc",
1759 ] 1772 ]
1760 deps = [ 1773 deps = [
1774 ":net_fuzzer_test_support",
1761 "//net", 1775 "//net",
1762 ] 1776 ]
1763 } 1777 }
1764 1778
1765 fuzzer_test("parse_proxy_bypass_rules_fuzzer") { 1779 fuzzer_test("parse_proxy_bypass_rules_fuzzer") {
1766 sources = [ 1780 sources = [
1767 "proxy/parse_proxy_bypass_rules_fuzzer.cc", 1781 "proxy/parse_proxy_bypass_rules_fuzzer.cc",
1768 ] 1782 ]
1769 deps = [ 1783 deps = [
1784 ":net_fuzzer_test_support",
1770 "//net", 1785 "//net",
1771 ] 1786 ]
1772 } 1787 }
1773 1788
1774 fuzzer_test("parse_proxy_rules_fuzzer") { 1789 fuzzer_test("parse_proxy_rules_fuzzer") {
1775 sources = [ 1790 sources = [
1776 "proxy/parse_proxy_rules_fuzzer.cc", 1791 "proxy/parse_proxy_rules_fuzzer.cc",
1777 ] 1792 ]
1778 deps = [ 1793 deps = [
1794 ":net_fuzzer_test_support",
1779 "//net", 1795 "//net",
1780 ] 1796 ]
1781 } 1797 }
1782 1798
1783 fuzzer_test("parse_data_url_fuzzer") { 1799 fuzzer_test("parse_data_url_fuzzer") {
1784 sources = [ 1800 sources = [
1785 "base/parse_data_url_fuzzer.cc", 1801 "base/parse_data_url_fuzzer.cc",
1786 ] 1802 ]
1787 deps = [ 1803 deps = [
1804 ":net_fuzzer_test_support",
1788 "//base", 1805 "//base",
1789 "//net", 1806 "//net",
1790 ] 1807 ]
1791 } 1808 }
1792 1809
1793 fuzzer_test("sniff_mime_type_fuzzer") { 1810 fuzzer_test("sniff_mime_type_fuzzer") {
1794 sources = [ 1811 sources = [
1795 "base/sniff_mime_type_fuzzer.cc", 1812 "base/sniff_mime_type_fuzzer.cc",
1796 ] 1813 ]
1797 deps = [ 1814 deps = [
1815 ":net_fuzzer_test_support",
1798 "//base", 1816 "//base",
1799 "//net", 1817 "//net",
1800 ] 1818 ]
1801 } 1819 }
1802 1820
1803 fuzzer_test("parse_ip_pattern_fuzzer") { 1821 fuzzer_test("parse_ip_pattern_fuzzer") {
1804 sources = [ 1822 sources = [
1805 "base/parse_ip_pattern_fuzzer.cc", 1823 "base/parse_ip_pattern_fuzzer.cc",
1806 ] 1824 ]
1807 deps = [ 1825 deps = [
1826 ":net_fuzzer_test_support",
1808 "//net", 1827 "//net",
1809 ] 1828 ]
1810 } 1829 }
1811 1830
1812 fuzzer_test("get_domain_and_registry_fuzzer") { 1831 fuzzer_test("get_domain_and_registry_fuzzer") {
1813 sources = [ 1832 sources = [
1814 "base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc", 1833 "base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc",
1815 ] 1834 ]
1816 deps = [ 1835 deps = [
1836 ":net_fuzzer_test_support",
1817 "//base", 1837 "//base",
1818 "//base:i18n",
1819 "//net", 1838 "//net",
1820 ] 1839 ]
1821 } 1840 }
1822 1841
1823 fuzzer_test("parse_cookie_line_fuzzer") { 1842 fuzzer_test("parse_cookie_line_fuzzer") {
1824 sources = [ 1843 sources = [
1825 "cookies/parse_cookie_line_fuzzer.cc", 1844 "cookies/parse_cookie_line_fuzzer.cc",
1826 ] 1845 ]
1827 deps = [ 1846 deps = [
1847 ":net_fuzzer_test_support",
1828 "//net", 1848 "//net",
1829 ] 1849 ]
1830 } 1850 }
1831 1851
1832 fuzzer_test("dns_record_fuzzer") { 1852 fuzzer_test("dns_record_fuzzer") {
1833 sources = [ 1853 sources = [
1834 "dns/dns_record_fuzzer.cc", 1854 "dns/dns_record_fuzzer.cc",
1835 ] 1855 ]
1836 deps = [ 1856 deps = [
1857 ":net_fuzzer_test_support",
1837 "//base", 1858 "//base",
1838 "//net", 1859 "//net",
1839 ] 1860 ]
1840 } 1861 }
1841 1862
1842 fuzzer_test("ftp_ctrl_response_fuzzer") { 1863 fuzzer_test("ftp_ctrl_response_fuzzer") {
1843 sources = [ 1864 sources = [
1844 "ftp/ftp_ctrl_response_fuzzer.cc", 1865 "ftp/ftp_ctrl_response_fuzzer.cc",
1845 ] 1866 ]
1846 deps = [ 1867 deps = [
1868 ":net_fuzzer_test_support",
1847 "//base", 1869 "//base",
1848 "//net", 1870 "//net",
1849 ] 1871 ]
1850 } 1872 }
1851 1873
1852 fuzzer_test("ftp_directory_listing_fuzzer") { 1874 fuzzer_test("ftp_directory_listing_fuzzer") {
1853 sources = [ 1875 sources = [
1854 "ftp/ftp_directory_listing_fuzzer.cc", 1876 "ftp/ftp_directory_listing_fuzzer.cc",
1855 ] 1877 ]
1856 deps = [ 1878 deps = [
1879 ":net_fuzzer_test_support",
1857 "//base", 1880 "//base",
1858 "//base:i18n",
1859 "//net", 1881 "//net",
1860 ] 1882 ]
1861 } 1883 }
1862 1884
1863 fuzzer_test("unescape_url_component_fuzzer") { 1885 fuzzer_test("unescape_url_component_fuzzer") {
1864 sources = [ 1886 sources = [
1865 "base/unescape_url_component_fuzzer.cc", 1887 "base/unescape_url_component_fuzzer.cc",
1866 ] 1888 ]
1867 deps = [ 1889 deps = [
1890 ":net_fuzzer_test_support",
1868 "//base", 1891 "//base",
1869 "//net", 1892 "//net",
1870 ] 1893 ]
1871 } 1894 }
1872 1895
1873 fuzzer_test("websocket_frame_parser_fuzzer") { 1896 fuzzer_test("websocket_frame_parser_fuzzer") {
1874 sources = [ 1897 sources = [
1875 "websockets/websocket_frame_parser_fuzzer.cc", 1898 "websockets/websocket_frame_parser_fuzzer.cc",
1876 ] 1899 ]
1877 deps = [ 1900 deps = [
1901 ":net_fuzzer_test_support",
1878 "//net", 1902 "//net",
1879 ] 1903 ]
1880 } 1904 }
1881 1905
1882 fuzzer_test("http_chunked_decoder_fuzzer") { 1906 fuzzer_test("http_chunked_decoder_fuzzer") {
1883 sources = [ 1907 sources = [
1884 "http/http_chunked_decoder_fuzzer.cc", 1908 "http/http_chunked_decoder_fuzzer.cc",
1885 ] 1909 ]
1886 deps = [ 1910 deps = [
1911 ":net_fuzzer_test_support",
1887 "//net", 1912 "//net",
1888 ] 1913 ]
1889 } 1914 }
1890 1915
1891 fuzzer_test("quic_crypto_framer_parse_message_fuzzer") { 1916 fuzzer_test("quic_crypto_framer_parse_message_fuzzer") {
1892 sources = [ 1917 sources = [
1893 "quic/quic_crypto_framer_parse_message_fuzzer.cc", 1918 "quic/quic_crypto_framer_parse_message_fuzzer.cc",
1894 ] 1919 ]
1895 deps = [ 1920 deps = [
1921 ":net_fuzzer_test_support",
1896 "//base", 1922 "//base",
1897 "//net", 1923 "//net",
1898 ] 1924 ]
1899 } 1925 }
1900 1926
1901 buildflag_header("features") { 1927 buildflag_header("features") {
1902 header = "net_features.h" 1928 header = "net_features.h"
1903 1929
1904 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ] 1930 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ]
1905 } 1931 }
OLDNEW
« no previous file with comments | « no previous file | net/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698