• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    memory
20  HDRS
21    "memory.h"
22  COPTS
23    ${ABSL_DEFAULT_COPTS}
24  DEPS
25    absl::core_headers
26    absl::meta
27  PUBLIC
28)
29
30absl_cc_test(
31  NAME
32    memory_test
33  SRCS
34    "memory_test.cc"
35  COPTS
36    ${ABSL_TEST_COPTS}
37  DEPS
38    absl::memory
39    absl::core_headers
40    gmock_main
41)
42
43absl_cc_test(
44  NAME
45    memory_exception_safety_test
46  SRCS
47    "memory_exception_safety_test.cc"
48  COPTS
49    ${ABSL_TEST_COPTS}
50  DEPS
51    absl::memory
52    absl::config
53    absl::exception_safety_testing
54    gmock_main
55)
56