aboutsummaryrefslogtreecommitdiff
path: root/java/org/brotli/dec/BUILD
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2017-02-28 16:59:52 +0100
committerGitHub <noreply@github.com>2017-02-28 16:59:52 +0100
commitc931e576d2a7ae3dba9a7fc369895e3d31bb3f8b (patch)
treeaa06e917be17ea9d8c9d705009c18b100aa1de0c /java/org/brotli/dec/BUILD
parentaaac88a1e0165676c27ec11cc675dc49a93dfa35 (diff)
downloadbrotli-c931e576d2a7ae3dba9a7fc369895e3d31bb3f8b.zip
brotli-c931e576d2a7ae3dba9a7fc369895e3d31bb3f8b.tar.gz
brotli-c931e576d2a7ae3dba9a7fc369895e3d31bb3f8b.tar.bz2
Move `java/` to `java/org/brotli/` to fix `sources.jar` structure (#517)
Also added man pages to `docs/`
Diffstat (limited to 'java/org/brotli/dec/BUILD')
-rwxr-xr-xjava/org/brotli/dec/BUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/java/org/brotli/dec/BUILD b/java/org/brotli/dec/BUILD
new file mode 100755
index 0000000..8b1c9f3
--- /dev/null
+++ b/java/org/brotli/dec/BUILD
@@ -0,0 +1,51 @@
+# Description:
+# Java port of Brotli decoder.
+
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"]) # MIT
+
+java_library(
+ name = "lib",
+ srcs = glob(["*.java"], exclude = ["*Test*.java"]),
+)
+
+java_library(
+ name = "test_lib",
+ srcs = glob(["*Test*.java"]),
+ deps = [
+ ":lib",
+ "@junit_junit//jar",
+ ],
+ testonly = 1,
+)
+
+java_test(
+ name = "BitReaderTest",
+ test_class = "org.brotli.dec.BitReaderTest",
+ runtime_deps = [":test_lib"],
+)
+
+java_test(
+ name = "DecodeTest",
+ test_class = "org.brotli.dec.DecodeTest",
+ runtime_deps = [":test_lib"],
+)
+
+java_test(
+ name = "DictionaryTest",
+ test_class = "org.brotli.dec.DictionaryTest",
+ runtime_deps = [":test_lib"],
+)
+
+java_test(
+ name = "SynthTest",
+ test_class = "org.brotli.dec.SynthTest",
+ runtime_deps = [":test_lib"],
+)
+
+java_test(
+ name = "TransformTest",
+ test_class = "org.brotli.dec.TransformTest",
+ runtime_deps = [":test_lib"],
+)