summaryrefslogtreecommitdiffstats
path: root/build/prebuilt/tools
diff options
context:
space:
mode:
authorprettyboy <[email protected]>2023-08-25 17:24:56 +0300
committerprettyboy <[email protected]>2023-08-25 17:52:28 +0300
commit8914eec08242396594eec71ba481be1f1a812997 (patch)
treed86814b125976a26f4723765c4e6bb22de343c2f /build/prebuilt/tools
parent1574ae59ebf39c4e8ba58b14f9b740bcd7fae56e (diff)
[devtools/contrib/piglet/projects/ydb/config.yaml] Work around to fix missing code for ya make build
Diffstat (limited to 'build/prebuilt/tools')
-rw-r--r--build/prebuilt/tools/rescompiler/ya.make.induced_deps1
-rw-r--r--build/prebuilt/tools/rorescompiler/resources.json16
-rw-r--r--build/prebuilt/tools/rorescompiler/ya.make7
-rw-r--r--build/prebuilt/tools/rorescompiler/ya.make.induced_deps1
-rw-r--r--build/prebuilt/tools/rorescompiler/ya.make.prebuilt15
5 files changed, 40 insertions, 0 deletions
diff --git a/build/prebuilt/tools/rescompiler/ya.make.induced_deps b/build/prebuilt/tools/rescompiler/ya.make.induced_deps
new file mode 100644
index 00000000000..a1957cd783d
--- /dev/null
+++ b/build/prebuilt/tools/rescompiler/ya.make.induced_deps
@@ -0,0 +1 @@
+INDUCED_DEPS(cpp ${ARCADIA_ROOT}/library/cpp/resource/registry.h ${ARCADIA_ROOT}/library/cpp/resource/resource.h)
diff --git a/build/prebuilt/tools/rorescompiler/resources.json b/build/prebuilt/tools/rorescompiler/resources.json
new file mode 100644
index 00000000000..a5ac5978f04
--- /dev/null
+++ b/build/prebuilt/tools/rorescompiler/resources.json
@@ -0,0 +1,16 @@
+{
+ "by_platform": {
+ "darwin-arm64": {
+ "uri": "sbr:1601277222"
+ },
+ "darwin-x86_64": {
+ "uri": "sbr:1601277222"
+ },
+ "linux-x86_64": {
+ "uri": "sbr:1601277445"
+ },
+ "win32-x86_64": {
+ "uri": "sbr:1601277334"
+ }
+ }
+} \ No newline at end of file
diff --git a/build/prebuilt/tools/rorescompiler/ya.make b/build/prebuilt/tools/rorescompiler/ya.make
new file mode 100644
index 00000000000..2b1798c4355
--- /dev/null
+++ b/build/prebuilt/tools/rorescompiler/ya.make
@@ -0,0 +1,7 @@
+OWNER(g:ymake)
+
+INCLUDE(ya.make.prebuilt)
+
+IF (NOT PREBUILT)
+ MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt rorescompiler tool)
+ENDIF()
diff --git a/build/prebuilt/tools/rorescompiler/ya.make.induced_deps b/build/prebuilt/tools/rorescompiler/ya.make.induced_deps
new file mode 100644
index 00000000000..af569a05206
--- /dev/null
+++ b/build/prebuilt/tools/rorescompiler/ya.make.induced_deps
@@ -0,0 +1 @@
+INDUCED_DEPS(cpp ${ARCADIA_ROOT}/library/cpp/resource/registry.h)
diff --git a/build/prebuilt/tools/rorescompiler/ya.make.prebuilt b/build/prebuilt/tools/rorescompiler/ya.make.prebuilt
new file mode 100644
index 00000000000..73fab21a25e
--- /dev/null
+++ b/build/prebuilt/tools/rorescompiler/ya.make.prebuilt
@@ -0,0 +1,15 @@
+SET_RESOURCE_URI_FROM_JSON(SANDBOX_RESOURCE_URI ${ARCADIA_ROOT}/build/prebuilt/tools/rorescompiler/resources.json)
+
+IF (SANDBOX_RESOURCE_URI != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(RORESCOMPILER ${SANDBOX_RESOURCE_URI})
+
+ PRIMARY_OUTPUT(${RORESCOMPILER_RESOURCE_GLOBAL}/rorescompiler${MODULE_SUFFIX})
+
+ INCLUDE(ya.make.induced_deps)
+
+ END()
+ENDIF()