aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/backtrace/ya.make
blob: d294082e06a2ee2e1c5efa5d1e9eb93919b7c209 (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
44
LIBRARY()

INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)

SRCS(
    backtrace.cpp
)

IF (OS_WINDOWS)
    SRCS(
        symbolizers/dummy/dummy_symbolizer.cpp
    )
ELSE()
    SRCS(
        symbolizers/dynload/dynload_symbolizer.cpp
    )
ENDIF()

PEERDIR(
    library/cpp/yt/string
)

END()

RECURSE(
    cursors/dummy
    cursors/frame_pointer
)

IF (NOT OS_WINDOWS)
    RECURSE(
        cursors/libunwind
    )
ENDIF()

IF (OS_LINUX)
    RECURSE(
        symbolizers/dwarf
    )

    RECURSE_FOR_TESTS(
        unittests
    )
ENDIF()