Chromium Code Reviews| 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) { |
|
Oliver Chang
2017/04/13 00:25:23
I wasn't aware that libFuzzer is supported on eith
ljusten (tachyonic)
2017/04/13 11:17:14
ChromeOS is still Linux, confusingly they're not m
Oliver Chang
2017/04/13 19:58:24
thanks for explaining. we don't have any libFuzzer
|
| + 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", |
| + ] |
| + } |
| +} |