Skip to content

Commit

Permalink
Put zstd-jni into deps of compress instead of runtime_deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
glukasiknuro committed Aug 19, 2020
1 parent f35a988 commit b0390b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion third_party/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ distrib_java_import(
name = "apache_commons_compress",
enable_distributions = ["debian"],
jars = ["apache_commons_compress/apache-commons-compress-1.19.jar"],
runtime_deps = [
deps = [
"//third_party/zstd-jni",
],
)
Expand Down
2 changes: 1 addition & 1 deletion third_party/zstd-jni/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ java_library(
"src/main/java/**/*.java",
],
),
visibility = ["//visibility:public"],
data = select({
"//src/conditions:darwin": ["//third_party/zstd-jni:libzstd-jni.dylib"],
"//src/conditions:darwin_x86_64": ["//third_party/zstd-jni:libzstd-jni.dylib"],
"//src/conditions:windows": ["//third_party/zstd-jni:libzstd-jni.dll"],
"//conditions:default": ["//third_party/zstd-jni:libzstd-jni.so"],
}),
visibility = ["//visibility:public"],
deps = ["@bazel_tools//tools/java/runfiles"],
)

0 comments on commit b0390b6

Please sign in to comment.