1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
Description: Patch to use debian "reactive_streams" and "rxjava3"
Author: Jesse Chan <jc@linux.com>
Forwarded: not-needed
Last-Update: 2021-05-29
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -525,13 +525,15 @@
srcjar = "javax_annotations/javax.annotation-api-1.3.2-sources.jar",
)
-java_import(
+distrib_java_import(
name = "reactive_streams",
+ enable_distributions = ["debian"],
jars = ["reactive_streams/reactive-streams-1.0.3.jar"],
)
-java_import(
+distrib_java_import(
name = "rxjava3",
+ enable_distributions = ["debian"],
jars = ["rxjava3/rxjava-3.0.9.jar"],
exports = [":reactive_streams"],
deps = [":reactive_streams"],
--- a/tools/distributions/debian/debian_java.BUILD
+++ b/tools/distributions/debian/debian_java.BUILD
@@ -458,3 +458,16 @@
"junit4.jar",
],
)
+
+# libreactive-streams-java
+java_import(
+ name = "reactive_streams",
+ jars = ["reactive-streams.jar"],
+)
+
+# librx-java
+java_import(
+ name = "rxjava3",
+ jars = ["rxjava.jar"],
+ deps = [":reactive_streams"],
+)
|