You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
433 B
23 lines
433 B
cxx_library(
|
|
name='zlib_wrapper',
|
|
visibility=['PUBLIC'],
|
|
exported_linker_flags=['-lz'],
|
|
header_namespace='',
|
|
exported_headers=['zstd_zlibwrapper.h'],
|
|
headers=[
|
|
'gzcompatibility.h',
|
|
'gzguts.h',
|
|
],
|
|
srcs=glob(['*.c']),
|
|
deps=[
|
|
'//lib:zstd',
|
|
'//lib:zstd_common',
|
|
],
|
|
)
|
|
|
|
cxx_binary(
|
|
name='minigzip',
|
|
srcs=['examples/minigzip.c'],
|
|
deps=[':zlib_wrapper'],
|
|
)
|