aboutsummaryrefslogtreecommitdiff
path: root/bazel/fuzz_target.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'bazel/fuzz_target.bzl')
-rw-r--r--bazel/fuzz_target.bzl8
1 files changed, 4 insertions, 4 deletions
diff --git a/bazel/fuzz_target.bzl b/bazel/fuzz_target.bzl
index 9f2fe2d5..04cf32e3 100644
--- a/bazel/fuzz_target.bzl
+++ b/bazel/fuzz_target.bzl
@@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-load("@rules_java//java:defs.bzl", "java_binary")
-
def java_fuzz_target_test(
name,
target_class,
@@ -31,12 +29,14 @@ def java_fuzz_target_test(
"Jazzer-Fuzz-Target-Class: %s" % target_class,
]
if hook_classes:
- deploy_manifest_lines.append("Jazzer-Hook-Classes: %s" % ":".join(hook_classes))
+ deploy_manifest_lines += [
+ "Jazzer-Hook-Classes: %s" % ":".join(hook_classes),
+ ]
# Deps can only be specified on java_binary targets with sources, which
# excludes e.g. Kotlin libraries wrapped into java_binary via runtime_deps.
target_deps = deps + ["//agent/src/main/java/com/code_intelligence/jazzer/api"] if srcs else []
- java_binary(
+ native.java_binary(
name = target_name,
srcs = srcs,
visibility = ["//visibility:private"],