1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
licenses(["notice"]) # Apache
exports_files(["LICENSE"])
cc_library(
name = "libprotobuf_mutator_internals",
srcs = [
"src/binary_format.cc",
"src/field_instance.h",
"src/libfuzzer/libfuzzer_macro.cc",
"src/libfuzzer/libfuzzer_mutator.cc",
"src/mutator.cc",
"src/text_format.cc",
"src/utf8_fix.cc",
"src/weighted_reservoir_sampler.h",
],
hdrs = [
"port/protobuf.h",
"src/binary_format.h",
"src/libfuzzer/libfuzzer_macro.h",
"src/libfuzzer/libfuzzer_mutator.h",
"src/mutator.h",
"src/random.h",
"src/text_format.h",
"src/utf8_fix.h",
],
includes = ["."],
deps = ["@com_google_protobuf//:protobuf"],
)
cc_library(
name = "libprotobuf_mutator",
hdrs = ["src/libfuzzer/libfuzzer_macro.h"],
includes = ["."],
visibility = ["//visibility:public"],
deps = [":libprotobuf_mutator_internals"],
)
|