summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/SConscript
blob: a7aff8c277640d52bc82c52eb3c3e11cf29b2c1d (plain)
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
# -*- mode: python; -*-

Import('env')

env.Library(
    target='hostandport',
    source=[
        'hostandport.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/util/foundation',
    ],
)

env.CppUnitTest(
    target='hostandport_test',
    source=[
        'hostandport_test.cpp'
    ],
    LIBDEPS=[
        'hostandport',
    ],
)

env.Library(
    target='network',
    source=[
        "httpclient.cpp",
        "listen.cpp",
        "message.cpp",
        "message_port.cpp",
        "sock.cpp",
        "socket_poll.cpp",
        "ssl_expiration.cpp",
        "ssl_manager.cpp",
        "ssl_options.cpp",
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/util/background_job',
        '$BUILD_DIR/mongo/util/fail_point',
        '$BUILD_DIR/mongo/db/server_options_core',
        '$BUILD_DIR/mongo/util/concurrency/ticketholder',
        '$BUILD_DIR/mongo/util/foundation',
        '$BUILD_DIR/mongo/util/options_parser/options_parser',
        'hostandport',
    ],
)

env.CppUnitTest(
    target='sock_test',
    source=[
        'sock_test.cpp',
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/util/concurrency/synchronization',
        'network',
    ],
)

env.Library(
    target="message_server_port",
    source=[
        "message_server_port.cpp",
    ],
    LIBDEPS=[
        '$BUILD_DIR/mongo/db/stats/counters',
    ],
)

env.Library(
    target='miniwebserver',
    source=[
        'miniwebserver.cpp',
    ],
    LIBDEPS=[
    ],
)