mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Add BUCK files for Nuclide support
This commit is contained in:
parent
eb2d23a90c
commit
9c018cc140
12 changed files with 504 additions and 3 deletions
22
zlibWrapper/BUCK
Normal file
22
zlibWrapper/BUCK
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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'],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue