Commit a3236366 authored by Austin Eng's avatar Austin Eng Committed by Commit Bot

Gate building jsoncpp_fuzzer on |build_with_chromium|

Projects which depend on third_party/jsoncpp that are not built in
a Chromium checkout may not have the //testing/libfuzzer dependencies
needed to build jsoncpp_fuzzer.

TBR=chromium-third-party@google.com

Bug: dawn:208
Change-Id: I4664cca2a975fe52013ad7874db8e098ccbb6098
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1861014
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706932}
parent ee7b5651
...@@ -51,16 +51,18 @@ source_set("jsoncpp") { ...@@ -51,16 +51,18 @@ source_set("jsoncpp") {
} }
} }
fuzzer_test("jsoncpp_fuzzer") { if (build_with_chromium) {
sources = [ fuzzer_test("jsoncpp_fuzzer") {
"fuzzers/json_fuzzer.cc", sources = [
] "fuzzers/json_fuzzer.cc",
]
deps = [ deps = [
":jsoncpp", ":jsoncpp",
] ]
include_dirs = [ "generated" ] include_dirs = [ "generated" ]
dict = "//testing/libfuzzer/fuzzers/dicts/json.dict" dict = "//testing/libfuzzer/fuzzers/dicts/json.dict"
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment