aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/yt')
-rw-r--r--library/cpp/yt/assert/ya.make9
-rw-r--r--library/cpp/yt/coding/unittests/ya.make15
-rw-r--r--library/cpp/yt/coding/ya.make22
-rw-r--r--library/cpp/yt/containers/ya.make16
-rw-r--r--library/cpp/yt/cpu_clock/ya.make21
-rw-r--r--library/cpp/yt/exception/ya.make9
-rw-r--r--library/cpp/yt/malloc/ya.make9
-rw-r--r--library/cpp/yt/memory/unittests/ya.make22
-rw-r--r--library/cpp/yt/memory/ya.make38
-rw-r--r--library/cpp/yt/misc/unittests/ya.make15
-rw-r--r--library/cpp/yt/misc/ya.make28
-rw-r--r--library/cpp/yt/small_containers/unittests/ya.make17
-rw-r--r--library/cpp/yt/small_containers/ya.make22
-rw-r--r--library/cpp/yt/string/unittests/ya.make17
-rw-r--r--library/cpp/yt/string/ya.make34
-rw-r--r--library/cpp/yt/system/ya.make9
-rw-r--r--library/cpp/yt/threading/ya.make29
-rw-r--r--library/cpp/yt/yson/ya.make13
-rw-r--r--library/cpp/yt/yson_string/unittests/ya.make15
-rw-r--r--library/cpp/yt/yson_string/ya.make23
20 files changed, 383 insertions, 0 deletions
diff --git a/library/cpp/yt/assert/ya.make b/library/cpp/yt/assert/ya.make
new file mode 100644
index 0000000000..a9833ab70e
--- /dev/null
+++ b/library/cpp/yt/assert/ya.make
@@ -0,0 +1,9 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ assert.cpp
+)
+
+END()
diff --git a/library/cpp/yt/coding/unittests/ya.make b/library/cpp/yt/coding/unittests/ya.make
new file mode 100644
index 0000000000..ab94ee8796
--- /dev/null
+++ b/library/cpp/yt/coding/unittests/ya.make
@@ -0,0 +1,15 @@
+GTEST()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ zig_zag_ut.cpp
+ varint_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/coding
+ library/cpp/testing/gtest
+)
+
+END()
diff --git a/library/cpp/yt/coding/ya.make b/library/cpp/yt/coding/ya.make
new file mode 100644
index 0000000000..639d94e755
--- /dev/null
+++ b/library/cpp/yt/coding/ya.make
@@ -0,0 +1,22 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+)
+
+PEERDIR(
+ library/cpp/yt/exception
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)
+
+IF (NOT OPENSOURCE)
+ RECURSE(
+ benchmark
+ )
+ENDIF()
diff --git a/library/cpp/yt/containers/ya.make b/library/cpp/yt/containers/ya.make
new file mode 100644
index 0000000000..fbc70dbd7c
--- /dev/null
+++ b/library/cpp/yt/containers/ya.make
@@ -0,0 +1,16 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+)
+
+PEERDIR(
+ library/cpp/yt/assert
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)
diff --git a/library/cpp/yt/cpu_clock/ya.make b/library/cpp/yt/cpu_clock/ya.make
new file mode 100644
index 0000000000..60ea0e940e
--- /dev/null
+++ b/library/cpp/yt/cpu_clock/ya.make
@@ -0,0 +1,21 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ clock.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/assert
+)
+
+END()
+
+RECURSE(
+ benchmark
+)
+
+RECURSE_FOR_TESTS(
+ unittests
+)
diff --git a/library/cpp/yt/exception/ya.make b/library/cpp/yt/exception/ya.make
new file mode 100644
index 0000000000..ff0014adcf
--- /dev/null
+++ b/library/cpp/yt/exception/ya.make
@@ -0,0 +1,9 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ exception.cpp
+)
+
+END()
diff --git a/library/cpp/yt/malloc/ya.make b/library/cpp/yt/malloc/ya.make
new file mode 100644
index 0000000000..252f7f7b3d
--- /dev/null
+++ b/library/cpp/yt/malloc/ya.make
@@ -0,0 +1,9 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ malloc.cpp
+)
+
+END()
diff --git a/library/cpp/yt/memory/unittests/ya.make b/library/cpp/yt/memory/unittests/ya.make
new file mode 100644
index 0000000000..ff0e639819
--- /dev/null
+++ b/library/cpp/yt/memory/unittests/ya.make
@@ -0,0 +1,22 @@
+GTEST(unittester-library-memory)
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+IF (NOT OS_WINDOWS)
+ ALLOCATOR(YT)
+ENDIF()
+
+SRCS(
+ atomic_intrusive_ptr_ut.cpp
+ chunked_memory_pool_ut.cpp
+ chunked_memory_pool_output_ut.cpp
+ intrusive_ptr_ut.cpp
+ weak_ptr_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/testing/gtest
+ library/cpp/yt/memory
+)
+
+END()
diff --git a/library/cpp/yt/memory/ya.make b/library/cpp/yt/memory/ya.make
new file mode 100644
index 0000000000..c83121673d
--- /dev/null
+++ b/library/cpp/yt/memory/ya.make
@@ -0,0 +1,38 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ blob.cpp
+ chunked_input_stream.cpp
+ chunked_memory_allocator.cpp
+ chunked_memory_pool.cpp
+ chunked_memory_pool_output.cpp
+ chunked_output_stream.cpp
+ ref.cpp
+ ref_tracked.cpp
+ shared_range.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/assert
+ library/cpp/yt/misc
+ library/cpp/yt/malloc
+)
+
+CHECK_DEPENDENT_DIRS(
+ ALLOW_ONLY ALL
+ build
+ contrib
+ library
+ util
+ library/cpp/yt/assert
+ library/cpp/yt/misc
+ library/cpp/yt/malloc
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)
diff --git a/library/cpp/yt/misc/unittests/ya.make b/library/cpp/yt/misc/unittests/ya.make
new file mode 100644
index 0000000000..bc985812ed
--- /dev/null
+++ b/library/cpp/yt/misc/unittests/ya.make
@@ -0,0 +1,15 @@
+GTEST(unittester-library-misc)
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ enum_ut.cpp
+ guid_ut.cpp
+ preprocessor_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/misc
+)
+
+END()
diff --git a/library/cpp/yt/misc/ya.make b/library/cpp/yt/misc/ya.make
new file mode 100644
index 0000000000..6b3605f387
--- /dev/null
+++ b/library/cpp/yt/misc/ya.make
@@ -0,0 +1,28 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ guid.cpp
+ source_location.cpp
+ variant.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/exception
+)
+
+CHECK_DEPENDENT_DIRS(
+ ALLOW_ONLY ALL
+ build
+ contrib
+ library
+ util
+ yt/yt/library/small_containers
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)
diff --git a/library/cpp/yt/small_containers/unittests/ya.make b/library/cpp/yt/small_containers/unittests/ya.make
new file mode 100644
index 0000000000..bf3deade90
--- /dev/null
+++ b/library/cpp/yt/small_containers/unittests/ya.make
@@ -0,0 +1,17 @@
+GTEST(unittester-small-containers)
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ compact_flat_map_ut.cpp
+ compact_heap_ut.cpp
+ compact_set_ut.cpp
+ compact_vector_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/small_containers
+ library/cpp/testing/gtest
+)
+
+END()
diff --git a/library/cpp/yt/small_containers/ya.make b/library/cpp/yt/small_containers/ya.make
new file mode 100644
index 0000000000..a8bf8029d0
--- /dev/null
+++ b/library/cpp/yt/small_containers/ya.make
@@ -0,0 +1,22 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+PEERDIR(
+ library/cpp/yt/assert
+ library/cpp/yt/malloc
+)
+
+CHECK_DEPENDENT_DIRS(
+ ALLOW_ONLY ALL
+ build
+ contrib
+ library
+ util
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)
diff --git a/library/cpp/yt/string/unittests/ya.make b/library/cpp/yt/string/unittests/ya.make
new file mode 100644
index 0000000000..8fd64d3662
--- /dev/null
+++ b/library/cpp/yt/string/unittests/ya.make
@@ -0,0 +1,17 @@
+GTEST(unittester-library-string)
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ enum_ut.cpp
+ format_ut.cpp
+ guid_ut.cpp
+ string_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/string
+ library/cpp/testing/gtest
+)
+
+END()
diff --git a/library/cpp/yt/string/ya.make b/library/cpp/yt/string/ya.make
new file mode 100644
index 0000000000..95b07ee0d1
--- /dev/null
+++ b/library/cpp/yt/string/ya.make
@@ -0,0 +1,34 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ enum.cpp
+ guid.cpp
+ string.cpp
+ format.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/assert
+ library/cpp/yt/exception
+ library/cpp/yt/misc
+ library/cpp/yt/small_containers
+)
+
+CHECK_DEPENDENT_DIRS(
+ ALLOW_ONLY ALL
+ build
+ contrib
+ library
+ util
+ library/cpp/yt/assert
+ library/cpp/yt/misc
+ library/cpp/yt/small_containers
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)
diff --git a/library/cpp/yt/system/ya.make b/library/cpp/yt/system/ya.make
new file mode 100644
index 0000000000..22aab5151e
--- /dev/null
+++ b/library/cpp/yt/system/ya.make
@@ -0,0 +1,9 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ thread_id.cpp
+)
+
+END()
diff --git a/library/cpp/yt/threading/ya.make b/library/cpp/yt/threading/ya.make
new file mode 100644
index 0000000000..5c1f3d1408
--- /dev/null
+++ b/library/cpp/yt/threading/ya.make
@@ -0,0 +1,29 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ at_fork.cpp
+ event_count.cpp
+ fork_aware_spin_lock.cpp
+ fork_aware_rw_spin_lock.cpp
+ futex.cpp
+ public.cpp
+ recursive_spin_lock.cpp
+ rw_spin_lock.cpp
+ spin_lock_base.cpp
+ spin_lock.cpp
+ spin_wait.cpp
+ spin_wait_hook.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/assert
+ library/cpp/yt/cpu_clock
+ library/cpp/yt/system
+ library/cpp/yt/memory
+)
+
+END()
+
+RECURSE_FOR_TESTS(unittests)
diff --git a/library/cpp/yt/yson/ya.make b/library/cpp/yt/yson/ya.make
new file mode 100644
index 0000000000..f8bd9fc15d
--- /dev/null
+++ b/library/cpp/yt/yson/ya.make
@@ -0,0 +1,13 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ consumer.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/yson_string
+)
+
+END()
diff --git a/library/cpp/yt/yson_string/unittests/ya.make b/library/cpp/yt/yson_string/unittests/ya.make
new file mode 100644
index 0000000000..f301e5b438
--- /dev/null
+++ b/library/cpp/yt/yson_string/unittests/ya.make
@@ -0,0 +1,15 @@
+GTEST()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ convert_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/yson_string
+ library/cpp/testing/gtest
+ library/cpp/testing/gtest_extensions
+)
+
+END()
diff --git a/library/cpp/yt/yson_string/ya.make b/library/cpp/yt/yson_string/ya.make
new file mode 100644
index 0000000000..ba693760f1
--- /dev/null
+++ b/library/cpp/yt/yson_string/ya.make
@@ -0,0 +1,23 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ convert.cpp
+ string.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/assert
+ library/cpp/yt/coding
+ library/cpp/yt/exception
+ library/cpp/yt/string
+ library/cpp/yt/memory
+ library/cpp/yt/misc
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)