cxx_library(
name='zstd',
header_namespace='',
+ exported_headers=['zstd.h'],
visibility=['PUBLIC'],
deps=[
':common',
exported_headers=subdir_glob([
('compress', 'zstd*.h'),
]),
- srcs=glob(['compress/zstd*.c']),
+ srcs=glob(['compress/zstd*.c', 'compress/hist.c']),
deps=[':common'],
)
header_namespace='',
visibility=['PUBLIC'],
exported_headers=subdir_glob([
- ('decprecated', '*.h'),
+ ('deprecated', '*.h'),
]),
srcs=glob(['deprecated/*.c']),
deps=[':common'],
'decompress/huf_decompress.c',
],
deps=[
+ ':debug',
':bitstream',
':compiler',
':errors',
],
)
+cxx_library(
+ name='debug',
+ header_namespace='',
+ visibility=['PUBLIC'],
+ exported_headers=subdir_glob([
+ ('common', 'debug.h'),
+ ]),
+ srcs=['common/debug.c'],
+)
+
cxx_library(
name='common',
deps=[
+ ':debug',
':bitstream',
':compiler',
':cpu',