OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 import("//testing/test.gni") |
| 3 |
| 4 config("include_config") { |
| 5 include_dirs = [ "src/" ] |
| 6 } |
| 7 |
| 8 source_set("libprotobuf-mutator") { |
| 9 testonly = true |
| 10 configs += [ ":include_config" ] |
| 11 public_configs = [ ":include_config" ] |
| 12 sources = [ |
| 13 "src/src/libfuzzer/libfuzzer_mutator.cc", |
| 14 "src/src/binary_format.cc", |
| 15 "src/src/text_format.cc", |
| 16 "src/src/mutator.cc", |
| 17 ] |
| 18 deps = [ |
| 19 "//third_party/protobuf:protobuf_full", |
| 20 ] |
| 21 } |
| 22 |
| 23 test("mutator_test") { |
| 24 deps = [ ":libprotobuf-mutator" ] |
| 25 sources = [ |
| 26 "src/src/mutator_test.cc" |
| 27 ] |
| 28 } |
OLD | NEW |