aboutsummaryrefslogtreecommitdiffstats
path: root/build/prebuilt/contrib/tools/python/bootstrap
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/contrib/tools/python/bootstrap
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'build/prebuilt/contrib/tools/python/bootstrap')
-rw-r--r--build/prebuilt/contrib/tools/python/bootstrap/ya.make7
-rw-r--r--build/prebuilt/contrib/tools/python/bootstrap/ya.make.prebuilt13
-rw-r--r--build/prebuilt/contrib/tools/python/bootstrap/ya.make.resource9
3 files changed, 29 insertions, 0 deletions
diff --git a/build/prebuilt/contrib/tools/python/bootstrap/ya.make b/build/prebuilt/contrib/tools/python/bootstrap/ya.make
new file mode 100644
index 0000000000..e2b736b1ca
--- /dev/null
+++ b/build/prebuilt/contrib/tools/python/bootstrap/ya.make
@@ -0,0 +1,7 @@
+OWNER(g:ymake)
+
+INCLUDE(ya.make.prebuilt)
+
+IF (NOT PREBUILT)
+ MESSAGE(FATAL_ERROR Unsupported host platform for prebuilt python bootstrap tool)
+ENDIF()
diff --git a/build/prebuilt/contrib/tools/python/bootstrap/ya.make.prebuilt b/build/prebuilt/contrib/tools/python/bootstrap/ya.make.prebuilt
new file mode 100644
index 0000000000..b913fc767a
--- /dev/null
+++ b/build/prebuilt/contrib/tools/python/bootstrap/ya.make.prebuilt
@@ -0,0 +1,13 @@
+INCLUDE(ya.make.resource)
+
+IF (SANDBOX_RESOURCE_ID != "")
+ ENABLE(PREBUILT)
+
+ PREBUILT_PROGRAM()
+
+ DECLARE_EXTERNAL_RESOURCE(PYTHON_BOOTSTRAP sbr:${SANDBOX_RESOURCE_ID})
+
+ PRIMARY_OUTPUT(${PYTHON_BOOTSTRAP_RESOURCE_GLOBAL}/bootstrap${MODULE_SUFFIX})
+
+ END()
+ENDIF()
diff --git a/build/prebuilt/contrib/tools/python/bootstrap/ya.make.resource b/build/prebuilt/contrib/tools/python/bootstrap/ya.make.resource
new file mode 100644
index 0000000000..0d93faef4c
--- /dev/null
+++ b/build/prebuilt/contrib/tools/python/bootstrap/ya.make.resource
@@ -0,0 +1,9 @@
+IF (OS_DARWIN AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1623751539)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1623751959)
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SET(SANDBOX_RESOURCE_ID 1623751763)
+ELSE()
+ SET(SANDBOX_RESOURCE_ID)
+ENDIF()