aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/utils/backtrace/ya.make
blob: 30c2dd1cc113d040aa17a6455b79f1a2764db577 (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
LIBRARY()

SRCS(
    backtrace.cpp
    backtrace_lib.cpp
    symbolize.cpp
)

PEERDIR(
    library/cpp/deprecated/atomic
)


IF (OS_LINUX AND ARCH_X86_64)
    SRCS(
        backtrace_linux.cpp
        symbolizer_linux.cpp
    )

    PEERDIR(
        contrib/libs/backtrace
        contrib/libs/libunwind
    )
    ADDINCL(contrib/libs/libunwind/include)
    
ELSE()
    SRCS(
        backtrace_dummy.cpp
    )
ENDIF()

END()

RECURSE_FOR_TESTS(ut)