blob: f5af40b44c61f0f694283ef508da5bbe8143d912 [file] [log] [blame]
Abseil Teama9a49562021-01-29 12:09:30 -08001# Copyright 2021 The Abseil Authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Abseil Team6f43f5b2022-03-31 17:42:13 -070015# Internal-only target, do not depend on directly.
Abseil Teama9a49562021-01-29 12:09:30 -080016absl_cc_library(
17 NAME
18 cleanup_internal
19 HDRS
20 "internal/cleanup.h"
21 COPTS
22 ${ABSL_DEFAULT_COPTS}
23 DEPS
24 absl::base_internal
25 absl::core_headers
26 absl::utility
27 PUBLIC
28)
29
30absl_cc_library(
31 NAME
32 cleanup
33 HDRS
34 "cleanup.h"
35 COPTS
36 ${ABSL_DEFAULT_COPTS}
37 DEPS
38 absl::cleanup_internal
39 absl::config
40 absl::core_headers
41 PUBLIC
42)
43
44absl_cc_test(
45 NAME
46 cleanup_test
47 SRCS
48 "cleanup_test.cc"
49 COPTS
50 ${ABSL_TEST_COPTS}
51 DEPS
52 absl::cleanup
53 absl::config
54 absl::utility
Florin Crișan8f921752021-06-10 02:26:40 +030055 GTest::gmock_main
Abseil Teama9a49562021-01-29 12:09:30 -080056)