aboutsummaryrefslogtreecommitdiff
path: root/WORKSPACE.bazel
diff options
context:
space:
mode:
authorFabian Meumertzheim <meumertzheim@code-intelligence.com>2021-08-06 07:56:51 +0200
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-08-09 09:22:07 +0200
commit3282049bdf62d053a7ac9a0157ca3ef0f0c4ec27 (patch)
treeb7710bc10daf7f89e1551b054659e4774f07b169 /WORKSPACE.bazel
parentfe5e2bd92cfd89d74b83dffe620bc08d459a398c (diff)
downloadjazzer-api-3282049bdf62d053a7ac9a0157ca3ef0f0c4ec27.tar.gz
Find libjvm with a repository rule
libjvm lives in different subpaths of JAVA_HOME, depending both on the OS and the Java version. Since it is currently not possible to select a dependency based on the Java version, supporting Java 8 required a custom build setting. This also broke bazel query (but not cquery). By loading libjvm from a simple repository rule, we can cover all OSes and Java versions with a single dependency, even if libjvm.so is installed in a non-standard location.
Diffstat (limited to 'WORKSPACE.bazel')
0 files changed, 0 insertions, 0 deletions