aboutsummaryrefslogtreecommitdiffstats
path: root/util/ya.make
diff options
context:
space:
mode:
authordtorilov <dtorilov@yandex-team.com>2024-03-28 21:07:32 +0300
committerdtorilov <dtorilov@yandex-team.com>2024-03-28 21:18:22 +0300
commit69da0d084c7045f516e59ff13afeb15a3f313b5d (patch)
tree03a0355dba12f54746d8f24133c1551d8fdaf5f4 /util/ya.make
parent22f953d76634703f1ac2d06ec90fe270ceaafe74 (diff)
downloadydb-69da0d084c7045f516e59ff13afeb15a3f313b5d.tar.gz
WebAssembly in util
b46c1e446c9d0f9393bf688b26db810f60add0f6
Diffstat (limited to 'util/ya.make')
-rw-r--r--util/ya.make24
1 files changed, 17 insertions, 7 deletions
diff --git a/util/ya.make b/util/ya.make
index 4e28fc491f..ececf5c17b 100644
--- a/util/ya.make
+++ b/util/ya.make
@@ -255,7 +255,6 @@ JOIN_SRCS(
system/backtrace.cpp
system/compat.cpp
system/condvar.cpp
- system/context.cpp
system/daemon.cpp
system/datetime.cpp
system/defaults.c
@@ -264,7 +263,6 @@ JOIN_SRCS(
system/env.cpp
system/error.cpp
system/event.cpp
- system/execpath.cpp
system/fasttime.cpp
system/file.cpp
system/file_lock.cpp
@@ -278,13 +276,20 @@ JOIN_SRCS(
system/hp_timer.cpp
system/info.cpp
)
+IF (NOT OS_EMSCRIPTEN)
+JOIN_SRCS(
+ all_system_2.cpp
+ system/context.cpp
+ system/execpath.cpp
+)
+ENDIF()
IF (OS_WINDOWS)
SRCS(system/err.cpp)
ENDIF()
JOIN_SRCS(
- all_system_2.cpp
+ all_system_3.cpp
system/align.cpp
system/byteorder.cpp
system/cpu_id.cpp
@@ -293,7 +298,6 @@ JOIN_SRCS(
system/interrupt_signals.cpp
system/madvise.cpp
system/maxlen.cpp
- system/mem_info.cpp
system/mincore.cpp
system/mktemp.cpp
system/mlock.cpp
@@ -306,7 +310,6 @@ JOIN_SRCS(
system/rusage.cpp
system/rwlock.cpp
system/sanitizers.cpp
- system/sem.cpp
system/shellcommand.cpp
system/shmat.cpp
system/sigset.cpp
@@ -316,9 +319,7 @@ JOIN_SRCS(
system/sys_alloc.cpp
system/sysstat.cpp
system/tempfile.cpp
- system/thread.cpp
system/tls.cpp
- system/types.cpp
system/type_name.cpp
system/unaligned_mem.cpp
system/user.cpp
@@ -326,6 +327,15 @@ JOIN_SRCS(
system/yassert.cpp
system/yield.cpp
)
+IF (NOT OS_EMSCRIPTEN)
+JOIN_SRCS(
+ all_system_4.cpp
+ system/mem_info.cpp
+ system/sem.cpp
+ system/thread.cpp
+ system/types.cpp
+)
+ENDIF()
SRC_C_NO_LTO(system/compiler.cpp)