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

Unified Diff: tools/gn/BUILD.gn

Issue 2275683002: Add a fuzzer for gn's parser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no c 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gn/parser_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/BUILD.gn
diff --git a/tools/gn/BUILD.gn b/tools/gn/BUILD.gn
index e3a21ff4dd0f7ade237b20ae64f1c075615b78dd..81678fa7165aa4c2355fb257acd85664ac799868 100644
--- a/tools/gn/BUILD.gn
+++ b/tools/gn/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//testing/test.gni")
+import("//testing/libfuzzer/fuzzer_test.gni")
defines = [ "GN_BUILD" ]
@@ -346,3 +347,12 @@ test("gn_unittests") {
"//testing/gtest",
]
}
+
+fuzzer_test("gn_parser_fuzzer") {
+ sources = [
+ "parser_fuzzer.cc",
+ ]
+ deps = [
+ ":gn_lib",
+ ]
+}
« no previous file with comments | « no previous file | tools/gn/parser_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698