aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/ya.make
blob: 599bbdc92fc8b5ac9219392910284726b2532cc0 (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
LIBRARY()

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

SRCS(
    abortable_registry.cpp
    batch_request_impl.cpp
    client_reader.cpp
    client_writer.cpp
    client.cpp
    file_reader.cpp
    file_writer.cpp
    format_hints.cpp
    init.cpp
    lock.cpp
    operation_helpers.cpp
    operation_preparer.cpp
    operation_tracker.cpp
    operation.cpp
    prepare_operation.cpp
    py_helpers.cpp
    retry_heavy_write_request.cpp
    retry_transaction.cpp
    retryful_writer.cpp
    retryful_writer_v2.cpp
    retryless_writer.cpp
    skiff.cpp
    structured_table_formats.cpp
    transaction.cpp
    transaction_pinger.cpp
    yt_poller.cpp
)

PEERDIR(
    library/cpp/digest/md5
    library/cpp/sighandler
    library/cpp/threading/blocking_queue
    library/cpp/threading/future
    library/cpp/type_info
    library/cpp/yson
    yt/cpp/mapreduce/common
    yt/cpp/mapreduce/http
    yt/cpp/mapreduce/interface
    yt/cpp/mapreduce/io
    yt/cpp/mapreduce/raw_client
)

PEERDIR(
    yt/yt/core
    yt/yt/core/http
)

IF (BUILD_TYPE == "PROFILE")
    PEERDIR(
        yt/yt/library/ytprof
    )

    IF (OPENSOURCE)
        SRCS(
            dummy_job_profiler.cpp
        )
    ELSE()
        SRCS(
            job_profiler.cpp
        )    
    ENDIF()
ELSE()
    SRCS(
        dummy_job_profiler.cpp
    )
ENDIF()

GENERATE_ENUM_SERIALIZATION(structured_table_formats.h)

END()