4 exported_headers=['zstd.h'],
17 visibility=['PUBLIC'],
18 exported_headers=subdir_glob([
19 ('compress', 'zstd*.h'),
21 srcs=glob(['compress/zstd*.c', 'compress/hist.c']),
28 visibility=['PUBLIC'],
30 ('decompress', '*_impl.h'),
32 srcs=glob(['decompress/zstd*.c']),
42 visibility=['PUBLIC'],
43 exported_headers=subdir_glob([
44 ('deprecated', '*.h'),
46 srcs=glob(['deprecated/*.c']),
53 visibility=['PUBLIC'],
54 exported_headers=subdir_glob([
57 srcs=glob(['legacy/*.c']),
59 exported_preprocessor_flags=[
60 '-DZSTD_LEGACY_SUPPORT=4',
67 visibility=['PUBLIC'],
68 exported_headers=subdir_glob([
69 ('dictBuilder', 'zdict.h'),
72 ('dictBuilder', 'divsufsort.h'),
73 ('dictBuilder', 'cover.h'),
75 srcs=glob(['dictBuilder/*.c']),
82 visibility=['PUBLIC'],
83 exported_headers=subdir_glob([
84 ('common', 'compiler.h'),
91 visibility=['PUBLIC'],
92 exported_headers=subdir_glob([
100 visibility=['PUBLIC'],
101 exported_headers=subdir_glob([
102 ('common', 'bitstream.h'),
109 visibility=['PUBLIC'],
110 exported_headers=subdir_glob([
115 'common/entropy_common.c',
116 'common/fse_decompress.c',
117 'compress/fse_compress.c',
118 'compress/huf_compress.c',
119 'decompress/huf_decompress.c',
133 visibility=['PUBLIC'],
134 exported_headers=subdir_glob([
135 ('common', 'error_private.h'),
136 ('common', 'zstd_errors.h'),
138 srcs=['common/error_private.c'],
144 visibility=['PUBLIC'],
145 exported_headers=subdir_glob([
153 visibility=['PUBLIC'],
154 exported_headers=subdir_glob([
155 ('common', 'pool.h'),
157 srcs=['common/pool.c'],
167 visibility=['PUBLIC'],
168 exported_headers=subdir_glob([
169 ('common', 'threading.h'),
171 srcs=['common/threading.c'],
172 exported_preprocessor_flags=[
173 '-DZSTD_MULTITHREAD',
175 exported_linker_flags=[
183 visibility=['PUBLIC'],
184 exported_headers=subdir_glob([
185 ('common', 'xxhash.h'),
187 srcs=['common/xxhash.c'],
188 exported_preprocessor_flags=[
189 '-DXXH_NAMESPACE=ZSTD_',
196 visibility=['PUBLIC'],
197 exported_headers=subdir_glob([
199 ('common', 'zstd_internal.h'),
201 srcs=['common/zstd_common.c'],
212 visibility=['PUBLIC'],
213 exported_headers=subdir_glob([
214 ('common', 'debug.h'),
216 srcs=['common/debug.c'],