aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-29 16:08:49 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-29 16:08:49 +0300
commitd0f65dadd78c6b5476fcae155315953553db37c2 (patch)
tree4e7fd6576fbe088bf33e386f59eed4ce130d196f
parent9ef15399195e727b7abf2e48977f5aa61d01fc2e (diff)
downloadydb-d0f65dadd78c6b5476fcae155315953553db37c2.tar.gz
intermediate changes
ref:8fe87edbf0b41704e537d5a8e0542c95b5202eb3
-rw-r--r--build/ya.conf.json2
-rw-r--r--build/ymake.core.conf7
2 files changed, 7 insertions, 2 deletions
diff --git a/build/ya.conf.json b/build/ya.conf.json
index 1c25be3d6c6..0ff1015e4ff 100644
--- a/build/ya.conf.json
+++ b/build/ya.conf.json
@@ -8225,7 +8225,7 @@
},
"sedem": {
"formula": {
- "sandbox_id": 1253638317,
+ "sandbox_id": 1258910224,
"match": "SEDEM archive"
},
"executable": {
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 66806c48115..2dfc39ba415 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -2655,8 +2655,9 @@ module RECURSIVE_LIBRARY: LIBRARY {
}
_SONAME=
+_EXPORT_SCRIPT_SEM=
macro _ADD_DYNLYB_SEM(Libname) {
- .SEM=add_library ${MODDIR} ${Libname} SHARED ${hide:TARGET} ${hide:AUTO_INPUT} && target_include_directories PUBLIC $_C__INCLUDE_GLOBAL && target_include_directories PRIVATE $_C__INCLUDE_OWNED && target_compile_options PRIVATE $USER_CFLAGS $USER_CXXFLAGS && target_compile_options PUBLIC $USER_CFLAGS_GLOBAL_RAW $USER_CXXFLAGS_GLOBAL_RAW && vcs_info
+ .SEM=add_library ${MODDIR} ${Libname} SHARED ${hide:TARGET} ${hide:AUTO_INPUT} && target_include_directories PUBLIC $_C__INCLUDE_GLOBAL && target_include_directories PRIVATE $_C__INCLUDE_OWNED && target_compile_options PRIVATE $USER_CFLAGS $USER_CXXFLAGS && target_compile_options PUBLIC $USER_CFLAGS_GLOBAL_RAW $USER_CXXFLAGS_GLOBAL_RAW && vcs_info $_EXPORT_SCRIPT_SEM
}
CPP_DYN_LIBRARY_SEM=$_ADD_DYNLYB_SEM($REALPRJNAME)
@@ -2679,6 +2680,10 @@ module DLL_UNIT: _LINK_UNIT {
SET(MODULE_LANG CPP)
ADD_CLANG_TIDY()
+ when ($EXPORTS_FILE) {
+ _EXPORT_SCRIPT_SEM=&& use_export_script ${input:EXPORTS_FILE}
+ }
+
when ($MSVC == "yes" || $CYGWIN == "yes") {
MODULE_SUFFIX=.dll
}