aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/runtime/race/ya.make
blob: 0663618efe5f68e4ab0e3913010aa1ee814c3697 (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
GO_LIBRARY()

NO_COMPILER_WARNINGS()

SRCS(
    doc.go
)

IF (ARCH_X86_64)
    SRCS(
        race_v1_amd64.go
    )
ENDIF()

IF (OS_DARWIN)
    IF (ARCH_X86_64)
        SRCS(
            race_darwin_amd64.go
        )
    ENDIF()
    IF (ARCH_ARM64)
        SRCS(
            race_darwin_arm64.go
            race_darwin_arm64.syso
        )
    ENDIF()
ENDIF()

IF (OS_LINUX)
    IF (ARCH_ARM64)
        SRCS(
            race_linux_arm64.syso
        )
    ENDIF()
ENDIF()

IF (RACE)
    IF (CGO_ENABLED OR OS_DARWIN)
        CGO_SRCS(
            race.go
        )
    ENDIF()
ENDIF()

END()

IF (ARCH_X86_64)
    RECURSE(
        internal
    )
ENDIF()