aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/protoc/ya.make.prebuilt
blob: c5e358c512a5944b1facc221de73b8ac0bd8c961 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SET_RESOURCE_URI_FROM_JSON(SANDBOX_RESOURCE_URI resources.json)

IF (SANDBOX_RESOURCE_URI != "")
    ENABLE(PREBUILT)

    PREBUILT_PROGRAM()

    DECLARE_EXTERNAL_RESOURCE(PROTOC ${SANDBOX_RESOURCE_URI})

    PRIMARY_OUTPUT(${PROTOC_RESOURCE_GLOBAL}/protoc${MODULE_SUFFIX})

    INCLUDE(ya.make.induced_deps)

    END()
ENDIF()