aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/charset/ya.make
blob: acb13db4006b09c33ad7131fe976d0fce06f2f3f (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
LIBRARY()

IF (NOT OPENSOURCE AND USE_ICONV != "local")
    CXXFLAGS(-DUSE_ICONV_EXTENSIONS)
ENDIF()

SRCS(
    decodeunknownplane.cpp
    recyr.hh
    recyr_int.hh
    wide.cpp
)

PEERDIR(
    library/cpp/charset/lite
)

IF (OS_ANDROID OR OS_IOS OR LIBRARY_CHARSET_WITHOUT_LIBICONV)
    SRCS(
        iconv_mock.cpp
    )
ELSE()
    SRCS(
        iconv.cpp
    )
    PEERDIR(
        contrib/libs/libiconv
    )
ENDIF()

END()

RECURSE_FOR_TESTS(
    ut
    lite/ut
)