aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/jformatstring/BUILD
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-06-29 10:25:38 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-06-29 13:00:12 +0200
commit068a661646660f8e1bd385ff4626d6d646812069 (patch)
treec994f947317ca6c1ba966ac86b90ce46b460ec5a /third_party/jformatstring/BUILD
parent8f460f399123709d5b07c68184147ab024e1c593 (diff)
GPLv2 + Classpath exception compliance: ship the source code of jformatstring
Technically, jformatstring has no problem because we were shiping the source of in the jar file itself but that's easier to keep track of it if we actually vendor the source and build from the source. -- Change-Id: I80fc47ddeafc60263db47f33bfa9a2f2d7e2188d Reviewed-on: https://bazel-review.googlesource.com/#/c/3914 MOS_MIGRATED_REVID=126174813
Diffstat (limited to 'third_party/jformatstring/BUILD')
-rw-r--r--third_party/jformatstring/BUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/jformatstring/BUILD b/third_party/jformatstring/BUILD
new file mode 100644
index 0000000000..f3f1d35b94
--- /dev/null
+++ b/third_party/jformatstring/BUILD
@@ -0,0 +1,20 @@
+package(default_visibility = ["//visibility:public"])
+
+licenses(["restricted"]) # GNU GPL v2 with Classpath exception
+
+filegroup(
+ name = "srcs",
+ srcs = glob(["**"]),
+)
+
+java_library(
+ name = "jformatstring",
+ srcs = glob(["java/**"]),
+)
+
+load("//tools/build_rules:java_rules_skylark.bzl", "bootstrap_java_library")
+
+bootstrap_java_library(
+ name = "bootstrap",
+ srcs = glob(["java/**"]),
+)