aboutsummaryrefslogtreecommitdiffstats
path: root/build/prebuilt/contrib/tools/flatc/ya.make.prebuilt
blob: fe93f102a9cdeeb29d5b1f0f2a1f8cb5044c6ce5 (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 ${ARCADIA_ROOT}/build/prebuilt/contrib/tools/flatc/resources.json)

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

    PREBUILT_PROGRAM()

    DECLARE_EXTERNAL_RESOURCE(FLATC ${SANDBOX_RESOURCE_URI})

    PRIMARY_OUTPUT(${FLATC_RESOURCE_GLOBAL}/flatc${MODULE_SUFFIX})

    INCLUDE(ya.make.induced_deps)

    END()
ENDIF()