blob: 30165de67ccd4fa77038ec31ce49b4de75265e1d [file] [log] [blame]
# Based on https://github.com/llvm/llvm-project/blob/llvmorg-11.1.0/compiler-rt/lib/fuzzer/build.sh
cc_library(
name = "libFuzzer",
srcs = glob([
"*.cpp",
]),
hdrs = glob([
"*.h",
"*.def",
]),
copts = [
"-g",
"-O2",
"-fno-omit-frame-pointer",
"-std=c++11",
],
alwayslink = True,
linkstatic = True,
visibility = ["//visibility:public"],
)