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

Unified Diff: third_party/libprotobuf-mutator/BUILD.gn

Issue 2727123003: [libfuzzer] proto-based renderer fuzzer draft (Closed)
Patch Set: merge Created 3 years, 9 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
Index: third_party/libprotobuf-mutator/BUILD.gn
diff --git a/third_party/libprotobuf-mutator/BUILD.gn b/third_party/libprotobuf-mutator/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..5f88b0dac5035a89579b9b56324d6d68f6c7cca3
--- /dev/null
+++ b/third_party/libprotobuf-mutator/BUILD.gn
@@ -0,0 +1,28 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+import("//testing/test.gni")
+
+config("include_config") {
+ include_dirs = [ "src/" ]
+}
+
+source_set("libprotobuf-mutator") {
+ testonly = true
+ configs += [ ":include_config" ]
+ public_configs = [ ":include_config" ]
+ sources = [
+ "src/src/libfuzzer/libfuzzer_mutator.cc",
+ "src/src/binary_format.cc",
+ "src/src/text_format.cc",
+ "src/src/mutator.cc",
+ ]
+ deps = [
+ "//third_party/protobuf:protobuf_full",
+ ]
+}
+
+test("mutator_test") {
+ deps = [ ":libprotobuf-mutator" ]
+ sources = [
+ "src/src/mutator_test.cc"
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698