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 17# This is deprecated and will be removed in the future. It also doesn't do 18# anything anyways. Prefer to use the library associated with the API you are 19# using. 20absl_cc_library( 21 NAME 22 container 23 PUBLIC 24) 25 26absl_cc_library( 27 NAME 28 btree 29 HDRS 30 "btree_map.h" 31 "btree_set.h" 32 "internal/btree.h" 33 "internal/btree_container.h" 34 COPTS 35 ${ABSL_DEFAULT_COPTS} 36 LINKOPTS 37 ${ABSL_DEFAULT_LINKOPTS} 38 DEPS 39 absl::container_common 40 absl::compare 41 absl::compressed_tuple 42 absl::container_memory 43 absl::cord 44 absl::core_headers 45 absl::layout 46 absl::memory 47 absl::strings 48 absl::throw_delegate 49 absl::type_traits 50 absl::utility 51) 52 53absl_cc_library( 54 NAME 55 btree_test_common 56 hdrs 57 "btree_test.h" 58 COPTS 59 ${ABSL_TEST_COPTS} 60 LINKOPTS 61 ${ABSL_DEFAULT_LINKOPTS} 62 DEPS 63 absl::btree 64 absl::cord 65 absl::flat_hash_set 66 absl::strings 67 absl::time 68 TESTONLY 69) 70 71absl_cc_test( 72 NAME 73 btree_test 74 SRCS 75 "btree_test.cc" 76 COPTS 77 ${ABSL_TEST_COPTS} 78 LINKOPTS 79 ${ABSL_DEFAULT_LINKOPTS} 80 DEPS 81 absl::btree 82 absl::btree_test_common 83 absl::compare 84 absl::core_headers 85 absl::counting_allocator 86 absl::flags 87 absl::hash_testing 88 absl::raw_logging_internal 89 absl::strings 90 absl::test_instance_tracker 91 absl::type_traits 92 gmock_main 93) 94 95absl_cc_library( 96 NAME 97 compressed_tuple 98 HDRS 99 "internal/compressed_tuple.h" 100 COPTS 101 ${ABSL_DEFAULT_COPTS} 102 DEPS 103 absl::utility 104 PUBLIC 105) 106 107absl_cc_test( 108 NAME 109 compressed_tuple_test 110 SRCS 111 "internal/compressed_tuple_test.cc" 112 COPTS 113 ${ABSL_TEST_COPTS} 114 DEPS 115 absl::any 116 absl::compressed_tuple 117 absl::memory 118 absl::optional 119 absl::test_instance_tracker 120 absl::utility 121 gmock_main 122) 123 124absl_cc_library( 125 NAME 126 fixed_array 127 HDRS 128 "fixed_array.h" 129 COPTS 130 ${ABSL_DEFAULT_COPTS} 131 DEPS 132 absl::compressed_tuple 133 absl::algorithm 134 absl::config 135 absl::core_headers 136 absl::dynamic_annotations 137 absl::throw_delegate 138 absl::memory 139 PUBLIC 140) 141 142absl_cc_test( 143 NAME 144 fixed_array_test 145 SRCS 146 "fixed_array_test.cc" 147 COPTS 148 ${ABSL_TEST_COPTS} 149 DEPS 150 absl::fixed_array 151 absl::counting_allocator 152 absl::config 153 absl::exception_testing 154 absl::hash_testing 155 absl::memory 156 gmock_main 157) 158 159absl_cc_test( 160 NAME 161 fixed_array_exception_safety_test 162 SRCS 163 "fixed_array_exception_safety_test.cc" 164 COPTS 165 ${ABSL_TEST_COPTS} 166 DEPS 167 absl::fixed_array 168 absl::config 169 absl::exception_safety_testing 170 gmock_main 171) 172 173absl_cc_library( 174 NAME 175 inlined_vector_internal 176 HDRS 177 "internal/inlined_vector.h" 178 COPTS 179 ${ABSL_DEFAULT_COPTS} 180 DEPS 181 absl::compressed_tuple 182 absl::core_headers 183 absl::memory 184 absl::span 185 absl::type_traits 186 PUBLIC 187) 188 189absl_cc_library( 190 NAME 191 inlined_vector 192 HDRS 193 "inlined_vector.h" 194 COPTS 195 ${ABSL_DEFAULT_COPTS} 196 DEPS 197 absl::algorithm 198 absl::core_headers 199 absl::inlined_vector_internal 200 absl::throw_delegate 201 absl::memory 202 PUBLIC 203) 204 205absl_cc_library( 206 NAME 207 counting_allocator 208 HDRS 209 "internal/counting_allocator.h" 210 COPTS 211 ${ABSL_DEFAULT_COPTS} 212 DEPS 213 absl::config 214) 215 216absl_cc_test( 217 NAME 218 inlined_vector_test 219 SRCS 220 "inlined_vector_test.cc" 221 COPTS 222 ${ABSL_TEST_COPTS} 223 DEPS 224 absl::counting_allocator 225 absl::inlined_vector 226 absl::test_instance_tracker 227 absl::config 228 absl::core_headers 229 absl::exception_testing 230 absl::hash_testing 231 absl::memory 232 absl::raw_logging_internal 233 absl::strings 234 gmock_main 235) 236 237absl_cc_test( 238 NAME 239 inlined_vector_exception_safety_test 240 SRCS 241 "inlined_vector_exception_safety_test.cc" 242 COPTS 243 ${ABSL_TEST_COPTS} 244 DEPS 245 absl::inlined_vector 246 absl::config 247 absl::exception_safety_testing 248 gmock_main 249) 250 251absl_cc_library( 252 NAME 253 test_instance_tracker 254 HDRS 255 "internal/test_instance_tracker.h" 256 SRCS 257 "internal/test_instance_tracker.cc" 258 COPTS 259 ${ABSL_DEFAULT_COPTS} 260 DEPS 261 absl::compare 262 TESTONLY 263) 264 265absl_cc_test( 266 NAME 267 test_instance_tracker_test 268 SRCS 269 "internal/test_instance_tracker_test.cc" 270 COPTS 271 ${ABSL_TEST_COPTS} 272 DEPS 273 absl::test_instance_tracker 274 gmock_main 275) 276 277absl_cc_library( 278 NAME 279 flat_hash_map 280 HDRS 281 "flat_hash_map.h" 282 COPTS 283 ${ABSL_DEFAULT_COPTS} 284 DEPS 285 absl::container_memory 286 absl::hash_function_defaults 287 absl::raw_hash_map 288 absl::algorithm_container 289 absl::memory 290 PUBLIC 291) 292 293absl_cc_test( 294 NAME 295 flat_hash_map_test 296 SRCS 297 "flat_hash_map_test.cc" 298 COPTS 299 ${ABSL_TEST_COPTS} 300 DEPS 301 absl::flat_hash_map 302 absl::hash_generator_testing 303 absl::unordered_map_constructor_test 304 absl::unordered_map_lookup_test 305 absl::unordered_map_members_test 306 absl::unordered_map_modifiers_test 307 absl::any 308 absl::raw_logging_internal 309 gmock_main 310) 311 312absl_cc_library( 313 NAME 314 flat_hash_set 315 HDRS 316 "flat_hash_set.h" 317 COPTS 318 ${ABSL_DEFAULT_COPTS} 319 DEPS 320 absl::container_memory 321 absl::hash_function_defaults 322 absl::raw_hash_set 323 absl::algorithm_container 324 absl::core_headers 325 absl::memory 326 PUBLIC 327) 328 329absl_cc_test( 330 NAME 331 flat_hash_set_test 332 SRCS 333 "flat_hash_set_test.cc" 334 COPTS 335 ${ABSL_TEST_COPTS} 336 "-DUNORDERED_SET_CXX17" 337 DEPS 338 absl::flat_hash_set 339 absl::hash_generator_testing 340 absl::unordered_set_constructor_test 341 absl::unordered_set_lookup_test 342 absl::unordered_set_members_test 343 absl::unordered_set_modifiers_test 344 absl::memory 345 absl::raw_logging_internal 346 absl::strings 347 gmock_main 348) 349 350absl_cc_library( 351 NAME 352 node_hash_map 353 HDRS 354 "node_hash_map.h" 355 COPTS 356 ${ABSL_DEFAULT_COPTS} 357 DEPS 358 absl::container_memory 359 absl::hash_function_defaults 360 absl::node_hash_policy 361 absl::raw_hash_map 362 absl::algorithm_container 363 absl::memory 364 PUBLIC 365) 366 367absl_cc_test( 368 NAME 369 node_hash_map_test 370 SRCS 371 "node_hash_map_test.cc" 372 COPTS 373 ${ABSL_TEST_COPTS} 374 DEPS 375 absl::hash_generator_testing 376 absl::node_hash_map 377 absl::tracked 378 absl::unordered_map_constructor_test 379 absl::unordered_map_lookup_test 380 absl::unordered_map_members_test 381 absl::unordered_map_modifiers_test 382 gmock_main 383) 384 385absl_cc_library( 386 NAME 387 node_hash_set 388 HDRS 389 "node_hash_set.h" 390 COPTS 391 ${ABSL_DEFAULT_COPTS} 392 DEPS 393 absl::hash_function_defaults 394 absl::node_hash_policy 395 absl::raw_hash_set 396 absl::algorithm_container 397 absl::memory 398 PUBLIC 399) 400 401absl_cc_test( 402 NAME 403 node_hash_set_test 404 SRCS 405 "node_hash_set_test.cc" 406 COPTS 407 ${ABSL_TEST_COPTS} 408 "-DUNORDERED_SET_CXX17" 409 DEPS 410 absl::hash_generator_testing 411 absl::node_hash_set 412 absl::unordered_set_constructor_test 413 absl::unordered_set_lookup_test 414 absl::unordered_set_members_test 415 absl::unordered_set_modifiers_test 416 gmock_main 417) 418 419absl_cc_library( 420 NAME 421 container_memory 422 HDRS 423 "internal/container_memory.h" 424 COPTS 425 ${ABSL_DEFAULT_COPTS} 426 DEPS 427 absl::config 428 absl::memory 429 absl::type_traits 430 absl::utility 431 PUBLIC 432) 433 434absl_cc_test( 435 NAME 436 container_memory_test 437 SRCS 438 "internal/container_memory_test.cc" 439 COPTS 440 ${ABSL_TEST_COPTS} 441 DEPS 442 absl::container_memory 443 absl::strings 444 absl::test_instance_tracker 445 gmock_main 446) 447 448absl_cc_library( 449 NAME 450 hash_function_defaults 451 HDRS 452 "internal/hash_function_defaults.h" 453 COPTS 454 ${ABSL_DEFAULT_COPTS} 455 DEPS 456 absl::config 457 absl::cord 458 absl::hash 459 absl::strings 460 PUBLIC 461) 462 463absl_cc_test( 464 NAME 465 hash_function_defaults_test 466 SRCS 467 "internal/hash_function_defaults_test.cc" 468 COPTS 469 ${ABSL_TEST_COPTS} 470 DEPS 471 absl::cord 472 absl::cord_test_helpers 473 absl::hash_function_defaults 474 absl::hash 475 absl::random_random 476 absl::strings 477 gmock_main 478) 479 480absl_cc_library( 481 NAME 482 hash_generator_testing 483 HDRS 484 "internal/hash_generator_testing.h" 485 SRCS 486 "internal/hash_generator_testing.cc" 487 COPTS 488 ${ABSL_TEST_COPTS} 489 DEPS 490 absl::hash_policy_testing 491 absl::memory 492 absl::meta 493 absl::strings 494 TESTONLY 495) 496 497absl_cc_library( 498 NAME 499 hash_policy_testing 500 HDRS 501 "internal/hash_policy_testing.h" 502 COPTS 503 ${ABSL_TEST_COPTS} 504 DEPS 505 absl::hash 506 absl::strings 507 TESTONLY 508) 509 510absl_cc_test( 511 NAME 512 hash_policy_testing_test 513 SRCS 514 "internal/hash_policy_testing_test.cc" 515 COPTS 516 ${ABSL_TEST_COPTS} 517 DEPS 518 absl::hash_policy_testing 519 gmock_main 520) 521 522absl_cc_library( 523 NAME 524 hash_policy_traits 525 HDRS 526 "internal/hash_policy_traits.h" 527 COPTS 528 ${ABSL_DEFAULT_COPTS} 529 DEPS 530 absl::meta 531 PUBLIC 532) 533 534absl_cc_test( 535 NAME 536 hash_policy_traits_test 537 SRCS 538 "internal/hash_policy_traits_test.cc" 539 COPTS 540 ${ABSL_TEST_COPTS} 541 DEPS 542 absl::hash_policy_traits 543 gmock_main 544) 545 546absl_cc_library( 547 NAME 548 hashtablez_sampler 549 HDRS 550 "internal/hashtablez_sampler.h" 551 SRCS 552 "internal/hashtablez_sampler.cc" 553 "internal/hashtablez_sampler_force_weak_definition.cc" 554 COPTS 555 ${ABSL_DEFAULT_COPTS} 556 DEPS 557 absl::base 558 absl::exponential_biased 559 absl::have_sse 560 absl::synchronization 561) 562 563absl_cc_test( 564 NAME 565 hashtablez_sampler_test 566 SRCS 567 "internal/hashtablez_sampler_test.cc" 568 COPTS 569 ${ABSL_TEST_COPTS} 570 DEPS 571 absl::hashtablez_sampler 572 absl::have_sse 573 gmock_main 574) 575 576absl_cc_library( 577 NAME 578 hashtable_debug 579 HDRS 580 "internal/hashtable_debug.h" 581 COPTS 582 ${ABSL_DEFAULT_COPTS} 583 DEPS 584 absl::hashtable_debug_hooks 585) 586 587absl_cc_library( 588 NAME 589 hashtable_debug_hooks 590 HDRS 591 "internal/hashtable_debug_hooks.h" 592 COPTS 593 ${ABSL_DEFAULT_COPTS} 594 DEPS 595 absl::config 596 PUBLIC 597) 598 599absl_cc_library( 600 NAME 601 have_sse 602 HDRS 603 "internal/have_sse.h" 604 COPTS 605 ${ABSL_DEFAULT_COPTS} 606) 607 608absl_cc_library( 609 NAME 610 node_hash_policy 611 HDRS 612 "internal/node_hash_policy.h" 613 COPTS 614 ${ABSL_DEFAULT_COPTS} 615 DEPS 616 absl::config 617 PUBLIC 618) 619 620absl_cc_test( 621 NAME 622 node_hash_policy_test 623 SRCS 624 "internal/node_hash_policy_test.cc" 625 COPTS 626 ${ABSL_TEST_COPTS} 627 DEPS 628 absl::hash_policy_traits 629 absl::node_hash_policy 630 gmock_main 631) 632 633absl_cc_library( 634 NAME 635 raw_hash_map 636 HDRS 637 "internal/raw_hash_map.h" 638 COPTS 639 ${ABSL_DEFAULT_COPTS} 640 DEPS 641 absl::container_memory 642 absl::raw_hash_set 643 absl::throw_delegate 644 PUBLIC 645) 646 647absl_cc_library( 648 NAME 649 container_common 650 HDRS 651 "internal/common.h" 652 COPTS 653 ${ABSL_DEFAULT_COPTS} 654 DEPS 655 absl::type_traits 656) 657 658absl_cc_library( 659 NAME 660 raw_hash_set 661 HDRS 662 "internal/raw_hash_set.h" 663 SRCS 664 "internal/raw_hash_set.cc" 665 COPTS 666 ${ABSL_DEFAULT_COPTS} 667 DEPS 668 absl::bits 669 absl::compressed_tuple 670 absl::config 671 absl::container_common 672 absl::container_memory 673 absl::core_headers 674 absl::endian 675 absl::hash_policy_traits 676 absl::hashtable_debug_hooks 677 absl::have_sse 678 absl::layout 679 absl::memory 680 absl::meta 681 absl::optional 682 absl::utility 683 absl::hashtablez_sampler 684 PUBLIC 685) 686 687absl_cc_test( 688 NAME 689 raw_hash_set_test 690 SRCS 691 "internal/raw_hash_set_test.cc" 692 COPTS 693 ${ABSL_TEST_COPTS} 694 DEPS 695 absl::container_memory 696 absl::hash_function_defaults 697 absl::hash_policy_testing 698 absl::hashtable_debug 699 absl::raw_hash_set 700 absl::base 701 absl::config 702 absl::core_headers 703 absl::raw_logging_internal 704 absl::strings 705 gmock_main 706) 707 708absl_cc_test( 709 NAME 710 raw_hash_set_allocator_test 711 SRCS 712 "internal/raw_hash_set_allocator_test.cc" 713 COPTS 714 ${ABSL_TEST_COPTS} 715 DEPS 716 absl::raw_hash_set 717 absl::tracked 718 absl::core_headers 719 gmock_main 720) 721 722absl_cc_library( 723 NAME 724 layout 725 HDRS 726 "internal/layout.h" 727 COPTS 728 ${ABSL_DEFAULT_COPTS} 729 DEPS 730 absl::config 731 absl::core_headers 732 absl::meta 733 absl::strings 734 absl::span 735 absl::utility 736 PUBLIC 737) 738 739absl_cc_test( 740 NAME 741 layout_test 742 SRCS 743 "internal/layout_test.cc" 744 COPTS 745 ${ABSL_TEST_COPTS} 746 DEPS 747 absl::layout 748 absl::config 749 absl::core_headers 750 absl::raw_logging_internal 751 absl::span 752 gmock_main 753) 754 755absl_cc_library( 756 NAME 757 tracked 758 HDRS 759 "internal/tracked.h" 760 COPTS 761 ${ABSL_TEST_COPTS} 762 DEPS 763 absl::config 764 TESTONLY 765) 766 767absl_cc_library( 768 NAME 769 unordered_map_constructor_test 770 HDRS 771 "internal/unordered_map_constructor_test.h" 772 COPTS 773 ${ABSL_TEST_COPTS} 774 DEPS 775 absl::hash_generator_testing 776 absl::hash_policy_testing 777 gmock 778 TESTONLY 779) 780 781absl_cc_library( 782 NAME 783 unordered_map_lookup_test 784 HDRS 785 "internal/unordered_map_lookup_test.h" 786 COPTS 787 ${ABSL_TEST_COPTS} 788 DEPS 789 absl::hash_generator_testing 790 absl::hash_policy_testing 791 gmock 792 TESTONLY 793) 794 795absl_cc_library( 796 NAME 797 unordered_map_members_test 798 HDRS 799 "internal/unordered_map_members_test.h" 800 COPTS 801 ${ABSL_TEST_COPTS} 802 DEPS 803 absl::type_traits 804 gmock 805 TESTONLY 806) 807 808absl_cc_library( 809 NAME 810 unordered_map_modifiers_test 811 HDRS 812 "internal/unordered_map_modifiers_test.h" 813 COPTS 814 ${ABSL_TEST_COPTS} 815 DEPS 816 absl::hash_generator_testing 817 absl::hash_policy_testing 818 gmock 819 TESTONLY 820) 821 822absl_cc_library( 823 NAME 824 unordered_set_constructor_test 825 HDRS 826 "internal/unordered_set_constructor_test.h" 827 COPTS 828 ${ABSL_TEST_COPTS} 829 DEPS 830 absl::hash_generator_testing 831 absl::hash_policy_testing 832 gmock 833 TESTONLY 834) 835 836absl_cc_library( 837 NAME 838 unordered_set_lookup_test 839 HDRS 840 "internal/unordered_set_lookup_test.h" 841 COPTS 842 ${ABSL_TEST_COPTS} 843 DEPS 844 absl::hash_generator_testing 845 absl::hash_policy_testing 846 gmock 847 TESTONLY 848) 849 850absl_cc_library( 851 NAME 852 unordered_set_members_test 853 HDRS 854 "internal/unordered_set_members_test.h" 855 COPTS 856 ${ABSL_TEST_COPTS} 857 DEPS 858 absl::type_traits 859 gmock 860 TESTONLY 861) 862 863absl_cc_library( 864 NAME 865 unordered_set_modifiers_test 866 HDRS 867 "internal/unordered_set_modifiers_test.h" 868 COPTS 869 ${ABSL_TEST_COPTS} 870 DEPS 871 absl::hash_generator_testing 872 absl::hash_policy_testing 873 gmock 874 TESTONLY 875) 876 877absl_cc_test( 878 NAME 879 unordered_set_test 880 SRCS 881 "internal/unordered_set_test.cc" 882 COPTS 883 ${ABSL_TEST_COPTS} 884 DEPS 885 absl::unordered_set_constructor_test 886 absl::unordered_set_lookup_test 887 absl::unordered_set_members_test 888 absl::unordered_set_modifiers_test 889 gmock_main 890) 891 892absl_cc_test( 893 NAME 894 unordered_map_test 895 SRCS 896 "internal/unordered_map_test.cc" 897 COPTS 898 ${ABSL_TEST_COPTS} 899 DEPS 900 absl::unordered_map_constructor_test 901 absl::unordered_map_lookup_test 902 absl::unordered_map_members_test 903 absl::unordered_map_modifiers_test 904 gmock_main 905) 906