diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
commit | 056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch) | |
tree | 4740980126f32e3af7937ba0ca5f83e59baa4ab0 /util/charset | |
parent | 269126dcced1cc8b53eb4398b4a33e5142f10290 (diff) | |
download | ydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz |
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'util/charset')
-rw-r--r-- | util/charset/ut/ya.make | 16 | ||||
-rw-r--r-- | util/charset/ya.make | 34 |
2 files changed, 50 insertions, 0 deletions
diff --git a/util/charset/ut/ya.make b/util/charset/ut/ya.make new file mode 100644 index 0000000000..e9a3e2ffa6 --- /dev/null +++ b/util/charset/ut/ya.make @@ -0,0 +1,16 @@ +UNITTEST_FOR(util/charset) + +SUBSCRIBER(g:util-subscribers) + +DATA(arcadia/util/charset/ut/utf8) + +SRCS( + utf8_ut.cpp + wide_ut.cpp +) + +INCLUDE(${ARCADIA_ROOT}/util/tests/ya_util_tests.inc) + +REQUIREMENTS(ram:17) + +END() diff --git a/util/charset/ya.make b/util/charset/ya.make new file mode 100644 index 0000000000..09323f44c2 --- /dev/null +++ b/util/charset/ya.make @@ -0,0 +1,34 @@ +LIBRARY() + +SUBSCRIBER(g:util-subscribers) + +NO_UTIL() + +IF (TSTRING_IS_STD_STRING) + CFLAGS(GLOBAL -DTSTRING_IS_STD_STRING) +ENDIF() + +JOIN_SRCS( + all_charset.cpp + generated/unidata.cpp + recode_result.cpp + unicode_table.cpp + unidata.cpp + utf8.cpp + wide.cpp +) + +IF (ARCH_X86_64 AND NOT DISABLE_INSTRUCTION_SETS) + SRC_C_SSE41(wide_sse41.cpp) +ELSE() + SRC( + wide_sse41.cpp + -DSSE41_STUB + ) +ENDIF() + +END() + +RECURSE_FOR_TESTS( + ut +) |