aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/sanitizer/address/static/ya.make
diff options
context:
space:
mode:
authornkozlovskiy <nmk@ydb.tech>2023-10-11 19:11:46 +0300
committernkozlovskiy <nmk@ydb.tech>2023-10-11 19:33:28 +0300
commit61b3971447e473726d6cdb23fc298e457b4d973c (patch)
treee2a2a864bb7717f7ae6138f6a3194a254dd2c7bb /library/cpp/sanitizer/address/static/ya.make
parenta674dc57d88d43c2e8e90a6084d5d2c988e0402c (diff)
downloadydb-61b3971447e473726d6cdb23fc298e457b4d973c.tar.gz
add sanitizers dependencies
Diffstat (limited to 'library/cpp/sanitizer/address/static/ya.make')
-rw-r--r--library/cpp/sanitizer/address/static/ya.make22
1 files changed, 22 insertions, 0 deletions
diff --git a/library/cpp/sanitizer/address/static/ya.make b/library/cpp/sanitizer/address/static/ya.make
new file mode 100644
index 0000000000..eb9843bc6e
--- /dev/null
+++ b/library/cpp/sanitizer/address/static/ya.make
@@ -0,0 +1,22 @@
+LIBRARY()
+
+OWNER(g:devtools-contrib)
+
+NO_UTIL()
+
+IF (CLANG16)
+PEERDIR(
+ contrib/libs/clang16-rt/lib/asan
+ contrib/libs/clang16-rt/lib/asan_cxx
+ contrib/libs/clang16-rt/lib/asan_static
+)
+ELSE()
+PEERDIR(
+ contrib/libs/clang14-rt/lib/asan
+ contrib/libs/clang14-rt/lib/asan_cxx
+ contrib/libs/clang14-rt/lib/asan_static
+)
+ENDIF()
+
+END()
+