aboutsummaryrefslogtreecommitdiffstats
path: root/build/prebuilt/tools
diff options
context:
space:
mode:
authorDevtools Arcadia <arcadia-devtools@yandex-team.ru>2022-02-07 18:08:42 +0300
committerDevtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net>2022-02-07 18:08:42 +0300
commit1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch)
treee26c9fed0de5d9873cce7e00bc214573dc2195b7 /build/prebuilt/tools
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'build/prebuilt/tools')
-rw-r--r--build/prebuilt/tools/enum_parser/enum_parser/ya.make7
-rw-r--r--build/prebuilt/tools/enum_parser/enum_parser/ya.make.induced_deps16
-rw-r--r--build/prebuilt/tools/enum_parser/enum_parser/ya.make.prebuilt15
-rw-r--r--build/prebuilt/tools/enum_parser/enum_parser/ya.make.resource9
-rw-r--r--build/prebuilt/tools/event2cpp/ya.make7
-rw-r--r--build/prebuilt/tools/event2cpp/ya.make.induced_deps8
-rw-r--r--build/prebuilt/tools/event2cpp/ya.make.prebuilt15
-rw-r--r--build/prebuilt/tools/event2cpp/ya.make.resource9
-rw-r--r--build/prebuilt/tools/fix_elf/ya.make7
-rw-r--r--build/prebuilt/tools/fix_elf/ya.make.prebuilt13
-rw-r--r--build/prebuilt/tools/fix_elf/ya.make.resource9
-rw-r--r--build/prebuilt/tools/rescompiler/ya.make7
-rw-r--r--build/prebuilt/tools/rescompiler/ya.make.induced_deps1
-rw-r--r--build/prebuilt/tools/rescompiler/ya.make.prebuilt15
-rw-r--r--build/prebuilt/tools/rescompiler/ya.make.resource9
-rw-r--r--build/prebuilt/tools/rescompressor/ya.make7
-rw-r--r--build/prebuilt/tools/rescompressor/ya.make.prebuilt13
-rw-r--r--build/prebuilt/tools/rescompressor/ya.make.resource9
-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
-rw-r--r--build/prebuilt/tools/rorescompiler/ya.make.resource9
22 files changed, 208 insertions, 0 deletions
diff --git a/build/prebuilt/tools/enum_parser/enum_parser/ya.make b/build/prebuilt/tools/enum_parser/enum_parser/ya.make
new file mode 100644
index 0000000000..2962c10036
--- /dev/null
+++ b/build/prebuilt/tools/enum_parser/enum_parser/ya.make
@@ -0,0 +1,7 @@
+OWNER(g:ymake)
+
+INCLUDE(ya.make.prebuilt)
+
+IF (NOT PREBUILT)
+ MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt enum_parser tool)
+ENDIF()
diff --git a/build/prebuilt/tools/enum_parser/enum_parser/ya.make.induced_deps b/build/prebuilt/tools/enum_parser/enum_parser/ya.make.induced_deps
new file mode 100644
index 0000000000..d91f30d835
--- /dev/null
+++ b/build/prebuilt/tools/enum_parser/enum_parser/ya.make.induced_deps
@@ -0,0 +1,16 @@
+INDUCED_DEPS(h+cpp
+ ${ARCADIA_ROOT}/util/generic/typetraits.h
+ ${ARCADIA_ROOT}/util/generic/singleton.h
+ ${ARCADIA_ROOT}/util/generic/string.h
+ ${ARCADIA_ROOT}/util/generic/vector.h
+ ${ARCADIA_ROOT}/util/generic/map.h
+ ${ARCADIA_ROOT}/util/string/cast.h
+ ${ARCADIA_ROOT}/util/stream/output.h
+ ${ARCADIA_ROOT}/tools/enum_parser/enum_serialization_runtime/enum_runtime.h
+ ${ARCADIA_ROOT}/tools/enum_parser/enum_parser/stdlib_deps.h
+)
+
+INDUCED_DEPS(h
+ ${ARCADIA_ROOT}/util/generic/serialized_enum.h
+)
+
diff --git a/build/prebuilt/tools/enum_parser/enum_parser/ya.make.prebuilt b/build/prebuilt/tools/enum_parser/enum_parser/ya.make.prebuilt
new file mode 100644
index 0000000000..1a027f4421
--- /dev/null
+++ b/build/prebuilt/tools/enum_parser/enum_parser/ya.make.prebuilt
@@ -0,0 +1,15 @@
+INCLUDE(ya.make.resource)
+
+IF (SANDBOX_RESOURCE_ID != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(ENUM_PARSER sbr:${SANDBOX_RESOURCE_ID})
+
+ PRIMARY_OUTPUT(${ENUM_PARSER_RESOURCE_GLOBAL}/enum_parser${MODULE_SUFFIX})
+
+ INCLUDE(ya.make.induced_deps)
+
+ END()
+ENDIF()
diff --git a/build/prebuilt/tools/enum_parser/enum_parser/ya.make.resource b/build/prebuilt/tools/enum_parser/enum_parser/ya.make.resource
new file mode 100644
index 0000000000..f4ba3bbfae
--- /dev/null
+++ b/build/prebuilt/tools/enum_parser/enum_parser/ya.make.resource
@@ -0,0 +1,9 @@
+IF (OS_DARWIN AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 2265845868)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 2265846387)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 2265845307)
+ELSE()
+ SET(SANDBOX_RESOURCE_ID)
+ENDIF()
diff --git a/build/prebuilt/tools/event2cpp/ya.make b/build/prebuilt/tools/event2cpp/ya.make
new file mode 100644
index 0000000000..8c54c21a12
--- /dev/null
+++ b/build/prebuilt/tools/event2cpp/ya.make
@@ -0,0 +1,7 @@
+OWNER(g:ymake)
+
+INCLUDE(ya.make.prebuilt)
+
+IF (NOT PREBUILT)
+ MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt event2cpp tool)
+ENDIF()
diff --git a/build/prebuilt/tools/event2cpp/ya.make.induced_deps b/build/prebuilt/tools/event2cpp/ya.make.induced_deps
new file mode 100644
index 0000000000..b7359d240c
--- /dev/null
+++ b/build/prebuilt/tools/event2cpp/ya.make.induced_deps
@@ -0,0 +1,8 @@
+INDUCED_DEPS(h+cpp
+ ${ARCADIA_ROOT}/contrib/libs/protobuf/src/google/protobuf/io/printer.h
+ ${ARCADIA_ROOT}/contrib/libs/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h
+ ${ARCADIA_ROOT}/contrib/libs/protobuf/src/google/protobuf/stubs/strutil.h
+ ${ARCADIA_ROOT}/library/cpp/eventlog/events_extension.h
+ ${ARCADIA_ROOT}/util/generic/cast.h
+ ${ARCADIA_ROOT}/util/stream/output.h
+)
diff --git a/build/prebuilt/tools/event2cpp/ya.make.prebuilt b/build/prebuilt/tools/event2cpp/ya.make.prebuilt
new file mode 100644
index 0000000000..038cad6f79
--- /dev/null
+++ b/build/prebuilt/tools/event2cpp/ya.make.prebuilt
@@ -0,0 +1,15 @@
+INCLUDE(ya.make.resource)
+
+IF (SANDBOX_RESOURCE_ID != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(EVENT2CPP sbr:${SANDBOX_RESOURCE_ID})
+
+ PRIMARY_OUTPUT(${EVENT2CPP_RESOURCE_GLOBAL}/event2cpp${MODULE_SUFFIX})
+
+ INCLUDE(ya.make.induced_deps)
+
+ END()
+ENDIF()
diff --git a/build/prebuilt/tools/event2cpp/ya.make.resource b/build/prebuilt/tools/event2cpp/ya.make.resource
new file mode 100644
index 0000000000..d5fac1e52c
--- /dev/null
+++ b/build/prebuilt/tools/event2cpp/ya.make.resource
@@ -0,0 +1,9 @@
+IF (OS_DARWIN AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 2313657675)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 2313658137)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 2313657255)
+ELSE()
+ SET(SANDBOX_RESOURCE_ID)
+ENDIF()
diff --git a/build/prebuilt/tools/fix_elf/ya.make b/build/prebuilt/tools/fix_elf/ya.make
new file mode 100644
index 0000000000..2fefcce7df
--- /dev/null
+++ b/build/prebuilt/tools/fix_elf/ya.make
@@ -0,0 +1,7 @@
+OWNER(g:ymake)
+
+INCLUDE(ya.make.prebuilt)
+
+IF (NOT PREBUILT)
+ MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt fix_elf tool)
+ENDIF()
diff --git a/build/prebuilt/tools/fix_elf/ya.make.prebuilt b/build/prebuilt/tools/fix_elf/ya.make.prebuilt
new file mode 100644
index 0000000000..c12328f97e
--- /dev/null
+++ b/build/prebuilt/tools/fix_elf/ya.make.prebuilt
@@ -0,0 +1,13 @@
+INCLUDE(ya.make.resource)
+
+IF (SANDBOX_RESOURCE_ID != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(FIX_ELF sbr:${SANDBOX_RESOURCE_ID})
+
+ PRIMARY_OUTPUT(${FIX_ELF_RESOURCE_GLOBAL}/fix_elf${MODULE_SUFFIX})
+
+ END()
+ENDIF()
diff --git a/build/prebuilt/tools/fix_elf/ya.make.resource b/build/prebuilt/tools/fix_elf/ya.make.resource
new file mode 100644
index 0000000000..f5b1f3828d
--- /dev/null
+++ b/build/prebuilt/tools/fix_elf/ya.make.resource
@@ -0,0 +1,9 @@
+IF (OS_DARWIN AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1623376503)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1623378373)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1623377172)
+ELSE()
+ SET(SANDBOX_RESOURCE_ID)
+ENDIF()
diff --git a/build/prebuilt/tools/rescompiler/ya.make b/build/prebuilt/tools/rescompiler/ya.make
new file mode 100644
index 0000000000..c30ff970c8
--- /dev/null
+++ b/build/prebuilt/tools/rescompiler/ya.make
@@ -0,0 +1,7 @@
+OWNER(g:ymake)
+
+INCLUDE(ya.make.prebuilt)
+
+IF (NOT PREBUILT)
+ MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt rescompiler tool)
+ENDIF()
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 0000000000..a1957cd783
--- /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/rescompiler/ya.make.prebuilt b/build/prebuilt/tools/rescompiler/ya.make.prebuilt
new file mode 100644
index 0000000000..23fa86ce01
--- /dev/null
+++ b/build/prebuilt/tools/rescompiler/ya.make.prebuilt
@@ -0,0 +1,15 @@
+INCLUDE(ya.make.resource)
+
+IF (SANDBOX_RESOURCE_ID != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(RESCOMPILER sbr:${SANDBOX_RESOURCE_ID})
+
+ PRIMARY_OUTPUT(${RESCOMPILER_RESOURCE_GLOBAL}/rescompiler${MODULE_SUFFIX})
+
+ INCLUDE(ya.make.induced_deps)
+
+ END()
+ENDIF()
diff --git a/build/prebuilt/tools/rescompiler/ya.make.resource b/build/prebuilt/tools/rescompiler/ya.make.resource
new file mode 100644
index 0000000000..64fa9cd5e6
--- /dev/null
+++ b/build/prebuilt/tools/rescompiler/ya.make.resource
@@ -0,0 +1,9 @@
+IF (OS_DARWIN AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601443458)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601443719)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601443586)
+ELSE()
+ SET(SANDBOX_RESOURCE_ID)
+ENDIF()
diff --git a/build/prebuilt/tools/rescompressor/ya.make b/build/prebuilt/tools/rescompressor/ya.make
new file mode 100644
index 0000000000..0751407e12
--- /dev/null
+++ b/build/prebuilt/tools/rescompressor/ya.make
@@ -0,0 +1,7 @@
+OWNER(g:ymake)
+
+INCLUDE(ya.make.prebuilt)
+
+IF (NOT PREBUILT)
+ MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt rescompressor tool)
+ENDIF()
diff --git a/build/prebuilt/tools/rescompressor/ya.make.prebuilt b/build/prebuilt/tools/rescompressor/ya.make.prebuilt
new file mode 100644
index 0000000000..0b522fdc0d
--- /dev/null
+++ b/build/prebuilt/tools/rescompressor/ya.make.prebuilt
@@ -0,0 +1,13 @@
+INCLUDE(ya.make.resource)
+
+IF (SANDBOX_RESOURCE_ID != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(RESCOMPRESSOR sbr:${SANDBOX_RESOURCE_ID})
+
+ PRIMARY_OUTPUT(${RESCOMPRESSOR_RESOURCE_GLOBAL}/rescompressor${MODULE_SUFFIX})
+
+ END()
+ENDIF()
diff --git a/build/prebuilt/tools/rescompressor/ya.make.resource b/build/prebuilt/tools/rescompressor/ya.make.resource
new file mode 100644
index 0000000000..e6922444dd
--- /dev/null
+++ b/build/prebuilt/tools/rescompressor/ya.make.resource
@@ -0,0 +1,9 @@
+IF (OS_DARWIN AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601276031)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601276198)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601276119)
+ELSE()
+ SET(SANDBOX_RESOURCE_ID)
+ENDIF()
diff --git a/build/prebuilt/tools/rorescompiler/ya.make b/build/prebuilt/tools/rorescompiler/ya.make
new file mode 100644
index 0000000000..2b1798c435
--- /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 0000000000..af569a0520
--- /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 0000000000..208d7a0338
--- /dev/null
+++ b/build/prebuilt/tools/rorescompiler/ya.make.prebuilt
@@ -0,0 +1,15 @@
+INCLUDE(ya.make.resource)
+
+IF (SANDBOX_RESOURCE_ID != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(RORESCOMPILER sbr:${SANDBOX_RESOURCE_ID})
+
+ PRIMARY_OUTPUT(${RORESCOMPILER_RESOURCE_GLOBAL}/rorescompiler${MODULE_SUFFIX})
+
+ INCLUDE(ya.make.induced_deps)
+
+ END()
+ENDIF()
diff --git a/build/prebuilt/tools/rorescompiler/ya.make.resource b/build/prebuilt/tools/rorescompiler/ya.make.resource
new file mode 100644
index 0000000000..a3d4d8c4e9
--- /dev/null
+++ b/build/prebuilt/tools/rorescompiler/ya.make.resource
@@ -0,0 +1,9 @@
+IF (OS_DARWIN AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601277222)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601277445)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1601277334)
+ELSE()
+ SET(SANDBOX_RESOURCE_ID)
+ENDIF()