aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/internal/poll/ya.make
blob: 33bfc70d8744691d45b9c0b8f822c5f4a588ddf7 (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
GO_LIBRARY()

SRCS(
    fd.go
    fd_mutex.go
    fd_poll_runtime.go
    fd_posix.go
    sockopt.go
    sockoptip.go
)

GO_TEST_SRCS(
    export_posix_test.go
    export_test.go
)

GO_XTEST_SRCS(
    error_test.go
    fd_mutex_test.go
    fd_posix_test.go
    read_test.go
    writev_test.go
)

IF (OS_LINUX)
    SRCS(
        copy_file_range_linux.go
        errno_unix.go
        fd_fsync_posix.go
        fd_unix.go
        fd_unixjs.go
        fd_writev_unix.go
        hook_cloexec.go
        hook_unix.go
        iovec_unix.go
        sendfile_linux.go
        sock_cloexec.go
        sockopt_linux.go
        sockopt_unix.go
        splice_linux.go
        writev.go
    )

    GO_TEST_SRCS(export_linux_test.go)

    GO_XTEST_SRCS(
        error_linux_test.go
        splice_linux_test.go
    )
ENDIF()

IF (OS_DARWIN)
    SRCS(
        errno_unix.go
        fd_fsync_darwin.go
        fd_opendir_darwin.go
        fd_unix.go
        fd_unixjs.go
        fd_writev_libc.go
        hook_unix.go
        iovec_unix.go
        sendfile_bsd.go
        sockopt_unix.go
        sys_cloexec.go
        writev.go
    )

    GO_XTEST_SRCS(error_stub_test.go)
ENDIF()

IF (OS_WINDOWS)
    SRCS(
        errno_windows.go
        fd_fsync_windows.go
        fd_windows.go
        hook_windows.go
        sendfile_windows.go
        sockopt_windows.go
    )

    GO_TEST_SRCS(export_windows_test.go)

    GO_XTEST_SRCS(
        error_stub_test.go
        fd_windows_test.go
    )
ENDIF()

END()

RECURSE(
)