aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory/ya.make
blob: bd817454a93f5677efa6d905176e9e306ea094a8 (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
45
46
47
LIBRARY()

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

IF (YT_DISABLE_REF_COUNTED_TRACKING)
    CXXFLAGS(-DYT_DISABLE_REF_COUNTED_TRACKING)
ENDIF()

SRCS(
    allocation_tags_hooks.cpp
    blob.cpp
    chunked_input_stream.cpp
    chunked_memory_allocator.cpp
    chunked_memory_pool.cpp
    chunked_memory_pool_output.cpp
    chunked_output_stream.cpp
    memory_tag.cpp
    ref.cpp
    ref_tracked.cpp
    safe_memory_reader.cpp
    shared_range.cpp
)

PEERDIR(
    library/cpp/sanitizer/include
    library/cpp/yt/assert
    library/cpp/yt/misc
    library/cpp/yt/malloc
    library/cpp/yt/system
)

CHECK_DEPENDENT_DIRS(
    ALLOW_ONLY ALL
    build
    contrib
    library
    util
    library/cpp/yt/assert
    library/cpp/yt/misc
    library/cpp/yt/malloc
)

END()

RECURSE_FOR_TESTS(
    unittests
)