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

SRCS(
    elf.go
    label.go
    map.go
    pe.go
    pprof.go
    proto.go
    protobuf.go
    protomem.go
    runtime.go
)

GO_TEST_SRCS(
    label_test.go
    mprof_test.go
    pprof_test.go
    proto_test.go
    protomem_test.go
    runtime_test.go
)

IF (OS_LINUX)
    SRCS(
        pprof_rusage.go
        proto_other.go
    )

    GO_TEST_SRCS(rusage_test.go)
ENDIF()

IF (OS_DARWIN)
    SRCS(
        pprof_rusage.go
        proto_other.go
    )

    GO_TEST_SRCS(rusage_test.go)
ENDIF()

IF (OS_WINDOWS)
    SRCS(
        pprof_windows.go
        proto_windows.go
    )
ENDIF()

END()

RECURSE(
)