aboutsummaryrefslogtreecommitdiff
path: root/bazel
diff options
context:
space:
mode:
authorFabian Meumertzheim <meumertzheim@code-intelligence.com>2021-02-26 14:35:22 +0100
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-03-22 15:05:37 +0100
commit6e3d256bb8c9c72e420cf10b99c1689f86031cc3 (patch)
treed1bee018e8e661d70bda1fbd9f64dcb648520e49 /bazel
parent0d93c0751adcd8e76ac623e09bbd774ee0f0e755 (diff)
downloadjazzer-api-6e3d256bb8c9c72e420cf10b99c1689f86031cc3.tar.gz
Run buildifier --lint=fix -r .
Diffstat (limited to 'bazel')
-rw-r--r--bazel/fuzz_target.bzl9
1 files changed, 4 insertions, 5 deletions
diff --git a/bazel/fuzz_target.bzl b/bazel/fuzz_target.bzl
index 04cf32e3..9a18bdfd 100644
--- a/bazel/fuzz_target.bzl
+++ b/bazel/fuzz_target.bzl
@@ -12,6 +12,8 @@
# 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,
@@ -29,14 +31,11 @@ def java_fuzz_target_test(
"Jazzer-Fuzz-Target-Class: %s" % target_class,
]
if hook_classes:
- deploy_manifest_lines += [
- "Jazzer-Hook-Classes: %s" % ":".join(hook_classes),
- ]
-
+ deploy_manifest_lines.append("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 []
- native.java_binary(
+ java_binary(
name = target_name,
srcs = srcs,
visibility = ["//visibility:private"],