aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/ya.make
blob: c15949280843acc04e8fd97b4877afe66e7bcad5 (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
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/library/table_schema
    yt/cpp/mapreduce/raw_client
)

IF (ARCH_X86_64 OR OS_DARWIN)
    PEERDIR(
        yt/yt/core
        yt/yt/core/http
    )
ELSE()
    # Suppress yamaker's WBadIncl error on exotic platforms
    PEERDIR(
        yt/yt_proto/yt/core
    )
ENDIF()

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

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

GENERATE_ENUM_SERIALIZATION(structured_table_formats.h)

END()