1# 2# Copyright 2017 The Abseil Authors. 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# https://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17absl_cc_library( 18 NAME 19 strings 20 HDRS 21 "ascii.h" 22 "charconv.h" 23 "escaping.h" 24 "match.h" 25 "numbers.h" 26 "str_cat.h" 27 "str_join.h" 28 "str_replace.h" 29 "str_split.h" 30 "string_view.h" 31 "strip.h" 32 "substitute.h" 33 SRCS 34 "ascii.cc" 35 "charconv.cc" 36 "escaping.cc" 37 "internal/charconv_bigint.cc" 38 "internal/charconv_bigint.h" 39 "internal/charconv_parse.cc" 40 "internal/charconv_parse.h" 41 "internal/memutil.cc" 42 "internal/memutil.h" 43 "internal/stl_type_traits.h" 44 "internal/str_join_internal.h" 45 "internal/str_split_internal.h" 46 "match.cc" 47 "numbers.cc" 48 "str_cat.cc" 49 "str_replace.cc" 50 "str_split.cc" 51 "string_view.cc" 52 "substitute.cc" 53 COPTS 54 ${ABSL_DEFAULT_COPTS} 55 DEPS 56 absl::strings_internal 57 absl::base 58 absl::bits 59 absl::config 60 absl::core_headers 61 absl::endian 62 absl::int128 63 absl::memory 64 absl::raw_logging_internal 65 absl::throw_delegate 66 absl::type_traits 67 PUBLIC 68) 69 70absl_cc_library( 71 NAME 72 strings_internal 73 HDRS 74 "internal/char_map.h" 75 "internal/escaping.cc" 76 "internal/escaping.h" 77 "internal/ostringstream.h" 78 "internal/resize_uninitialized.h" 79 "internal/utf8.h" 80 SRCS 81 "internal/ostringstream.cc" 82 "internal/utf8.cc" 83 COPTS 84 ${ABSL_DEFAULT_COPTS} 85 DEPS 86 absl::config 87 absl::core_headers 88 absl::endian 89 absl::raw_logging_internal 90 absl::type_traits 91) 92 93absl_cc_test( 94 NAME 95 match_test 96 SRCS 97 "match_test.cc" 98 COPTS 99 ${ABSL_TEST_COPTS} 100 DEPS 101 absl::strings 102 absl::base 103 gmock_main 104) 105 106absl_cc_test( 107 NAME 108 escaping_test 109 SRCS 110 "escaping_test.cc" 111 COPTS 112 ${ABSL_TEST_COPTS} 113 DEPS 114 absl::strings 115 absl::core_headers 116 absl::fixed_array 117 gmock_main 118) 119 120absl_cc_test( 121 NAME 122 ascii_test 123 SRCS 124 "ascii_test.cc" 125 COPTS 126 ${ABSL_TEST_COPTS} 127 DEPS 128 absl::strings 129 absl::core_headers 130 gmock_main 131) 132 133absl_cc_test( 134 NAME 135 memutil_test 136 SRCS 137 "internal/memutil.h" 138 "internal/memutil_test.cc" 139 COPTS 140 ${ABSL_TEST_COPTS} 141 DEPS 142 absl::strings 143 absl::core_headers 144 gmock_main 145) 146 147absl_cc_test( 148 NAME 149 utf8_test 150 SRCS 151 "internal/utf8_test.cc" 152 COPTS 153 ${ABSL_TEST_COPTS} 154 DEPS 155 absl::strings_internal 156 absl::base 157 absl::core_headers 158 gmock_main 159) 160 161absl_cc_test( 162 NAME 163 string_view_test 164 SRCS 165 "string_view_test.cc" 166 COPTS 167 ${ABSL_TEST_COPTS} 168 DEPS 169 absl::strings 170 absl::config 171 absl::core_headers 172 absl::dynamic_annotations 173 gmock_main 174) 175 176absl_cc_test( 177 NAME 178 substitute_test 179 SRCS 180 "substitute_test.cc" 181 COPTS 182 ${ABSL_TEST_COPTS} 183 DEPS 184 absl::strings 185 absl::core_headers 186 gmock_main 187) 188 189absl_cc_test( 190 NAME 191 str_replace_test 192 SRCS 193 "str_replace_test.cc" 194 COPTS 195 ${ABSL_TEST_COPTS} 196 DEPS 197 absl::strings 198 gmock_main 199) 200 201absl_cc_test( 202 NAME 203 str_split_test 204 SRCS 205 "str_split_test.cc" 206 COPTS 207 ${ABSL_TEST_COPTS} 208 DEPS 209 absl::strings 210 absl::base 211 absl::core_headers 212 absl::dynamic_annotations 213 gmock_main 214) 215 216absl_cc_test( 217 NAME 218 ostringstream_test 219 SRCS 220 "internal/ostringstream_test.cc" 221 COPTS 222 ${ABSL_TEST_COPTS} 223 DEPS 224 absl::strings_internal 225 gmock_main 226) 227 228absl_cc_test( 229 NAME 230 resize_uninitialized_test 231 SRCS 232 "internal/resize_uninitialized.h" 233 "internal/resize_uninitialized_test.cc" 234 COPTS 235 ${ABSL_TEST_COPTS} 236 DEPS 237 absl::base 238 absl::core_headers 239 absl::type_traits 240 gmock_main 241) 242 243absl_cc_test( 244 NAME 245 str_join_test 246 SRCS 247 "str_join_test.cc" 248 COPTS 249 ${ABSL_TEST_COPTS} 250 DEPS 251 absl::strings 252 absl::base 253 absl::core_headers 254 absl::memory 255 gmock_main 256) 257 258absl_cc_test( 259 NAME 260 str_cat_test 261 SRCS 262 "str_cat_test.cc" 263 COPTS 264 ${ABSL_TEST_COPTS} 265 DEPS 266 absl::strings 267 absl::core_headers 268 gmock_main 269) 270 271absl_cc_test( 272 NAME 273 numbers_test 274 SRCS 275 "internal/numbers_test_common.h" 276 "numbers_test.cc" 277 COPTS 278 ${ABSL_TEST_COPTS} 279 DEPS 280 absl::strings 281 absl::core_headers 282 absl::pow10_helper 283 absl::config 284 absl::raw_logging_internal 285 absl::random_random 286 absl::random_distributions 287 gmock_main 288) 289 290absl_cc_test( 291 NAME 292 strip_test 293 SRCS 294 "strip_test.cc" 295 COPTS 296 ${ABSL_TEST_COPTS} 297 DEPS 298 absl::strings 299 absl::base 300 gmock_main 301) 302 303absl_cc_test( 304 NAME 305 char_map_test 306 SRCS 307 "internal/char_map_test.cc" 308 COPTS 309 ${ABSL_TEST_COPTS} 310 DEPS 311 absl::strings_internal 312 gmock_main 313) 314 315absl_cc_test( 316 NAME 317 charconv_test 318 SRCS 319 "charconv_test.cc" 320 COPTS 321 ${ABSL_TEST_COPTS} 322 DEPS 323 absl::strings 324 absl::str_format 325 absl::pow10_helper 326 gmock_main 327) 328 329absl_cc_test( 330 NAME 331 charconv_parse_test 332 SRCS 333 "internal/charconv_parse.h" 334 "internal/charconv_parse_test.cc" 335 COPTS 336 ${ABSL_TEST_COPTS} 337 DEPS 338 absl::strings 339 absl::config 340 absl::raw_logging_internal 341 gmock_main 342) 343 344absl_cc_test( 345 NAME 346 charconv_bigint_test 347 SRCS 348 "internal/charconv_bigint.h" 349 "internal/charconv_bigint_test.cc" 350 "internal/charconv_parse.h" 351 COPTS 352 ${ABSL_TEST_COPTS} 353 DEPS 354 absl::strings 355 absl::config 356 gmock_main 357) 358 359absl_cc_library( 360 NAME 361 str_format 362 HDRS 363 "str_format.h" 364 COPTS 365 ${ABSL_DEFAULT_COPTS} 366 DEPS 367 absl::str_format_internal 368 PUBLIC 369) 370 371absl_cc_library( 372 NAME 373 str_format_internal 374 HDRS 375 "internal/str_format/arg.h" 376 "internal/str_format/bind.h" 377 "internal/str_format/checker.h" 378 "internal/str_format/extension.h" 379 "internal/str_format/float_conversion.h" 380 "internal/str_format/output.h" 381 "internal/str_format/parser.h" 382 SRCS 383 "internal/str_format/arg.cc" 384 "internal/str_format/bind.cc" 385 "internal/str_format/extension.cc" 386 "internal/str_format/float_conversion.cc" 387 "internal/str_format/output.cc" 388 "internal/str_format/parser.cc" 389 COPTS 390 ${ABSL_DEFAULT_COPTS} 391 DEPS 392 absl::strings 393 absl::config 394 absl::core_headers 395 absl::type_traits 396 absl::int128 397 absl::span 398) 399 400absl_cc_test( 401 NAME 402 str_format_test 403 SRCS 404 "str_format_test.cc" 405 COPTS 406 ${ABSL_TEST_COPTS} 407 DEPS 408 absl::str_format 409 absl::strings 410 absl::core_headers 411 gmock_main 412) 413 414absl_cc_test( 415 NAME 416 str_format_extension_test 417 SRCS 418 "internal/str_format/extension_test.cc" 419 COPTS 420 ${ABSL_TEST_COPTS} 421 DEPS 422 absl::str_format 423 absl::str_format_internal 424 gmock_main 425) 426 427absl_cc_test( 428 NAME 429 str_format_arg_test 430 SRCS 431 "internal/str_format/arg_test.cc" 432 COPTS 433 ${ABSL_TEST_COPTS} 434 DEPS 435 absl::str_format 436 absl::str_format_internal 437 gmock_main 438) 439 440absl_cc_test( 441 NAME 442 str_format_bind_test 443 SRCS 444 "internal/str_format/bind_test.cc" 445 COPTS 446 ${ABSL_TEST_COPTS} 447 DEPS 448 absl::str_format_internal 449 gmock_main 450) 451 452absl_cc_test( 453 NAME 454 str_format_checker_test 455 SRCS 456 "internal/str_format/checker_test.cc" 457 COPTS 458 ${ABSL_TEST_COPTS} 459 DEPS 460 absl::str_format 461 gmock_main 462) 463 464absl_cc_test( 465 NAME 466 str_format_convert_test 467 SRCS 468 "internal/str_format/convert_test.cc" 469 COPTS 470 ${ABSL_TEST_COPTS} 471 DEPS 472 absl::str_format_internal 473 absl::raw_logging_internal 474 absl::int128 475 gmock_main 476) 477 478absl_cc_test( 479 NAME 480 str_format_output_test 481 SRCS 482 "internal/str_format/output_test.cc" 483 COPTS 484 ${ABSL_TEST_COPTS} 485 DEPS 486 absl::str_format_internal 487 gmock_main 488) 489 490absl_cc_test( 491 NAME 492 str_format_parser_test 493 SRCS 494 "internal/str_format/parser_test.cc" 495 COPTS 496 ${ABSL_TEST_COPTS} 497 DEPS 498 absl::str_format_internal 499 absl::core_headers 500 gmock_main 501) 502 503absl_cc_library( 504 NAME 505 pow10_helper 506 HDRS 507 "internal/pow10_helper.h" 508 SRCS 509 "internal/pow10_helper.cc" 510 COPTS 511 ${ABSL_TEST_COPTS} 512 DEPS 513 absl::config 514 TESTONLY 515) 516 517absl_cc_test( 518 NAME 519 pow10_helper_test 520 SRCS 521 "internal/pow10_helper_test.cc" 522 COPTS 523 ${ABSL_TEST_COPTS} 524 DEPS 525 absl::pow10_helper 526 absl::str_format 527 gmock_main 528) 529 530absl_cc_library( 531 NAME 532 cord 533 HDRS 534 "cord.h" 535 SRCS 536 "cord.cc" 537 "internal/cord_internal.h" 538 COPTS 539 ${ABSL_DEFAULT_COPTS} 540 DEPS 541 absl::strings 542 absl::strings_internal 543 absl::base 544 absl::base_internal 545 absl::core_headers 546 absl::endian 547 absl::fixed_array 548 absl::function_ref 549 absl::inlined_vector 550 absl::raw_logging_internal 551 absl::type_traits 552 PUBLIC 553) 554 555absl_cc_library( 556 NAME 557 cord_test_helpers 558 HDRS 559 "cord_test_helpers.h" 560 COPTS 561 ${ABSL_TEST_COPTS} 562 DEPS 563 absl::cord 564 TESTONLY 565) 566 567absl_cc_test( 568 NAME 569 cord_test 570 SRCS 571 "cord_test.cc" 572 COPTS 573 ${ABSL_TEST_COPTS} 574 DEPS 575 absl::cord 576 absl::strings 577 absl::base 578 absl::config 579 absl::endian 580 absl::raw_logging_internal 581 absl::fixed_array 582 gmock_main 583) 584