1# 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 15absl_cc_library( 16 NAME 17 cleanup_internal 18 HDRS 19 "internal/cleanup.h" 20 COPTS 21 ${ABSL_DEFAULT_COPTS} 22 DEPS 23 absl::base_internal 24 absl::core_headers 25 absl::utility 26 PUBLIC 27) 28 29absl_cc_library( 30 NAME 31 cleanup 32 HDRS 33 "cleanup.h" 34 COPTS 35 ${ABSL_DEFAULT_COPTS} 36 DEPS 37 absl::cleanup_internal 38 absl::config 39 absl::core_headers 40 PUBLIC 41) 42 43absl_cc_test( 44 NAME 45 cleanup_test 46 SRCS 47 "cleanup_test.cc" 48 COPTS 49 ${ABSL_TEST_COPTS} 50 DEPS 51 absl::cleanup 52 absl::config 53 absl::utility 54 GTest::gmock_main 55) 56