aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/fuzzing/tf_ops_fuzz_target_lib.bzl
blob: f752b59568a74f56c9b581651e54d1cab2af227f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""Fuzzing template for TensorFlow ops."""

def tf_ops_fuzz_target_lib(name):
  native.cc_library(
      name = name + "_fuzz_lib",
      srcs = [name + "_fuzz.cc"],
      deps = [
          "//tensorflow/core/kernels/fuzzing:fuzz_session",
          "//tensorflow/cc:cc_ops",
      ],
      tags = ["no_windows"],
      alwayslink = 1,
  )