Merge pull request #1433 from obelisk/fixed_buck
Small changes for buck build
This commit is contained in:
commit
386c9ab58a
17
lib/BUCK
17
lib/BUCK
@ -1,6 +1,7 @@
|
|||||||
cxx_library(
|
cxx_library(
|
||||||
name='zstd',
|
name='zstd',
|
||||||
header_namespace='',
|
header_namespace='',
|
||||||
|
exported_headers=['zstd.h'],
|
||||||
visibility=['PUBLIC'],
|
visibility=['PUBLIC'],
|
||||||
deps=[
|
deps=[
|
||||||
':common',
|
':common',
|
||||||
@ -17,7 +18,7 @@ cxx_library(
|
|||||||
exported_headers=subdir_glob([
|
exported_headers=subdir_glob([
|
||||||
('compress', 'zstd*.h'),
|
('compress', 'zstd*.h'),
|
||||||
]),
|
]),
|
||||||
srcs=glob(['compress/zstd*.c']),
|
srcs=glob(['compress/zstd*.c', 'compress/hist.c']),
|
||||||
deps=[':common'],
|
deps=[':common'],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -40,7 +41,7 @@ cxx_library(
|
|||||||
header_namespace='',
|
header_namespace='',
|
||||||
visibility=['PUBLIC'],
|
visibility=['PUBLIC'],
|
||||||
exported_headers=subdir_glob([
|
exported_headers=subdir_glob([
|
||||||
('decprecated', '*.h'),
|
('deprecated', '*.h'),
|
||||||
]),
|
]),
|
||||||
srcs=glob(['deprecated/*.c']),
|
srcs=glob(['deprecated/*.c']),
|
||||||
deps=[':common'],
|
deps=[':common'],
|
||||||
@ -118,6 +119,7 @@ cxx_library(
|
|||||||
'decompress/huf_decompress.c',
|
'decompress/huf_decompress.c',
|
||||||
],
|
],
|
||||||
deps=[
|
deps=[
|
||||||
|
':debug',
|
||||||
':bitstream',
|
':bitstream',
|
||||||
':compiler',
|
':compiler',
|
||||||
':errors',
|
':errors',
|
||||||
@ -204,9 +206,20 @@ cxx_library(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cxx_library(
|
||||||
|
name='debug',
|
||||||
|
header_namespace='',
|
||||||
|
visibility=['PUBLIC'],
|
||||||
|
exported_headers=subdir_glob([
|
||||||
|
('common', 'debug.h'),
|
||||||
|
]),
|
||||||
|
srcs=['common/debug.c'],
|
||||||
|
)
|
||||||
|
|
||||||
cxx_library(
|
cxx_library(
|
||||||
name='common',
|
name='common',
|
||||||
deps=[
|
deps=[
|
||||||
|
':debug',
|
||||||
':bitstream',
|
':bitstream',
|
||||||
':compiler',
|
':compiler',
|
||||||
':cpu',
|
':cpu',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user