aboutsummaryrefslogtreecommitdiffstats
path: root/build/external_resources/go_tools/ya.make
blob: 237048bdf0df318d2ddc473c3f78d5c71e501f71 (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.7)
    DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
        GO_TOOLS
        sbr:2795173262 FOR DARWIN-ARM64
        sbr:2795171743 FOR DARWIN
        sbr:2795174765 FOR LINUX
        sbr:2795175884 FOR WIN32
    )
ELSEIF(GOSTD_VERSION == 1.18rc1)
    DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
        GO_TOOLS
        sbr:2818781908 FOR DARWIN-ARM64
        sbr:2818781233 FOR DARWIN
        sbr:2818782525 FOR LINUX
        sbr:2818783279 FOR WIN32
    )
ELSE()
    MESSAGE(FATAL_ERROR Unsupported version [${GOSTD_VERSION}] of Go Standard Library)
ENDIF()

END()