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

Side by Side Diff: net/BUILD.gn

Issue 2250263003: Move FuzzedDataProvider to //base and expose to blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add fuzzer for TextResourceDecoder Created 4 years, 4 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
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 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 } 1658 }
1659 1659
1660 # Fuzzers 1660 # Fuzzers
1661 1661
1662 # This has a global (InitGlobals) that must always be linked in, so 1662 # This has a global (InitGlobals) that must always be linked in, so
1663 # must be a source set instead of a static library. 1663 # must be a source set instead of a static library.
1664 source_set("net_fuzzer_test_support") { 1664 source_set("net_fuzzer_test_support") {
1665 testonly = true 1665 testonly = true
1666 1666
1667 sources = [ 1667 sources = [
1668 "base/fuzzed_data_provider.cc", 1668 "//base/test/fuzzed_data_provider.cc",
eroman 2016/08/18 21:37:10 Is this change intentional? Should be handled by
Charlie Harrison 2016/08/19 18:58:17 Added base/test:test_support to fuzzer_test_suppor
1669 "base/fuzzed_data_provider.h", 1669 "//base/test/fuzzed_data_provider.h",
1670 "base/fuzzer_test_support.cc",
1671 "socket/fuzzed_socket.cc", 1670 "socket/fuzzed_socket.cc",
1672 "socket/fuzzed_socket.h", 1671 "socket/fuzzed_socket.h",
1673 "socket/fuzzed_socket_factory.cc", 1672 "socket/fuzzed_socket_factory.cc",
1674 "socket/fuzzed_socket_factory.h", 1673 "socket/fuzzed_socket_factory.h",
1675 "udp/fuzzed_datagram_client_socket.cc", 1674 "udp/fuzzed_datagram_client_socket.cc",
1676 "udp/fuzzed_datagram_client_socket.h", 1675 "udp/fuzzed_datagram_client_socket.h",
1677 ] 1676 ]
1678 deps = [ 1677 deps = [
1679 "//base", 1678 "//base",
1680 "//base:i18n", 1679 "//base:i18n",
1680 "//base/test:test_support",
1681 "//net", 1681 "//net",
1682 ] 1682 ]
1683 } 1683 }
1684 1684
1685 fuzzer_test("net_data_job_fuzzer") { 1685 fuzzer_test("net_data_job_fuzzer") {
1686 sources = [ 1686 sources = [
1687 "url_request/url_request_data_job_fuzzer.cc", 1687 "url_request/url_request_data_job_fuzzer.cc",
1688 ] 1688 ]
1689 deps = [ 1689 deps = [
1690 ":net_fuzzer_test_support", 1690 ":net_fuzzer_test_support",
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1994 "url_request/url_request_fuzzer.cc", 1994 "url_request/url_request_fuzzer.cc",
1995 ] 1995 ]
1996 deps = [ 1996 deps = [
1997 ":net_fuzzer_test_support", 1997 ":net_fuzzer_test_support",
1998 ":test_support", 1998 ":test_support",
1999 "//base", 1999 "//base",
2000 "//net", 2000 "//net",
2001 ] 2001 ]
2002 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" 2002 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict"
2003 } 2003 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698