ya.make.prebuilt 348 B

1234567891011121314151617
  1. SET_RESOURCE_URI_FROM_JSON(SANDBOX_RESOURCE_URI resources.json)
  2. IF (SANDBOX_RESOURCE_URI != "")
  3. ENABLE(PREBUILT)
  4. PREBUILT_PROGRAM()
  5. DECLARE_EXTERNAL_RESOURCE(PROTOC ${SANDBOX_RESOURCE_URI})
  6. PRIMARY_OUTPUT(${PROTOC_RESOURCE_GLOBAL}/protoc${MODULE_SUFFIX})
  7. END()
  8. ELSE()
  9. PROGRAM(protoc)
  10. SRCS(main.c)
  11. END()
  12. ENDIF()