aboutsummaryrefslogtreecommitdiff
path: root/java/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'java/BUILD')
-rw-r--r--java/BUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/BUILD b/java/BUILD
index f7dd0c0..cd55c54 100644
--- a/java/BUILD
+++ b/java/BUILD
@@ -36,6 +36,18 @@ cc_library(
# <<< JNI headers
+genrule(
+ name = "license_resource",
+ srcs = ["@org_brotli//:LICENSE"],
+ outs = ["META-INF/LICENSE"],
+ cmd = "cp -f $< $@",
+)
+
+java_library(
+ name = "license",
+ resources = [":license_resource"],
+)
+
########################################################
# WARNING: do not (transitively) depend on this target!
########################################################