From 084b50043f5c81dbd6b4cd8c6ac1dfd444c9e23c Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Thu, 6 Jul 2023 21:16:21 +0100 Subject: [PATCH] tensorflow: fix build (#10659) Signed-off-by: David Korczynski --- projects/tensorflow/fuzz_patch.patch | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/projects/tensorflow/fuzz_patch.patch b/projects/tensorflow/fuzz_patch.patch index 15de63cff..d4e400fb0 100644 --- a/projects/tensorflow/fuzz_patch.patch +++ b/projects/tensorflow/fuzz_patch.patch @@ -44,13 +44,13 @@ index 231a40bf..7330af85 100644 tf_proto_library( name = "checkpoint_reader_fuzz_input_proto", diff --git a/tensorflow/security/fuzzing/tf_fuzzing.bzl b/tensorflow/security/fuzzing/tf_fuzzing.bzl -index 9223d294..f2c795b3 100644 +index 1f8527c4..558c3ede 100644 --- a/tensorflow/security/fuzzing/tf_fuzzing.bzl +++ b/tensorflow/security/fuzzing/tf_fuzzing.bzl -@@ -19,6 +19,27 @@ - # mutators to do structure aware fuzzing) or any other type of content that is - # not classified elsewhere. +@@ -1,6 +1,26 @@ + """Definitions for rules to fuzz TensorFlow.""" + # TensorFlow fuzzing can be done in open source too, as it is in oss-fuzz.com +load( + "//tensorflow:tensorflow.bzl", + "tf_cc_test", @@ -71,7 +71,6 @@ index 9223d294..f2c795b3 100644 + ], + **kwargs + ) -+ + # tf_cc_fuzz_test is a cc_test modified to include fuzzing support and dependencies for go/fuzztest. def tf_cc_fuzz_test( - name,