aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/crypto/rand/ya.make
blob: d3eb5da2ba6a09fd7fba8af6dc1b46128bf04b22 (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
GO_LIBRARY()

SRCS(
    rand.go
    util.go
)

GO_TEST_SRCS(rand_test.go)

GO_XTEST_SRCS(
    example_test.go
    util_test.go
)

IF (OS_LINUX)
    SRCS(
        rand_getrandom.go
        rand_unix.go
    )

    GO_TEST_SRCS(rand_batched_test.go)
ENDIF()

IF (OS_DARWIN)
    SRCS(
        rand_getentropy.go
        rand_unix.go
    )

    GO_TEST_SRCS(rand_batched_test.go)
ENDIF()

IF (OS_WINDOWS)
    SRCS(
        rand_windows.go
    )
ENDIF()

END()

RECURSE(
)