Skip to content

Commit

Permalink
Reduce deps dependencies in content/test/fuzzer fuzz targets.
Browse files Browse the repository at this point in the history
Use //content/test:test_support instead of :fuzzer_support.
This shrinks them by 22 MBs.

R=mmoroz@google.com

Change-Id: I806a28c588f742c2aaa7982e0109c0c6afec1167
Reviewed-on: https://chromium-review.googlesource.com/984153
Commit-Queue: Abhishek Arya <inferno@chromium.org>
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546518}
  • Loading branch information
inferno-chromium authored and Commit Bot committed Mar 28, 2018
1 parent 6ec2085 commit abf2906
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
18 changes: 6 additions & 12 deletions content/test/fuzzer/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fuzzer_test("origin_trial_token_fuzzer") {
"origin_trial_token_fuzzer.cc",
]
deps = [
":fuzzer_support",
"//content/test:test_support",
]
dict =
"//content/test/data/fuzzer_dictionaries/origin_trial_token_fuzzer.dict"
Expand All @@ -45,8 +45,7 @@ fuzzer_test("origin_manifest_parser_fuzzer") {
"origin_manifest_parser_fuzzer.cc",
]
deps = [
":fuzzer_support",
"//content/browser:for_content_tests",
"//content/test:test_support",
]
dict = "//content/test/data/fuzzer_dictionaries/origin_manifest_parser_fuzzer.dict"
seed_corpus = "//content/test/data/fuzzer_corpus/origin_manifest_parser_data/"
Expand Down Expand Up @@ -76,9 +75,7 @@ fuzzer_test("clear_site_data_fuzzer") {
"clear_site_data_fuzzer.cc",
]
deps = [
":fuzzer_support",
"//base",
"//content/browser:for_content_tests",
"//content/test:test_support",
]
seed_corpus = "//content/test/data/fuzzer_corpus/clear_site_data/"
}
Expand Down Expand Up @@ -107,9 +104,8 @@ fuzzer_test("signed_exchange_header_fuzzer") {
"signed_exchange_header_fuzzer.cc",
]
deps = [
":fuzzer_support",
"//base:i18n",
"//content/browser:for_content_tests",
"//content/test:test_support",
]
seed_corpus = "//content/test/data/htxg/"
}
Expand All @@ -119,9 +115,8 @@ fuzzer_test("signed_exchange_header_parser_fuzzer") {
"signed_exchange_header_parser_fuzzer.cc",
]
deps = [
":fuzzer_support",
"//base:i18n",
"//content/browser:for_content_tests",
"//content/test:test_support",
]
seed_corpus =
"//content/test/data/fuzzer_corpus/signed_exchange_header_parser_data/"
Expand All @@ -132,8 +127,7 @@ fuzzer_test("signed_exchange_cert_fetcher_parser_fuzzer") {
"signed_exchange_cert_fetcher_parser_fuzzer.cc",
]
deps = [
":fuzzer_support",
"//content/browser:for_content_tests",
"//content/test:test_support",
]
seed_corpus = "//content/test/data/fuzzer_corpus/signed_exchange_cert_fetcher_parser_data/"
}
Expand Down
1 change: 0 additions & 1 deletion content/test/fuzzer/origin_trial_token_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "base/at_exit.h"
#include "base/i18n/icu_util.h"
#include "content/test/fuzzer/fuzzer_support.h"
#include "url/gurl.h"

struct TestCase {
Expand Down

0 comments on commit abf2906

Please sign in to comment.