ya.make.prebuilt 417 B

1234567891011121314151617181920
  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. INCLUDE(ya.make.induced_deps)
  8. END()
  9. ELSE()
  10. PROGRAM(protoc)
  11. SRCS(main.c)
  12. INCLUDE(ya.make.induced_deps)
  13. END()
  14. ENDIF()