aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/golang/snappy/ya.make
blob: 261ba7878e14ed87ed41bfcedb0f222b34e79de8 (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
GO_LIBRARY()

LICENSE(BSD-3-Clause)

SRCS(
    decode.go
    decode_asm.go
    encode.go
    encode_asm.go
    snappy.go
)

GO_TEST_SRCS(
    golden_test.go
    snappy_test.go
)

IF (ARCH_X86_64)
    SRCS(
        decode_amd64.s
        encode_amd64.s
    )
ENDIF()

IF (OS_LINUX AND ARCH_ARM64)
    SRCS(
        decode_arm64.s
        encode_arm64.s
    )
ENDIF()

IF (OS_DARWIN AND ARCH_ARM64)
    SRCS(
        decode_arm64.s
        encode_arm64.s
    )
ENDIF()

END()

RECURSE(
    cmd
    gotest
)