blob: 67187671f51ecdfe6db151c6040c15319dac07ae [file] [log] [blame]
load("@rules_cc//cc:defs.bzl", "cc_library")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "boost.iostreams",
hdrs = glob([
"include/**/*.hpp",
"include/**/*.h",
]),
srcs = glob(
["src/*.cpp"],
exclude = [
"src/lzma.cpp", # lzma not on bcr
],
),
includes = ["include"],
defines = [
"BOOST_IOSTREAMS_NO_LIB",
],
deps = [
"@boost.assert",
"@boost.config",
"@boost.core",
"@boost.detail",
"@boost.function",
"@boost.integer",
"@boost.iterator",
"@boost.mpl",
"@boost.numeric_conversion",
"@boost.preprocessor",
"@boost.random",
"@boost.range",
"@boost.regex",
"@boost.smart_ptr",
"@boost.static_assert",
"@boost.throw_exception",
"@boost.type_traits",
"@boost.utility",
"@bzip2//:bz2",
"@zlib",
"@zstd",
],
)