aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake.core.conf
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-08-03 09:19:49 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-08-03 09:19:49 +0300
commitc2d75710b43de2d3555c204330816767fa2c4d96 (patch)
tree6fdc4828c282db1f414acf365eae1460d5a31b7e /build/ymake.core.conf
parentb412c39082a836debcd635c7a4d1f56bfc92471c (diff)
downloadydb-c2d75710b43de2d3555c204330816767fa2c4d96.tar.gz
move more stuff to specific confs
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r--build/ymake.core.conf87
1 files changed, 2 insertions, 85 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 3f1a1e9e26..148f5d3729 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -6434,39 +6434,6 @@ otherwise {
TEST_IOS_RUNTIME_TYPE_VALUE=$IOS_RUNTIME
}
-# tag:java-specific
-### @usage: JDK_VERSION(Version)
-###
-### Specify JDK version for module
-macro JDK_VERSION(Arg) {
- .SEM=required_jdk $Arg ${output;hide:"JdkVersionFakeProp.java"}
- SET(JDK_REAL_VERSION $Arg)
- _JDK_VERSION_MACRO_CHECK($Arg)
-}
-
-# tag:java-specific
-when ($JDK_REAL_VERSION == "10") {
- JDK10=yes # remove this later
-}
-JAVA_PROGRAM_CP_USE_COMMAND_FILE=yes
-when ($JDK_REAL_VERSION == "8") {
- JAVA_PROGRAM_CP_USE_COMMAND_FILE=no
-}
-
-# tag:kotlin-specific
-KOTLIN_JVM_TARGET=
-when ($JDK_REAL_VERSION == "8") {
- KOTLIN_JVM_TARGET=1.8
-}
-elsewhen ($JDK_REAL_VERSION == "20") {
- # remove when kotlin starts supporting jdk20 bytecode
- # see also devtools/ya/jbuild/gen/actions/idea.py
- KOTLIN_JVM_TARGET=19
-}
-otherwise {
- KOTLIN_JVM_TARGET=$JDK_REAL_VERSION
-}
-
# tag:frontend-specific
### @usage: COLLECT_FRONTEND_FILES(Varname, Dir)
###
@@ -6475,12 +6442,6 @@ macro COLLECT_FRONTEND_FILES(Varname, Dir) {
_GLOB($Varname $Dir/**/*.(css|ejs|jpg|js|jsx|png|styl|svg|ts|tsx|json|html))
}
-# tag:java-specific
-# local jdk and tools
-USE_SYSTEM_JDK=
-USE_SYSTEM_UBERJAR=
-USE_SYSTEM_ERROR_PRONE=
-
# tag:swift-specific
CPP_XCODE_TOOLCHAIN_VERSION=9.2
SWIFT_XCODE_TOOLCHAIN_VERSION=9.2
@@ -6519,15 +6480,6 @@ when (!$TENSORRT_VERSION) {
ANDROID_APK_TEST_ACTIVITY_VALUE=com.yandex.test.unittests/.RunTestsActivity
-MAVEN_BIN=$MAVEN_RESOURCE_GLOBAL/bin/mvn
-
-when ($QT_REQUIRED) {
- QT_BIN=${HOST_QT_RESOURCE_GLOBAL}/bin
-}
-when ($OPENGL_REQUIRED) {
- OPENGL_VERSION=18.0.5
-}
-
# tag:windows-specific
WINDOWS_MANIFEST=
macro WINDOWS_MANIFEST(Manifest) {
@@ -6598,43 +6550,6 @@ macro NGINX_MODULES(Modules...) {
RUN_PROGRAM(nginx/module_gen ${Modules} CWD ${ARCADIA_ROOT} IN ${suf=/modules.json:Modules} OUTPUT_INCLUDES contrib/nginx/core/src/core/ngx_config.h contrib/nginx/core/src/core/ngx_core.h STDOUT ngx_modules.c)
}
-# tag:external-build
-CONTAINER_LAYER_CMD=$YMAKE_PYTHON ${input:"build/scripts/make_container_layer.py"} -s $SQUASHFS_RESOURCE_GLOBAL -o $TARGET $AUTO_INPUT ${cwd:ARCADIA_BUILD_ROOT} ${kv;hide:"p CL"} ${kv;hide:"pc blue"}
-CONTAINER_CMD=$YMAKE_PYTHON ${input:"build/scripts/make_container.py"} -s $SQUASHFS_RESOURCE_GLOBAL -o $TARGET ${rootrel:PEERS} ${cwd:ARCADIA_BUILD_ROOT} ${kv;hide:"p CN"} ${kv;hide:"pc blue"}
-
-# tag:external-build
-module CONTAINER_LAYER: _BARE_UNIT {
- .CMD=CONTAINER_LAYER_CMD
- PEERDIR(build/external_resources/squashfs_tools)
-
- MODULE_SUFFIX=.container_layer
- CHECK_ALLOWED_PATH()
- CHECK_DEPENDENT_DIRS(ALLOW_ONLY PEERDIRS base_layers build/external_resources/squashfs_tools build/platform/python/ymake_python3 junk)
-}
-
-# tag:external-build
-module CONTAINER: _BARE_UNIT {
- .NODE_TYPE=Bundle
- .PEERDIR_POLICY=as_build_from
- .FINAL_TARGET=yes
- .CMD=CONTAINER_CMD
- PEERDIR(build/external_resources/squashfs_tools)
- PEERDIR(devtools/contrib/cake/entry)
-}
-
-# tag:external-build
-CUSTOM_BUILD_LIBRARY_USE=
-CUSTOM_BUILD_LIBRARY_CMD=$GENERATE_MF && ${tool:"devtools/experimental/solar/outbuild/runner"} ${hide:PEERS} --script=${input:CUSTOM_SCRIPT} --output $TARGET --python=${tool:"contrib/tools/python3"} --isolator=${tool:"devtools/experimental/solar/outbuild/isolator"} $CUSTOM_BUILD_LIBRARY_USE
-
-# tag:external-build
-module CUSTOM_BUILD_LIBRARY: LIBRARY {
- .NODE_TYPE=Bundle
- .PEERDIR_POLICY=as_build_from
- .PROXY=yes
- .CMD=CUSTOM_BUILD_LIBRARY_CMD
- DISABLE(NEED_ADD_FAKE_SRC)
-}
-
### @usage: ORIGINAL_SOURCE(Source)
###
### This macro specifies the source repository for contrib
@@ -6761,3 +6676,5 @@ macro ALICE_CAPABILITY() {
JAVA_PROTO_PLUGIN(alice_capability_java alice/library/go/java_marker_interface_protoc_plugin DEPS alice/protos/endpoint/java_interface alice/megamind/protos/scenarios/java_interface)
}
+
+@import "${CONF_ROOT}/conf/misc.conf"