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