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