aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/pierrec/lz4/ya.make
blob: fe45b035492c2e275bcaf8c91ffc7d99dc4e6c2d (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()

LICENSE(BSD-3-Clause)

SRCS(
    block.go
    debug_stub.go
    errors.go
    lz4.go
    lz4_go1.10.go
    reader.go
    reader_legacy.go
    writer.go
    writer_legacy.go
)

GO_TEST_SRCS(decode_test.go)

GO_XTEST_SRCS(
    # bench_test.go
    # block_test.go
    example_test.go
    reader_legacy_test.go
    # reader_test.go
    writer_legacy_test.go
    # writer_test.go
)

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

IF (OS_LINUX AND ARCH_ARM64)
    SRCS(decode_other.go)
ENDIF()

IF (OS_DARWIN AND ARCH_ARM64)
    SRCS(decode_other.go)
ENDIF()

END()

RECURSE(
    # cmd
    # fuzz
    gotest
    internal
)