1 # Description: brotli research tools. 2 3 package(default_visibility = ["//visibility:public"]) 4 5 licenses(["notice"]) # MIT 6 7 cc_library( 8 name = "dm", 9 srcs = ["deorummolae.cc"], 10 hdrs = [ 11 "deorummolae.h", 12 "esaxx/sais.hxx", 13 ], 14 ) 15 16 cc_library( 17 name = "durchschlag", 18 srcs = ["durchschlag.cc"], 19 hdrs = ["durchschlag.h"], 20 deps = ["@divsufsort//:libdivsufsort"], 21 ) 22 23 cc_library( 24 name = "sieve", 25 srcs = ["sieve.cc"], 26 hdrs = ["sieve.h"], 27 ) 28 29 cc_binary( 30 name = "dictionary_generator", 31 srcs = ["dictionary_generator.cc"], 32 deps = [ 33 ":dm", 34 ":durchschlag", 35 ":sieve", 36 ], 37 ) 38 39 cc_binary( 40 name = "brotli_decoder", 41 srcs = ["brotli_decoder.c"], 42 linkstatic = 1, 43 deps = ["@org_brotli//:brotlidec"], 44 ) 45