diff --git a/projects/tensorflow/build.sh b/projects/tensorflow/build.sh index 8f793951d..012642389 100755 --- a/projects/tensorflow/build.sh +++ b/projects/tensorflow/build.sh @@ -47,8 +47,8 @@ fi # Determine all fuzz targets. To control what gets fuzzed with OSSFuzz, all # supported fuzzers are in `//tensorflow/security/fuzzing`. -# Ignore the identity and AttrValues fuzzer in opensource. -declare -r FUZZERS=$(bazel query 'kind(cc_.*, tests(//tensorflow/security/fuzzing/...))' | grep -v identity | grep -v AttrValues | grep -v bfloat16) +# Ignore fuzzers tagged with `no_oss` in opensource. +declare -r FUZZERS=$(bazel query 'kind(cc_.*, tests(//tensorflow/security/fuzzing/...)) - attr(tags, no_oss, kind(cc_.*, tests(//tensorflow/security/fuzzing/...)))') # Build the fuzzer targets. # Pass in `--config=libc++` to link against libc++.