Skip to content

Commit

Permalink
3rdparty BUILD files modified
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-skrodzka committed Nov 4, 2024
1 parent 2ac1c49 commit b9e0688
Show file tree
Hide file tree
Showing 30 changed files with 467 additions and 114 deletions.
56 changes: 56 additions & 0 deletions tests/3rdparty/jvm/com/eed3si9n/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
load("@rules_scala3//rules:scala.bzl", "scala_import")
scala_import(
name = "shaded_jawn_parser",
jars = [
"//external:jar/com/eed3si9n/shaded_jawn_parser_3"
],
runtime_deps = [
"//3rdparty/jvm/org/scala_lang:scala3_library"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

scala_import(
name = "shaded_scalajson",
jars = [
"//external:jar/com/eed3si9n/shaded_scalajson_3"
],
runtime_deps = [
"//3rdparty/jvm/org/scala_lang:scala3_library"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

scala_import(
name = "sjson_new_core",
jars = [
"//external:jar/com/eed3si9n/sjson_new_core_3"
],
runtime_deps = [
"//3rdparty/jvm/net/openhft:zero_allocation_hashing",
"//3rdparty/jvm/org/scala_lang:scala3_library"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

scala_import(
name = "sjson_new_scalajson",
jars = [
"//external:jar/com/eed3si9n/sjson_new_scalajson_3"
],
runtime_deps = [
"//3rdparty/jvm/org/scala_lang:scala3_library",
":shaded_jawn_parser",
":shaded_scalajson",
":sjson_new_core"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/com/google/android/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/com/google/android/annotations"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/com/google/api/grpc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ java_import(
"//3rdparty/jvm/com/google/protobuf:protobuf_java"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/com/google/code/findbugs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/com/google/code/findbugs/jsr305"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/com/google/code/gson/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/com/google/code/gson/gson"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/com/google/errorprone/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/com/google/errorprone/error_prone_annotations"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/com/google/guava/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ java_import(
":listenablefuture"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)

Expand Down
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/com/google/protobuf/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/com/google/protobuf/protobuf_java"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
10 changes: 10 additions & 0 deletions tests/3rdparty/jvm/com/lmax/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
load("@rules_scala3//rules:scala.bzl", "scala_import")
java_import(
name = "disruptor",
jars = [
"//external:jar/com/lmax/disruptor"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)
14 changes: 0 additions & 14 deletions tests/3rdparty/jvm/com/novocode/BUILD

This file was deleted.

10 changes: 10 additions & 0 deletions tests/3rdparty/jvm/com/swoval/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
load("@rules_scala3//rules:scala.bzl", "scala_import")
java_import(
name = "file_tree_views",
jars = [
"//external:jar/com/swoval/file_tree_views"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)
6 changes: 3 additions & 3 deletions tests/3rdparty/jvm/com/thesamet/scalapb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ scala_import(
"//3rdparty/jvm/org/scala_lang:scala3_library"
],
visibility = [
"//visibility:public"
"//3rdparty/jvm:__subpackages__"
]
)

Expand Down Expand Up @@ -38,7 +38,7 @@ scala_import(
"//3rdparty/jvm/org/scala_lang:scala3_library_sjs1"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)

Expand Down Expand Up @@ -88,6 +88,6 @@ scala_import(
":protobuf_runtime_scala_sjs1"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
16 changes: 0 additions & 16 deletions tests/3rdparty/jvm/com/thesamet/scalapb/grpcweb/BUILD

This file was deleted.

56 changes: 2 additions & 54 deletions tests/3rdparty/jvm/io/grpc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,58 +9,6 @@ java_import(
"//3rdparty/jvm/com/google/errorprone:error_prone_annotations",
"//3rdparty/jvm/com/google/guava:guava"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

java_import(
name = "grpc_context",
jars = [
"//external:jar/io/grpc/grpc_context"
],
runtime_deps = [
":grpc_api"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

java_import(
name = "grpc_core",
jars = [
"//external:jar/io/grpc/grpc_core"
],
runtime_deps = [
"//3rdparty/jvm/com/google/android:annotations",
"//3rdparty/jvm/com/google/code/gson:gson",
"//3rdparty/jvm/com/google/errorprone:error_prone_annotations",
"//3rdparty/jvm/com/google/guava:guava",
"//3rdparty/jvm/io/perfmark:perfmark_api",
"//3rdparty/jvm/org/codehaus/mojo:animal_sniffer_annotations",
":grpc_api",
":grpc_context"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

java_import(
name = "grpc_netty",
jars = [
"//external:jar/io/grpc/grpc_netty"
],
runtime_deps = [
"//3rdparty/jvm/com/google/errorprone:error_prone_annotations",
"//3rdparty/jvm/com/google/guava:guava",
"//3rdparty/jvm/io/netty:netty_codec_http2",
"//3rdparty/jvm/io/netty:netty_handler_proxy",
"//3rdparty/jvm/io/netty:netty_transport_native_unix_common",
"//3rdparty/jvm/io/perfmark:perfmark_api",
":grpc_core"
],
visibility = [
"//visibility:public"
]
Expand All @@ -80,7 +28,7 @@ java_import(
":grpc_protobuf_lite"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)

Expand Down Expand Up @@ -110,6 +58,6 @@ java_import(
":grpc_api"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
6 changes: 3 additions & 3 deletions tests/3rdparty/jvm/io/netty/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ java_import(
":netty_transport"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)

Expand Down Expand Up @@ -120,7 +120,7 @@ java_import(
":netty_transport"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)

Expand Down Expand Up @@ -163,6 +163,6 @@ java_import(
":netty_transport"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/io/perfmark/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/io/perfmark/perfmark_api"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
10 changes: 10 additions & 0 deletions tests/3rdparty/jvm/jline/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
load("@rules_scala3//rules:scala.bzl", "scala_import")
java_import(
name = "jline",
jars = [
"//external:jar/jline/jline"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)
23 changes: 23 additions & 0 deletions tests/3rdparty/jvm/net/java/dev/jna/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
load("@rules_scala3//rules:scala.bzl", "scala_import")
java_import(
name = "jna",
jars = [
"//external:jar/net/java/dev/jna/jna"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

java_import(
name = "jna_platform",
jars = [
"//external:jar/net/java/dev/jna/jna_platform"
],
runtime_deps = [
":jna"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)
10 changes: 10 additions & 0 deletions tests/3rdparty/jvm/net/openhft/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
load("@rules_scala3//rules:scala.bzl", "scala_import")
java_import(
name = "zero_allocation_hashing",
jars = [
"//external:jar/net/openhft/zero_allocation_hashing"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)
23 changes: 23 additions & 0 deletions tests/3rdparty/jvm/org/apache/logging/log4j/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
load("@rules_scala3//rules:scala.bzl", "scala_import")
java_import(
name = "log4j_api",
jars = [
"//external:jar/org/apache/logging/log4j/log4j_api"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)

java_import(
name = "log4j_core",
jars = [
"//external:jar/org/apache/logging/log4j/log4j_core"
],
runtime_deps = [
":log4j_api"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/org/checkerframework/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/org/checkerframework/checker_qual"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
2 changes: 1 addition & 1 deletion tests/3rdparty/jvm/org/codehaus/mojo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ java_import(
"//external:jar/org/codehaus/mojo/animal_sniffer_annotations"
],
visibility = [
"//3rdparty/jvm:__subpackages__"
"//visibility:public"
]
)
Loading

0 comments on commit b9e0688

Please sign in to comment.