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

Side by Side Diff: net/BUILD.gn

Issue 1735043004: Add fuzz testers to //net for some functions with simple parsing APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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")
11 import("//build_overrides/v8.gni") 11 import("//build_overrides/v8.gni")
12 import("//testing/libfuzzer/fuzzer_test.gni")
12 import("//testing/test.gni") 13 import("//testing/test.gni")
13 import("//third_party/icu/config.gni") 14 import("//third_party/icu/config.gni")
14 import("//third_party/protobuf/proto_library.gni") 15 import("//third_party/protobuf/proto_library.gni")
15 import("//tools/grit/grit_rule.gni") 16 import("//tools/grit/grit_rule.gni")
16 17
17 if (is_android) { 18 if (is_android) {
18 import("//build/config/android/config.gni") 19 import("//build/config/android/config.gni")
19 import("//build/config/android/rules.gni") 20 import("//build/config/android/rules.gni")
20 } else if (is_mac) { 21 } else if (is_mac) {
21 import("//build/config/mac/mac_sdk.gni") 22 import("//build/config/mac/mac_sdk.gni")
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 sources += [ "websockets/websocket_frame_perftest.cc" ] 1735 sources += [ "websockets/websocket_frame_perftest.cc" ]
1735 } 1736 }
1736 1737
1737 if (use_v8_in_net) { 1738 if (use_v8_in_net) {
1738 deps += [ ":net_with_v8" ] 1739 deps += [ ":net_with_v8" ]
1739 } else { 1740 } else {
1740 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1741 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1741 } 1742 }
1742 } 1743 }
1743 1744
1745 fuzzer_test("parse_proxy_list_pac_fuzzer") {
1746 sources = [
1747 "proxy/parse_proxy_list_pac_fuzzer.cc",
1748 ]
1749 deps = [
1750 "//net",
1751 ]
1752 }
1753
1754 fuzzer_test("parse_proxy_list_fuzzer") {
1755 sources = [
1756 "proxy/parse_proxy_list_fuzzer.cc",
1757 ]
1758 deps = [
1759 "//net",
1760 ]
1761 }
1762
1763 fuzzer_test("parse_proxy_bypass_rules_fuzzer") {
1764 sources = [
1765 "proxy/parse_proxy_bypass_rules_fuzzer.cc",
1766 ]
1767 deps = [
1768 "//net",
1769 ]
1770 }
1771
1772 fuzzer_test("parse_proxy_rules_fuzzer") {
1773 sources = [
1774 "proxy/parse_proxy_rules_fuzzer.cc",
1775 ]
1776 deps = [
1777 "//net",
1778 ]
1779 }
1780
1781 fuzzer_test("parse_data_url_fuzzer") {
1782 sources = [
1783 "base/parse_data_url_fuzzer.cc",
1784 ]
1785 deps = [
1786 "//base",
1787 "//net",
1788 ]
1789 }
1790
1791 fuzzer_test("sniff_mime_type_fuzzer") {
1792 sources = [
1793 "base/sniff_mime_type_fuzzer.cc",
1794 ]
1795 deps = [
1796 "//base",
1797 "//net",
1798 ]
1799 }
1800
1801 fuzzer_test("parse_ip_pattern_fuzzer") {
1802 sources = [
1803 "base/parse_ip_pattern_fuzzer.cc",
1804 ]
1805 deps = [
1806 "//net",
1807 ]
1808 }
1809
1810 fuzzer_test("get_domain_and_registry_fuzzer") {
1811 sources = [
1812 "base/registry_controlled_domains/get_domain_and_registry_fuzzer.cc",
1813 ]
1814 deps = [
1815 "//base",
1816 "//base:i18n",
1817 "//net",
1818 ]
1819 }
1820
1821 fuzzer_test("parse_cookie_line_fuzzer") {
1822 sources = [
1823 "cookies/parse_cookie_line_fuzzer.cc",
1824 ]
1825 deps = [
1826 "//net",
1827 ]
1828 }
1829
1744 buildflag_header("features") { 1830 buildflag_header("features") {
1745 header = "net_features.h" 1831 header = "net_features.h"
1746 1832
1747 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ] 1833 flags = [ "ENABLE_BIDIRECTIONAL_STREAM=$enable_bidirectional_stream" ]
1748 } 1834 }
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