brotli/research/BUILD.bazel
Evgenii Kliuchnikov 70e7b1ae4a simplify building of fuzzer
PiperOrigin-RevId: 545950923
2023-07-10 11:43:27 +00:00

43 lines
777 B
Python

# 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"],
)