2017-10-13 09:25:03 +00:00
|
|
|
# Description: brotli research tools.
|
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
licenses(["notice"]) # MIT
|
|
|
|
|
|
|
|
cc_library(
|
|
|
|
name = "dm",
|
|
|
|
srcs = ["deorummolae.cc"],
|
|
|
|
hdrs = [
|
|
|
|
"deorummolae.h",
|
|
|
|
"esaxx/sais.hxx",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2018-02-26 14:04:36 +00:00
|
|
|
cc_library(
|
|
|
|
name = "durchschlag",
|
|
|
|
srcs = ["durchschlag.cc"],
|
|
|
|
hdrs = ["durchschlag.h"],
|
|
|
|
deps = ["@divsufsort//:libdivsufsort"],
|
|
|
|
)
|
|
|
|
|
2017-10-13 09:25:03 +00:00
|
|
|
cc_library(
|
|
|
|
name = "sieve",
|
|
|
|
srcs = ["sieve.cc"],
|
|
|
|
hdrs = ["sieve.h"],
|
|
|
|
)
|
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "dictionary_generator",
|
|
|
|
srcs = ["dictionary_generator.cc"],
|
|
|
|
deps = [
|
|
|
|
":dm",
|
2018-02-26 14:04:36 +00:00
|
|
|
":durchschlag",
|
2017-10-13 09:25:03 +00:00
|
|
|
":sieve",
|
|
|
|
],
|
|
|
|
)
|
2018-03-02 14:49:58 +00:00
|
|
|
|
|
|
|
cc_binary(
|
|
|
|
name = "brotli_decoder",
|
|
|
|
srcs = ["brotli_decoder.c"],
|
|
|
|
linkstatic = 1,
|
2018-06-04 15:53:16 +00:00
|
|
|
deps = ["@org_brotli//:brotlidec"],
|
2018-03-02 14:49:58 +00:00
|
|
|
)
|