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    algorithm
20  HDRS
21    "algorithm.h"
22  COPTS
23    ${ABSL_DEFAULT_COPTS}
24  DEPS
25    absl::config
26  PUBLIC
27)
28
29absl_cc_test(
30  NAME
31    algorithm_test
32  SRCS
33    "algorithm_test.cc"
34  COPTS
35    ${ABSL_TEST_COPTS}
36  DEPS
37    absl::algorithm
38    absl::config
39    GTest::gmock_main
40)
41
42absl_cc_library(
43  NAME
44    algorithm_container
45  HDRS
46    "container.h"
47  COPTS
48    ${ABSL_DEFAULT_COPTS}
49  DEPS
50    absl::algorithm
51    absl::core_headers
52    absl::meta
53  PUBLIC
54)
55
56absl_cc_test(
57  NAME
58    container_test
59  SRCS
60    "container_test.cc"
61  COPTS
62    ${ABSL_TEST_COPTS}
63  DEPS
64    absl::algorithm_container
65    absl::base
66    absl::core_headers
67    absl::memory
68    absl::span
69    GTest::gmock_main
70)
71