blob: 32418c81f9547ad586288a9797ee46ad321d57a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
-DBROTLI_BUILD_PORTABLE
-Wno-everything
)
target_include_directories(libs-brotli-enc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
)
target_link_libraries(libs-brotli-enc PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
libs-brotli-common
libs-brotli-dec
)
target_sources(libs-brotli-enc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/backward_references.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/backward_references_hq.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/bit_cost.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/block_splitter.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/brotli_bit_stream.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/cluster.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/compress_fragment.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/compress_fragment_two_pass.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/dictionary_hash.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/encode.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/encoder_dict.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/entropy_encode.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/histogram.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/literal_cost.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/memory.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/metablock.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/static_dict.c
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/utf8_util.c
)
|