brotli/research/BUILD.bazel

43 lines
777 B
Python
Raw Normal View History

# Description: brotli research tools.
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # MIT
cc_library(
name = "dm",
srcs = ["deorummolae.cc"],
deps = ["@esaxx//:sais"],
hdrs = ["deorummolae.h"],
)
cc_library(
name = "durchschlag",
srcs = ["durchschlag.cc"],
hdrs = ["durchschlag.h"],
deps = ["@divsufsort//:libdivsufsort"],
)
cc_library(
name = "sieve",
srcs = ["sieve.cc"],
hdrs = ["sieve.h"],
)
cc_binary(
name = "dictionary_generator",
srcs = ["dictionary_generator.cc"],
deps = [
":dm",
":durchschlag",
":sieve",
],
)
cc_binary(
name = "brotli_decoder",
srcs = ["brotli_decoder.c"],
linkstatic = 1,
deps = ["@org_brotli//:brotlidec"],
)