summaryrefslogtreecommitdiffstats
path: root/contrib/libs/tcmalloc/internal_utils/ya.make
blob: 8e84aec4887ce4e3a4ddbf6146027b8572c8cfa1 (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()

WITHOUT_LICENSE_TEXTS()

LICENSE(Apache-2.0)

VERSION(2025-01-30)

NO_UTIL()

NO_COMPILER_WARNINGS()

SRCDIR(contrib/libs/tcmalloc)

IF (OS_LINUX)
    SRCS(
        tcmalloc/internal/allocation_guard.cc
        tcmalloc/internal/environment.cc
        tcmalloc/internal/logging.cc
        tcmalloc/internal/page_size.cc
        tcmalloc/internal/pageflags.cc
        tcmalloc/internal/residency.cc
        tcmalloc/internal/util.cc
    )
    ADDINCL(
        GLOBAL contrib/libs/tcmalloc
    )
    PEERDIR(
        contrib/libs/tcmalloc/malloc_extension
        contrib/restricted/abseil-cpp
    )
ENDIF()

END()