diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-10-08 16:38:51 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-10-15 10:11:09 +0200 |
commit | f01953a229058995caa1486b20ca66824c1c2235 (patch) | |
tree | e3c4d10c1062cf114a0e29537d0bc5250a492821 /bazel/fuzz_target.bzl | |
parent | 3cf96185bd1f208ce03350b5288f42788526b6fb (diff) | |
download | jazzer-api-f01953a229058995caa1486b20ca66824c1c2235.tar.gz |
Do not use @rules_java and @rules_cc
These repositories are no longer how starlarkified rules will be
published in the near future.
Diffstat (limited to 'bazel/fuzz_target.bzl')
-rw-r--r-- | bazel/fuzz_target.bzl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bazel/fuzz_target.bzl b/bazel/fuzz_target.bzl index fa493b51..801fa292 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, @@ -36,7 +34,7 @@ def java_fuzz_target_test( # 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:jazzer_api_compile_only"] if srcs else [] - java_binary( + native.java_binary( name = target_name, srcs = srcs, visibility = ["//visibility:private"], |