ya.make 333 B

123456789
  1. SET_RESOURCE_URI_FROM_JSON(SANDBOX_RESOURCE_URI ${ARCADIA_ROOT}/build/platform/java/protoc/resources.json)
  2. ENABLE(PREBUILT)
  3. PREBUILT_PROGRAM()
  4. IF (SANDBOX_RESOURCE_URI)
  5. DECLARE_EXTERNAL_RESOURCE(JAVA_PROTOC ${SANDBOX_RESOURCE_URI})
  6. PRIMARY_OUTPUT(${JAVA_PROTOC_RESOURCE_GLOBAL}/bin/protoc${MODULE_SUFFIX})
  7. ENDIF()
  8. END()