diff options
author | pg <pg@yandex-team.com> | 2024-06-21 11:13:35 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2024-06-21 11:31:48 +0300 |
commit | 424c5c935fddd2da90f5c6760011ae0e681f9d56 (patch) | |
tree | e117b47d953dd636334daa0def0980f3bd4b497d /build/platform/java | |
parent | 5d05cb857a21ceb02289b08fbc7063971869fb35 (diff) | |
download | ydb-424c5c935fddd2da90f5c6760011ae0e681f9d56.tar.gz |
cleanups
fab244d13c2d96ffdc94e094f09cce18fccfaa96
Diffstat (limited to 'build/platform/java')
-rw-r--r-- | build/platform/java/grpc/resources.json | 19 | ||||
-rw-r--r-- | build/platform/java/grpc/ya.make | 5 | ||||
-rw-r--r-- | build/platform/java/grpc/ya.make.prebuilt | 9 |
3 files changed, 33 insertions, 0 deletions
diff --git a/build/platform/java/grpc/resources.json b/build/platform/java/grpc/resources.json new file mode 100644 index 0000000000..ca60d5634d --- /dev/null +++ b/build/platform/java/grpc/resources.json @@ -0,0 +1,19 @@ +{ + "by_platform": { + "darwin-arm64": { + "uri": "sbr:6538659252" + }, + "darwin-x86_64": { + "uri": "sbr:6538635125" + }, + "linux-x86_64": { + "uri": "sbr:6538599922" + }, + "linux-aarch64": { + "uri": "sbr:6538555418" + }, + "win32-x86_64": { + "uri": "sbr:6538717281" + } + } +}
\ No newline at end of file diff --git a/build/platform/java/grpc/ya.make b/build/platform/java/grpc/ya.make new file mode 100644 index 0000000000..b72c4c494f --- /dev/null +++ b/build/platform/java/grpc/ya.make @@ -0,0 +1,5 @@ +INCLUDE(ya.make.prebuilt) + +IF (NOT PREBUILT) + MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt grpc_java tool) +ENDIF() diff --git a/build/platform/java/grpc/ya.make.prebuilt b/build/platform/java/grpc/ya.make.prebuilt new file mode 100644 index 0000000000..27a05320f9 --- /dev/null +++ b/build/platform/java/grpc/ya.make.prebuilt @@ -0,0 +1,9 @@ +SET_RESOURCE_URI_FROM_JSON(SANDBOX_RESOURCE_URI ${ARCADIA_ROOT}/build/platform/java/grpc/resources.json) +ENABLE(PREBUILT) + +PREBUILT_PROGRAM() + IF (SANDBOX_RESOURCE_URI != "") + DECLARE_EXTERNAL_RESOURCE(GRPC_JAVA ${SANDBOX_RESOURCE_URI}) + PRIMARY_OUTPUT(${GRPC_JAVA_RESOURCE_GLOBAL}/grpc_java${MODULE_SUFFIX}) + ENDIF() +END() |