diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-10-08 15:41:08 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-10-17 10:37:34 +0200 |
commit | 27b15be5fd30af5f3b64ab6451fb26c417681221 (patch) | |
tree | 285c944b7669e73952fb276c694ac2560acd83ac /init.bzl | |
parent | c470f962424801a4020cf7215dc27422949f34fd (diff) | |
download | jazzer-api-27b15be5fd30af5f3b64ab6451fb26c417681221.tar.gz |
Use rules_jni
This simplifies the libjvm location logic as well as native library
packaging. Incidentally, this fixes the libjpeg_turbo build.
In anticipation of Windows support and because it simplifies further
improvements to the fuzz target test setup, the wrapper is rewritten in
Java.
Diffstat (limited to 'init.bzl')
-rw-r--r-- | init.bzl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,7 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") load("@com_github_johnynek_bazel_jar_jar//:jar_jar.bzl", "jar_jar_repositories") load("@io_bazel_rules_kotlin//kotlin:dependencies.bzl", "kt_download_local_dev_dependencies") load("@io_bazel_rules_kotlin//kotlin:repositories.bzl", "kotlin_repositories") +load("@fmeum_rules_jni//jni:repositories.bzl", "rules_jni_dependencies") def jazzer_init(): bazel_skylib_workspace() @@ -25,3 +26,4 @@ def jazzer_init(): kotlin_repositories() native.register_toolchains("@jazzer//:kotlin_toolchain") jar_jar_repositories() + rules_jni_dependencies() |