aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/jarjar/BUILD.tools
diff options
context:
space:
mode:
authorGravatar Liam Miller-Cushon <cushon@google.com>2018-03-29 12:41:15 -0700
committerGravatar Philipp Wollermann <philwo@google.com>2018-04-13 10:32:52 +0200
commitc7e7232c8a58d3bdf8f7423645521a8b94c81bbd (patch)
tree8f394876dc6ca0b2acda39a15900ab310fa32f0d /third_party/jarjar/BUILD.tools
parent2ef1ebfb65bdb183abb0ece3d0eccb4319f7e27f (diff)
This is based on the original jarjar sources, with updates to support JDK 9. I added it to a different packages (third_party/jarjar vs. third_party/java/jarjar) because Bazel uses the first 'java/' component of the path as the resource root. Change-Id: Icdf10b1a71edf4e59f5524c1e169000b9f090ed9
Diffstat (limited to 'third_party/jarjar/BUILD.tools')
-rw-r--r--third_party/jarjar/BUILD.tools14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/jarjar/BUILD.tools b/third_party/jarjar/BUILD.tools
new file mode 100644
index 0000000000..2319e6bcd5
--- /dev/null
+++ b/third_party/jarjar/BUILD.tools
@@ -0,0 +1,14 @@
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"]) # Apache 2.0
+
+java_import(
+ name = "jarjar_import",
+ jars = [":jarjar_command_deploy.jar"],
+)
+
+java_binary(
+ name = "jarjar_bin",
+ main_class = "com.tonicsystems.jarjar.Main",
+ runtime_deps = [":jarjar_import"],
+)