aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/test/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ijar/test/BUILD')
-rw-r--r--third_party/ijar/test/BUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/ijar/test/BUILD b/third_party/ijar/test/BUILD
index cb0652ffc1..05bca7c100 100644
--- a/third_party/ijar/test/BUILD
+++ b/third_party/ijar/test/BUILD
@@ -30,6 +30,7 @@ sh_test(
"WellCompressed2.java",
":libtypeannotations2.jar",
":libmethodparameters.jar",
+ ":source_debug_extension.jar",
"TypeAnnotationTest2.java",
# invokedynamic/ClassWithLambda.java, compiled with javac8
":libinvokedynamic.jar",
@@ -107,6 +108,21 @@ java_library(
javacopts = ["-source 8 -target 8 -parameters"],
)
+java_binary(
+ name = "gen_source_debug_extension",
+ srcs = ["GenSourceDebugExtension.java"],
+ main_class = "test.GenSourceDebugExtension",
+ deps = ["//third_party:asm"],
+)
+
+genrule(
+ name = "gen_source_debug_extension_jar",
+ srcs = [],
+ outs = ["source_debug_extension.jar"],
+ cmd = "$(location :gen_source_debug_extension) $@",
+ tools = ["gen_source_debug_extension"],
+)
+
java_test(
name = "IjarTests",
size = "small",