aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/brotli
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/brotli
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/libs/brotli')
-rw-r--r--contrib/libs/brotli/common/ya.make20
-rw-r--r--contrib/libs/brotli/dec/ya.make24
-rw-r--r--contrib/libs/brotli/enc/ya.make41
3 files changed, 85 insertions, 0 deletions
diff --git a/contrib/libs/brotli/common/ya.make b/contrib/libs/brotli/common/ya.make
new file mode 100644
index 0000000000..89e38a262c
--- /dev/null
+++ b/contrib/libs/brotli/common/ya.make
@@ -0,0 +1,20 @@
+LIBRARY()
+
+LICENSE(MIT)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+NO_UTIL()
+
+NO_COMPILER_WARNINGS()
+
+ADDINCL(contrib/libs/brotli/include)
+
+SRCS(
+ dictionary.c
+ transform.c
+)
+
+CFLAGS(-DBROTLI_BUILD_PORTABLE)
+
+END()
diff --git a/contrib/libs/brotli/dec/ya.make b/contrib/libs/brotli/dec/ya.make
new file mode 100644
index 0000000000..826e87a4f7
--- /dev/null
+++ b/contrib/libs/brotli/dec/ya.make
@@ -0,0 +1,24 @@
+LIBRARY()
+
+LICENSE(MIT)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+NO_UTIL()
+
+NO_COMPILER_WARNINGS()
+
+ADDINCL(GLOBAL contrib/libs/brotli/include)
+
+PEERDIR(
+ contrib/libs/brotli/common
+)
+
+SRCS(
+ bit_reader.c
+ decode.c
+ huffman.c
+ state.c
+)
+
+END()
diff --git a/contrib/libs/brotli/enc/ya.make b/contrib/libs/brotli/enc/ya.make
new file mode 100644
index 0000000000..d75ce19880
--- /dev/null
+++ b/contrib/libs/brotli/enc/ya.make
@@ -0,0 +1,41 @@
+LIBRARY()
+
+LICENSE(MIT)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+NO_UTIL()
+
+NO_COMPILER_WARNINGS()
+
+ADDINCL(GLOBAL contrib/libs/brotli/include)
+
+PEERDIR(
+ contrib/libs/brotli/common
+ contrib/libs/brotli/dec
+)
+
+SRCS(
+ backward_references.c
+ backward_references_hq.c
+ bit_cost.c
+ block_splitter.c
+ brotli_bit_stream.c
+ cluster.c
+ compress_fragment.c
+ compress_fragment_two_pass.c
+ dictionary_hash.c
+ encode.c
+ encoder_dict.c
+ entropy_encode.c
+ histogram.c
+ literal_cost.c
+ memory.c
+ metablock.c
+ static_dict.c
+ utf8_util.c
+)
+
+CFLAGS(-DBROTLI_BUILD_PORTABLE)
+
+END()