aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/core/ya.make
blob: d5a67c03a526267c9f415631ffe819d45b8082a2 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
LIBRARY()

NO_WSHADOW()

IF (PROFILE_MEMORY_ALLOCATIONS)
    CFLAGS(-DPROFILE_MEMORY_ALLOCATIONS)
ENDIF()

IF (ALLOCATOR == "B" OR ALLOCATOR == "BS" OR ALLOCATOR == "C")
    CXXFLAGS(-DBALLOC)
    PEERDIR(
        library/cpp/balloc/optional
    )
ENDIF()

SRCS(
    actor_bootstrapped.cpp
    actor_coroutine.cpp
    actor_coroutine.h
    actor.cpp
    actor.h
    actor_virtual.cpp
    actorid.cpp
    actorid.h
    actorsystem.cpp
    actorsystem.h
    ask.cpp
    ask.h
    av_bootstrapped.cpp
    balancer.h
    balancer.cpp
    buffer.cpp
    buffer.h
    callstack.cpp
    callstack.h
    config.h
    cpu_manager.cpp
    cpu_manager.h
    cpu_state.h
    defs.h
    event.cpp
    event.h
    event_load.h
    event_local.h
    event_pb.cpp
    event_pb.h
    events.h
    events_undelivered.cpp
    executelater.h
    executor_pool_base.cpp
    executor_pool_base.h
    executor_pool_basic.cpp
    executor_pool_basic.h
    executor_pool_io.cpp
    executor_pool_io.h
    executor_pool_united.cpp
    executor_pool_united.h
    executor_thread.cpp
    executor_thread.h
    harmonizer.cpp
    harmonizer.h
    hfunc.h
    interconnect.cpp
    interconnect.h
    invoke.h
    io_dispatcher.cpp
    io_dispatcher.h
    lease.h
    log.cpp
    log.h
    log_settings.cpp
    log_settings.h
    log_buffer.cpp
    log_buffer.h
    log_metrics.h
    mailbox.cpp
    mailbox.h
    mailbox_queue_revolving.h
    mailbox_queue_simple.h
    mon.h
    mon_stats.h
    monotonic.cpp
    monotonic.h
    monotonic_provider.cpp
    monotonic_provider.h
    worker_context.cpp
    worker_context.h
    probes.cpp
    probes.h
    process_stats.cpp
    process_stats.h
    scheduler_actor.cpp
    scheduler_actor.h
    scheduler_basic.cpp
    scheduler_basic.h
    scheduler_cookie.cpp
    scheduler_cookie.h
    scheduler_queue.h
    servicemap.h
)

GENERATE_ENUM_SERIALIZATION(defs.h)
GENERATE_ENUM_SERIALIZATION(actor.h)
GENERATE_ENUM_SERIALIZATION(log_iface.h)

PEERDIR(
    library/cpp/actors/memory_log
    library/cpp/actors/prof
    library/cpp/actors/protos
    library/cpp/actors/util
    library/cpp/execprofile
    library/cpp/json/writer
    library/cpp/logger
    library/cpp/lwtrace
    library/cpp/monlib/dynamic_counters
    library/cpp/svnversion
    library/cpp/time_provider
    library/cpp/threading/future
)

IF (SANITIZER_TYPE == "thread")
    SUPPRESSIONS(
        tsan.supp
    )
ENDIF()

END()

RECURSE_FOR_TESTS(
    ut
)