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" |
+ ] |
+} |