| Index: components/policy/core/common/BUILD.gn
|
| diff --git a/components/policy/core/common/BUILD.gn b/components/policy/core/common/BUILD.gn
|
| index 17a586048824a59d4f09aaee003e300ed6eeb9d2..c49a7da6cde74bd081505dfbb467c211d659fad8 100644
|
| --- a/components/policy/core/common/BUILD.gn
|
| +++ b/components/policy/core/common/BUILD.gn
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/features.gni")
|
| +import("//testing/libfuzzer/fuzzer_test.gni")
|
|
|
| group("common") {
|
| if (is_component_build) {
|
| @@ -347,3 +348,17 @@ source_set("unit_tests") {
|
| "//testing/gtest",
|
| ]
|
| }
|
| +
|
| +if (is_win || is_chromeos) {
|
| + fuzzer_test("preg_parser_fuzzer") {
|
| + sources = [
|
| + "preg_parser_fuzzer.cc",
|
| + ]
|
| + seed_corpus = "//chrome/test/data/policy/gpo/fuzzer_corpus"
|
| + dict = "//chrome/test/data/policy/gpo/fuzzer.dict"
|
| + deps = [
|
| + ":internal",
|
| + "//base",
|
| + ]
|
| + }
|
| +}
|
|
|