aboutsummaryrefslogtreecommitdiffstats
path: root/build/external_resources/go_tools/ya.make
blob: ff3f8f7f2a4c8a87633404c145c7a5b3ecf08764 (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
OWNER(g:ymake)

RESOURCES_LIBRARY()

IF (NOT HOST_OS_DARWIN AND NOT HOST_OS_LINUX AND NOT HOST_OS_WINDOWS)
    MESSAGE(FATAL_ERROR Unsupported host platform for GO_TOOLS)
ELSEIF(GOSTD_VERSION == 1.17.6)
    DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
        GO_TOOLS
        sbr:2685555388 FOR DARWIN-ARM64
        sbr:2685554692 FOR DARWIN
        sbr:2685556023 FOR LINUX
        sbr:2685556796 FOR WIN32
    )
ELSEIF(GOSTD_VERSION == 1.18beta2)
    DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
        GO_TOOLS
        sbr:2764476653 FOR DARWIN-ARM64
        sbr:2764475951 FOR DARWIN
        sbr:2764477456 FOR LINUX
        sbr:2764478136 FOR WIN32
    )
ELSE()
    MESSAGE(FATAL_ERROR Unsupported version [${GOSTD_VERSION}] of Go Standard Library)
ENDIF()

END()