aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/memory/ya.make
blob: f9660e13aa3314db91033a936def53f1710af163 (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
GO_LIBRARY()

LICENSE(BSD-3-Clause)

SRCS(
    memory.go
    memory64.go
    nocounters.go
    trace_disabled.go
)

GO_TEST_SRCS(all_test.go)

IF (OS_LINUX)
    SRCS(
        mmap_linux_64.go
        mmap_unix.go
    )
ENDIF()

IF (OS_DARWIN)
    SRCS(
        mmap_darwin.go
        mmap_unix.go
    )
ENDIF()

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

END()

RECURSE(gotest)