Home | History | Annotate | Download | only in dec
      1 # Description:
      2 #   Java port of Brotli decoder.
      3 
      4 package(default_visibility = ["//visibility:public"])
      5 
      6 licenses(["notice"])  # MIT
      7 
      8 java_library(
      9     name = "dec",
     10     srcs = glob(
     11         ["*.java"],
     12         exclude = ["*Test*.java"],
     13     ),
     14     proguard_specs = ["proguard.cfg"],
     15 )
     16 
     17 java_library(
     18     name = "test_lib",
     19     testonly = 1,
     20     srcs = glob(["*Test*.java"]),
     21     deps = [
     22         ":dec",
     23         "@junit_junit//jar",
     24     ],
     25 )
     26 
     27 java_test(
     28     name = "BitReaderTest",
     29     test_class = "org.brotli.dec.BitReaderTest",
     30     runtime_deps = [":test_lib"],
     31 )
     32 
     33 java_test(
     34     name = "DecodeTest",
     35     test_class = "org.brotli.dec.DecodeTest",
     36     runtime_deps = [":test_lib"],
     37 )
     38 
     39 java_test(
     40     name = "DictionaryTest",
     41     test_class = "org.brotli.dec.DictionaryTest",
     42     runtime_deps = [":test_lib"],
     43 )
     44 
     45 java_test(
     46     name = "SynthTest",
     47     test_class = "org.brotli.dec.SynthTest",
     48     runtime_deps = [":test_lib"],
     49 )
     50 
     51 java_test(
     52     name = "TransformTest",
     53     test_class = "org.brotli.dec.TransformTest",
     54     runtime_deps = [":test_lib"],
     55 )
     56