config("lz4_config") { | |
include_dirs = [ | |
"include", | |
"include/lz4", | |
] | |
} | |
static_library("lz4") { | |
sources = [ | |
"lz4.c", | |
"lz4frame.c", | |
"lz4hc.c", | |
"xxhash.c", | |
] | |
public = [ | |
"include/lz4/lz4frame.h", | |
"include/lz4/lz4frame_static.h", | |
"include/lz4/lz4.h", | |
"include/lz4/lz4hc.h", | |
"include/lz4/xxhash.h", | |
] | |
public_configs = [ ":lz4_config" ] | |
} |