aboutsummaryrefslogtreecommitdiffstats
path: root/build/external_resources/go_tools/ya.make
blob: a962a6fe9e8f76fbdafd09089b4ba24e54eb6294 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
RESOURCES_LIBRARY()

TOOLCHAIN(go)

IF(GOSTD_VERSION == 1.22)
    VERSION(1.22)
    DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE_BY_JSON(GO_TOOLS go1.22.json)
ELSEIF(GOSTD_VERSION == 1.23)
    VERSION(1.23)
    DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE_BY_JSON(GO_TOOLS go1.23.json)
ELSE()
    MESSAGE(FATAL_ERROR Unsupported version [${GOSTD_VERSION}] of Go Standard Library)
ENDIF()

END()