blob: a0677fbf821d1daa666e5abd6e1e076bf4d56ea6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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()
ELSE()
PROGRAM(protoc)
SRCS(main.c)
INCLUDE(ya.make.induced_deps)
END()
ENDIF()
|